(0) Obligation:

Clauses:

div(X, Y, Z) :- quot(X, Y, Y, Z).
quot(0, s(Y), s(Z), 0).
quot(X, 0, s(Z), s(U)) :- quot(X, s(Z), s(Z), U).
quot(X, Y, Z, U) :- ','(no(zero(X)), ','(no(zero(Y)), ','(p(X, Px), ','(p(Y, Py), quot(Px, Py, Z, U))))).
p(0, 0).
p(s(X), X).
zero(0).
no(X) :- ','(X, ','(!, failure(a))).
no(X1).
failure(b).

Queries:

div(g,g,a).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

quot46(0, 0).
quot46(s(T29), s(T31)) :- quot46(T29, T31).
quot135(0, 0).
quot135(s(0), 0).
quot135(s(s(T63)), s(T65)) :- quot135(T63, T65).
quot253(0, 0).
quot253(s(0), 0).
quot253(s(s(0)), 0).
quot253(s(s(s(T103))), s(T105)) :- quot253(T103, T105).
quot400(0, 0).
quot400(s(0), 0).
quot400(s(s(0)), 0).
quot400(s(s(s(0))), 0).
quot400(s(s(s(s(T149)))), s(T151)) :- quot400(T149, T151).
quot576(0, 0).
quot576(s(0), 0).
quot576(s(s(0)), 0).
quot576(s(s(s(0))), 0).
quot576(s(s(s(s(0)))), 0).
quot576(s(s(s(s(s(T201))))), s(T203)) :- quot576(T201, T203).
quot781(0, 0).
quot781(s(0), 0).
quot781(s(s(0)), 0).
quot781(s(s(s(0))), 0).
quot781(s(s(s(s(0)))), 0).
quot781(s(s(s(s(s(0))))), 0).
quot781(s(s(s(s(s(s(T259)))))), s(T261)) :- quot781(T259, T261).
quot3(0, s(T8), 0).
quot3(s(0), s(s(T19)), 0).
quot3(s(0), s(0), s(0)).
quot3(s(s(T29)), s(0), s(s(T31))) :- quot46(T29, T31).
quot3(s(s(0)), s(s(s(T47))), 0).
quot3(s(s(0)), s(s(0)), s(0)).
quot3(s(s(s(0))), s(s(0)), s(0)).
quot3(s(s(s(s(T63)))), s(s(0)), s(s(T65))) :- quot135(T63, T65).
quot3(s(s(s(0))), s(s(s(s(T81)))), 0).
quot3(s(s(s(0))), s(s(s(0))), s(0)).
quot3(s(s(s(s(0)))), s(s(s(0))), s(0)).
quot3(s(s(s(s(s(0))))), s(s(s(0))), s(0)).
quot3(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) :- quot253(T103, T105).
quot3(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0).
quot3(s(s(s(s(0)))), s(s(s(s(0)))), s(0)).
quot3(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)).
quot3(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)).
quot3(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)).
quot3(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) :- quot400(T149, T151).
quot3(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0).
quot3(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)).
quot3(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)).
quot3(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)).
quot3(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)).
quot3(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)).
quot3(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) :- quot576(T201, T203).
quot3(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0).
quot3(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)).
quot3(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)).
quot3(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)).
quot3(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)).
quot3(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)).
quot3(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)).
quot3(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) :- quot781(T259, T261).
quot3(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0).
quot3(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) :- quot3(T280, s(T281), T283).
quot3(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) :- quot1007(T293, T294, T286, T288).
quot1007(0, s(T278), T279, 0).
quot1007(T280, 0, T281, s(T283)) :- quot3(T280, s(T281), T283).
quot1007(s(T293), s(T294), T286, T288) :- quot1007(T293, T294, T286, T288).
div1(0, s(T8), 0).
div1(s(0), s(s(T19)), 0).
div1(s(0), s(0), s(0)).
div1(s(s(T29)), s(0), s(s(T31))) :- quot46(T29, T31).
div1(s(s(0)), s(s(s(T47))), 0).
div1(s(s(0)), s(s(0)), s(0)).
div1(s(s(s(0))), s(s(0)), s(0)).
div1(s(s(s(s(T63)))), s(s(0)), s(s(T65))) :- quot135(T63, T65).
div1(s(s(s(0))), s(s(s(s(T81)))), 0).
div1(s(s(s(0))), s(s(s(0))), s(0)).
div1(s(s(s(s(0)))), s(s(s(0))), s(0)).
div1(s(s(s(s(s(0))))), s(s(s(0))), s(0)).
div1(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) :- quot253(T103, T105).
div1(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0).
div1(s(s(s(s(0)))), s(s(s(s(0)))), s(0)).
div1(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)).
div1(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)).
div1(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)).
div1(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) :- quot400(T149, T151).
div1(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0).
div1(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)).
div1(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)).
div1(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)).
div1(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)).
div1(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)).
div1(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) :- quot576(T201, T203).
div1(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0).
div1(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)).
div1(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)).
div1(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)).
div1(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)).
div1(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)).
div1(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)).
div1(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) :- quot781(T259, T261).
div1(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0).
div1(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) :- quot3(T280, s(T281), T283).
div1(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) :- quot1007(T293, T294, T286, T288).

Queries:

div1(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:
div1_in: (b,b,f)
quot46_in: (b,f)
quot135_in: (b,f)
quot253_in: (b,f)
quot400_in: (b,f)
quot576_in: (b,f)
quot781_in: (b,f)
quot3_in: (b,f,f)
quot1007_in: (b,f,f,f) (b,b,f,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

div1_in_gga(0, s(T8), 0) → div1_out_gga(0, s(T8), 0)
div1_in_gga(s(0), s(s(T19)), 0) → div1_out_gga(s(0), s(s(T19)), 0)
div1_in_gga(s(0), s(0), s(0)) → div1_out_gga(s(0), s(0), s(0))
div1_in_gga(s(s(T29)), s(0), s(s(T31))) → U17_gga(T29, T31, quot46_in_ga(T29, T31))
quot46_in_ga(0, 0) → quot46_out_ga(0, 0)
quot46_in_ga(s(T29), s(T31)) → U1_ga(T29, T31, quot46_in_ga(T29, T31))
U1_ga(T29, T31, quot46_out_ga(T29, T31)) → quot46_out_ga(s(T29), s(T31))
U17_gga(T29, T31, quot46_out_ga(T29, T31)) → div1_out_gga(s(s(T29)), s(0), s(s(T31)))
div1_in_gga(s(s(0)), s(s(s(T47))), 0) → div1_out_gga(s(s(0)), s(s(s(T47))), 0)
div1_in_gga(s(s(0)), s(s(0)), s(0)) → div1_out_gga(s(s(0)), s(s(0)), s(0))
div1_in_gga(s(s(s(0))), s(s(0)), s(0)) → div1_out_gga(s(s(s(0))), s(s(0)), s(0))
div1_in_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_gga(T63, T65, quot135_in_ga(T63, T65))
quot135_in_ga(0, 0) → quot135_out_ga(0, 0)
quot135_in_ga(s(0), 0) → quot135_out_ga(s(0), 0)
quot135_in_ga(s(s(T63)), s(T65)) → U2_ga(T63, T65, quot135_in_ga(T63, T65))
U2_ga(T63, T65, quot135_out_ga(T63, T65)) → quot135_out_ga(s(s(T63)), s(T65))
U18_gga(T63, T65, quot135_out_ga(T63, T65)) → div1_out_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
div1_in_gga(s(s(s(0))), s(s(s(s(T81)))), 0) → div1_out_gga(s(s(s(0))), s(s(s(s(T81)))), 0)
div1_in_gga(s(s(s(0))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(0))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(0)))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_gga(T103, T105, quot253_in_ga(T103, T105))
quot253_in_ga(0, 0) → quot253_out_ga(0, 0)
quot253_in_ga(s(0), 0) → quot253_out_ga(s(0), 0)
quot253_in_ga(s(s(0)), 0) → quot253_out_ga(s(s(0)), 0)
quot253_in_ga(s(s(s(T103))), s(T105)) → U3_ga(T103, T105, quot253_in_ga(T103, T105))
U3_ga(T103, T105, quot253_out_ga(T103, T105)) → quot253_out_ga(s(s(s(T103))), s(T105))
U19_gga(T103, T105, quot253_out_ga(T103, T105)) → div1_out_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
div1_in_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
div1_in_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_gga(T149, T151, quot400_in_ga(T149, T151))
quot400_in_ga(0, 0) → quot400_out_ga(0, 0)
quot400_in_ga(s(0), 0) → quot400_out_ga(s(0), 0)
quot400_in_ga(s(s(0)), 0) → quot400_out_ga(s(s(0)), 0)
quot400_in_ga(s(s(s(0))), 0) → quot400_out_ga(s(s(s(0))), 0)
quot400_in_ga(s(s(s(s(T149)))), s(T151)) → U4_ga(T149, T151, quot400_in_ga(T149, T151))
U4_ga(T149, T151, quot400_out_ga(T149, T151)) → quot400_out_ga(s(s(s(s(T149)))), s(T151))
U20_gga(T149, T151, quot400_out_ga(T149, T151)) → div1_out_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_gga(T201, T203, quot576_in_ga(T201, T203))
quot576_in_ga(0, 0) → quot576_out_ga(0, 0)
quot576_in_ga(s(0), 0) → quot576_out_ga(s(0), 0)
quot576_in_ga(s(s(0)), 0) → quot576_out_ga(s(s(0)), 0)
quot576_in_ga(s(s(s(0))), 0) → quot576_out_ga(s(s(s(0))), 0)
quot576_in_ga(s(s(s(s(0)))), 0) → quot576_out_ga(s(s(s(s(0)))), 0)
quot576_in_ga(s(s(s(s(s(T201))))), s(T203)) → U5_ga(T201, T203, quot576_in_ga(T201, T203))
U5_ga(T201, T203, quot576_out_ga(T201, T203)) → quot576_out_ga(s(s(s(s(s(T201))))), s(T203))
U21_gga(T201, T203, quot576_out_ga(T201, T203)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_gga(T259, T261, quot781_in_ga(T259, T261))
quot781_in_ga(0, 0) → quot781_out_ga(0, 0)
quot781_in_ga(s(0), 0) → quot781_out_ga(s(0), 0)
quot781_in_ga(s(s(0)), 0) → quot781_out_ga(s(s(0)), 0)
quot781_in_ga(s(s(s(0))), 0) → quot781_out_ga(s(s(s(0))), 0)
quot781_in_ga(s(s(s(s(0)))), 0) → quot781_out_ga(s(s(s(s(0)))), 0)
quot781_in_ga(s(s(s(s(s(0))))), 0) → quot781_out_ga(s(s(s(s(s(0))))), 0)
quot781_in_ga(s(s(s(s(s(s(T259)))))), s(T261)) → U6_ga(T259, T261, quot781_in_ga(T259, T261))
U6_ga(T259, T261, quot781_out_ga(T259, T261)) → quot781_out_ga(s(s(s(s(s(s(T259)))))), s(T261))
U22_gga(T259, T261, quot781_out_ga(T259, T261)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
div1_in_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_gga(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(0, s(T8), 0) → quot3_out_gaa(0, s(T8), 0)
quot3_in_gaa(s(0), s(s(T19)), 0) → quot3_out_gaa(s(0), s(s(T19)), 0)
quot3_in_gaa(s(0), s(0), s(0)) → quot3_out_gaa(s(0), s(0), s(0))
quot3_in_gaa(s(s(T29)), s(0), s(s(T31))) → U7_gaa(T29, T31, quot46_in_ga(T29, T31))
U7_gaa(T29, T31, quot46_out_ga(T29, T31)) → quot3_out_gaa(s(s(T29)), s(0), s(s(T31)))
quot3_in_gaa(s(s(0)), s(s(s(T47))), 0) → quot3_out_gaa(s(s(0)), s(s(s(T47))), 0)
quot3_in_gaa(s(s(0)), s(s(0)), s(0)) → quot3_out_gaa(s(s(0)), s(s(0)), s(0))
quot3_in_gaa(s(s(s(0))), s(s(0)), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(0)), s(0))
quot3_in_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_gaa(T63, T65, quot135_in_ga(T63, T65))
U8_gaa(T63, T65, quot135_out_ga(T63, T65)) → quot3_out_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
quot3_in_gaa(s(s(s(0))), s(s(s(s(T81)))), 0) → quot3_out_gaa(s(s(s(0))), s(s(s(s(T81)))), 0)
quot3_in_gaa(s(s(s(0))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_gaa(T103, T105, quot253_in_ga(T103, T105))
U9_gaa(T103, T105, quot253_out_ga(T103, T105)) → quot3_out_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_gaa(T149, T151, quot400_in_ga(T149, T151))
U10_gaa(T149, T151, quot400_out_ga(T149, T151)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_gaa(T201, T203, quot576_in_ga(T201, T203))
U11_gaa(T201, T203, quot576_out_ga(T201, T203)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_gaa(T259, T261, quot781_in_ga(T259, T261))
U12_gaa(T259, T261, quot781_out_ga(T259, T261)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_gaa(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_gaa(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
quot1007_in_gaaa(0, s(T278), T279, 0) → quot1007_out_gaaa(0, s(T278), T279, 0)
quot1007_in_gaaa(T280, 0, T281, s(T283)) → U15_gaaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_gaaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_gaaa(T280, 0, T281, s(T283))
quot1007_in_gaaa(s(T293), s(T294), T286, T288) → U16_gaaa(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
U16_gaaa(T293, T294, T286, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot1007_out_gaaa(s(T293), s(T294), T286, T288)
U14_gaa(T293, T294, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)
U13_gaa(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → quot3_out_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
U23_gga(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → div1_out_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
div1_in_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_gga(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
quot1007_in_ggaa(0, s(T278), T279, 0) → quot1007_out_ggaa(0, s(T278), T279, 0)
quot1007_in_ggaa(T280, 0, T281, s(T283)) → U15_ggaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_ggaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_ggaa(T280, 0, T281, s(T283))
quot1007_in_ggaa(s(T293), s(T294), T286, T288) → U16_ggaa(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
U16_ggaa(T293, T294, T286, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → quot1007_out_ggaa(s(T293), s(T294), T286, T288)
U24_gga(T293, T294, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → div1_out_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)

The argument filtering Pi contains the following mapping:
div1_in_gga(x1, x2, x3)  =  div1_in_gga(x1, x2)
0  =  0
s(x1)  =  s(x1)
div1_out_gga(x1, x2, x3)  =  div1_out_gga(x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
quot46_in_ga(x1, x2)  =  quot46_in_ga(x1)
quot46_out_ga(x1, x2)  =  quot46_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U18_gga(x1, x2, x3)  =  U18_gga(x3)
quot135_in_ga(x1, x2)  =  quot135_in_ga(x1)
quot135_out_ga(x1, x2)  =  quot135_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U19_gga(x1, x2, x3)  =  U19_gga(x3)
quot253_in_ga(x1, x2)  =  quot253_in_ga(x1)
quot253_out_ga(x1, x2)  =  quot253_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
quot400_in_ga(x1, x2)  =  quot400_in_ga(x1)
quot400_out_ga(x1, x2)  =  quot400_out_ga(x2)
U4_ga(x1, x2, x3)  =  U4_ga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x3)
quot576_in_ga(x1, x2)  =  quot576_in_ga(x1)
quot576_out_ga(x1, x2)  =  quot576_out_ga(x2)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
U22_gga(x1, x2, x3)  =  U22_gga(x3)
quot781_in_ga(x1, x2)  =  quot781_in_ga(x1)
quot781_out_ga(x1, x2)  =  quot781_out_ga(x2)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
quot3_in_gaa(x1, x2, x3)  =  quot3_in_gaa(x1)
quot3_out_gaa(x1, x2, x3)  =  quot3_out_gaa(x3)
U7_gaa(x1, x2, x3)  =  U7_gaa(x3)
U8_gaa(x1, x2, x3)  =  U8_gaa(x3)
U9_gaa(x1, x2, x3)  =  U9_gaa(x3)
U10_gaa(x1, x2, x3)  =  U10_gaa(x3)
U11_gaa(x1, x2, x3)  =  U11_gaa(x3)
U12_gaa(x1, x2, x3)  =  U12_gaa(x3)
U13_gaa(x1, x2, x3)  =  U13_gaa(x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
quot1007_in_gaaa(x1, x2, x3, x4)  =  quot1007_in_gaaa(x1)
quot1007_out_gaaa(x1, x2, x3, x4)  =  quot1007_out_gaaa(x4)
U15_gaaa(x1, x2, x3, x4)  =  U15_gaaa(x4)
U16_gaaa(x1, x2, x3, x4, x5)  =  U16_gaaa(x5)
U24_gga(x1, x2, x3, x4)  =  U24_gga(x4)
quot1007_in_ggaa(x1, x2, x3, x4)  =  quot1007_in_ggaa(x1, x2)
quot1007_out_ggaa(x1, x2, x3, x4)  =  quot1007_out_ggaa(x4)
U15_ggaa(x1, x2, x3, x4)  =  U15_ggaa(x4)
U16_ggaa(x1, x2, x3, x4, x5)  =  U16_ggaa(x5)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(4) Obligation:

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

div1_in_gga(0, s(T8), 0) → div1_out_gga(0, s(T8), 0)
div1_in_gga(s(0), s(s(T19)), 0) → div1_out_gga(s(0), s(s(T19)), 0)
div1_in_gga(s(0), s(0), s(0)) → div1_out_gga(s(0), s(0), s(0))
div1_in_gga(s(s(T29)), s(0), s(s(T31))) → U17_gga(T29, T31, quot46_in_ga(T29, T31))
quot46_in_ga(0, 0) → quot46_out_ga(0, 0)
quot46_in_ga(s(T29), s(T31)) → U1_ga(T29, T31, quot46_in_ga(T29, T31))
U1_ga(T29, T31, quot46_out_ga(T29, T31)) → quot46_out_ga(s(T29), s(T31))
U17_gga(T29, T31, quot46_out_ga(T29, T31)) → div1_out_gga(s(s(T29)), s(0), s(s(T31)))
div1_in_gga(s(s(0)), s(s(s(T47))), 0) → div1_out_gga(s(s(0)), s(s(s(T47))), 0)
div1_in_gga(s(s(0)), s(s(0)), s(0)) → div1_out_gga(s(s(0)), s(s(0)), s(0))
div1_in_gga(s(s(s(0))), s(s(0)), s(0)) → div1_out_gga(s(s(s(0))), s(s(0)), s(0))
div1_in_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_gga(T63, T65, quot135_in_ga(T63, T65))
quot135_in_ga(0, 0) → quot135_out_ga(0, 0)
quot135_in_ga(s(0), 0) → quot135_out_ga(s(0), 0)
quot135_in_ga(s(s(T63)), s(T65)) → U2_ga(T63, T65, quot135_in_ga(T63, T65))
U2_ga(T63, T65, quot135_out_ga(T63, T65)) → quot135_out_ga(s(s(T63)), s(T65))
U18_gga(T63, T65, quot135_out_ga(T63, T65)) → div1_out_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
div1_in_gga(s(s(s(0))), s(s(s(s(T81)))), 0) → div1_out_gga(s(s(s(0))), s(s(s(s(T81)))), 0)
div1_in_gga(s(s(s(0))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(0))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(0)))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_gga(T103, T105, quot253_in_ga(T103, T105))
quot253_in_ga(0, 0) → quot253_out_ga(0, 0)
quot253_in_ga(s(0), 0) → quot253_out_ga(s(0), 0)
quot253_in_ga(s(s(0)), 0) → quot253_out_ga(s(s(0)), 0)
quot253_in_ga(s(s(s(T103))), s(T105)) → U3_ga(T103, T105, quot253_in_ga(T103, T105))
U3_ga(T103, T105, quot253_out_ga(T103, T105)) → quot253_out_ga(s(s(s(T103))), s(T105))
U19_gga(T103, T105, quot253_out_ga(T103, T105)) → div1_out_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
div1_in_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
div1_in_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_gga(T149, T151, quot400_in_ga(T149, T151))
quot400_in_ga(0, 0) → quot400_out_ga(0, 0)
quot400_in_ga(s(0), 0) → quot400_out_ga(s(0), 0)
quot400_in_ga(s(s(0)), 0) → quot400_out_ga(s(s(0)), 0)
quot400_in_ga(s(s(s(0))), 0) → quot400_out_ga(s(s(s(0))), 0)
quot400_in_ga(s(s(s(s(T149)))), s(T151)) → U4_ga(T149, T151, quot400_in_ga(T149, T151))
U4_ga(T149, T151, quot400_out_ga(T149, T151)) → quot400_out_ga(s(s(s(s(T149)))), s(T151))
U20_gga(T149, T151, quot400_out_ga(T149, T151)) → div1_out_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_gga(T201, T203, quot576_in_ga(T201, T203))
quot576_in_ga(0, 0) → quot576_out_ga(0, 0)
quot576_in_ga(s(0), 0) → quot576_out_ga(s(0), 0)
quot576_in_ga(s(s(0)), 0) → quot576_out_ga(s(s(0)), 0)
quot576_in_ga(s(s(s(0))), 0) → quot576_out_ga(s(s(s(0))), 0)
quot576_in_ga(s(s(s(s(0)))), 0) → quot576_out_ga(s(s(s(s(0)))), 0)
quot576_in_ga(s(s(s(s(s(T201))))), s(T203)) → U5_ga(T201, T203, quot576_in_ga(T201, T203))
U5_ga(T201, T203, quot576_out_ga(T201, T203)) → quot576_out_ga(s(s(s(s(s(T201))))), s(T203))
U21_gga(T201, T203, quot576_out_ga(T201, T203)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_gga(T259, T261, quot781_in_ga(T259, T261))
quot781_in_ga(0, 0) → quot781_out_ga(0, 0)
quot781_in_ga(s(0), 0) → quot781_out_ga(s(0), 0)
quot781_in_ga(s(s(0)), 0) → quot781_out_ga(s(s(0)), 0)
quot781_in_ga(s(s(s(0))), 0) → quot781_out_ga(s(s(s(0))), 0)
quot781_in_ga(s(s(s(s(0)))), 0) → quot781_out_ga(s(s(s(s(0)))), 0)
quot781_in_ga(s(s(s(s(s(0))))), 0) → quot781_out_ga(s(s(s(s(s(0))))), 0)
quot781_in_ga(s(s(s(s(s(s(T259)))))), s(T261)) → U6_ga(T259, T261, quot781_in_ga(T259, T261))
U6_ga(T259, T261, quot781_out_ga(T259, T261)) → quot781_out_ga(s(s(s(s(s(s(T259)))))), s(T261))
U22_gga(T259, T261, quot781_out_ga(T259, T261)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
div1_in_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_gga(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(0, s(T8), 0) → quot3_out_gaa(0, s(T8), 0)
quot3_in_gaa(s(0), s(s(T19)), 0) → quot3_out_gaa(s(0), s(s(T19)), 0)
quot3_in_gaa(s(0), s(0), s(0)) → quot3_out_gaa(s(0), s(0), s(0))
quot3_in_gaa(s(s(T29)), s(0), s(s(T31))) → U7_gaa(T29, T31, quot46_in_ga(T29, T31))
U7_gaa(T29, T31, quot46_out_ga(T29, T31)) → quot3_out_gaa(s(s(T29)), s(0), s(s(T31)))
quot3_in_gaa(s(s(0)), s(s(s(T47))), 0) → quot3_out_gaa(s(s(0)), s(s(s(T47))), 0)
quot3_in_gaa(s(s(0)), s(s(0)), s(0)) → quot3_out_gaa(s(s(0)), s(s(0)), s(0))
quot3_in_gaa(s(s(s(0))), s(s(0)), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(0)), s(0))
quot3_in_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_gaa(T63, T65, quot135_in_ga(T63, T65))
U8_gaa(T63, T65, quot135_out_ga(T63, T65)) → quot3_out_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
quot3_in_gaa(s(s(s(0))), s(s(s(s(T81)))), 0) → quot3_out_gaa(s(s(s(0))), s(s(s(s(T81)))), 0)
quot3_in_gaa(s(s(s(0))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_gaa(T103, T105, quot253_in_ga(T103, T105))
U9_gaa(T103, T105, quot253_out_ga(T103, T105)) → quot3_out_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_gaa(T149, T151, quot400_in_ga(T149, T151))
U10_gaa(T149, T151, quot400_out_ga(T149, T151)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_gaa(T201, T203, quot576_in_ga(T201, T203))
U11_gaa(T201, T203, quot576_out_ga(T201, T203)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_gaa(T259, T261, quot781_in_ga(T259, T261))
U12_gaa(T259, T261, quot781_out_ga(T259, T261)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_gaa(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_gaa(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
quot1007_in_gaaa(0, s(T278), T279, 0) → quot1007_out_gaaa(0, s(T278), T279, 0)
quot1007_in_gaaa(T280, 0, T281, s(T283)) → U15_gaaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_gaaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_gaaa(T280, 0, T281, s(T283))
quot1007_in_gaaa(s(T293), s(T294), T286, T288) → U16_gaaa(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
U16_gaaa(T293, T294, T286, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot1007_out_gaaa(s(T293), s(T294), T286, T288)
U14_gaa(T293, T294, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)
U13_gaa(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → quot3_out_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
U23_gga(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → div1_out_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
div1_in_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_gga(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
quot1007_in_ggaa(0, s(T278), T279, 0) → quot1007_out_ggaa(0, s(T278), T279, 0)
quot1007_in_ggaa(T280, 0, T281, s(T283)) → U15_ggaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_ggaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_ggaa(T280, 0, T281, s(T283))
quot1007_in_ggaa(s(T293), s(T294), T286, T288) → U16_ggaa(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
U16_ggaa(T293, T294, T286, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → quot1007_out_ggaa(s(T293), s(T294), T286, T288)
U24_gga(T293, T294, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → div1_out_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)

The argument filtering Pi contains the following mapping:
div1_in_gga(x1, x2, x3)  =  div1_in_gga(x1, x2)
0  =  0
s(x1)  =  s(x1)
div1_out_gga(x1, x2, x3)  =  div1_out_gga(x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
quot46_in_ga(x1, x2)  =  quot46_in_ga(x1)
quot46_out_ga(x1, x2)  =  quot46_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U18_gga(x1, x2, x3)  =  U18_gga(x3)
quot135_in_ga(x1, x2)  =  quot135_in_ga(x1)
quot135_out_ga(x1, x2)  =  quot135_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U19_gga(x1, x2, x3)  =  U19_gga(x3)
quot253_in_ga(x1, x2)  =  quot253_in_ga(x1)
quot253_out_ga(x1, x2)  =  quot253_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
quot400_in_ga(x1, x2)  =  quot400_in_ga(x1)
quot400_out_ga(x1, x2)  =  quot400_out_ga(x2)
U4_ga(x1, x2, x3)  =  U4_ga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x3)
quot576_in_ga(x1, x2)  =  quot576_in_ga(x1)
quot576_out_ga(x1, x2)  =  quot576_out_ga(x2)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
U22_gga(x1, x2, x3)  =  U22_gga(x3)
quot781_in_ga(x1, x2)  =  quot781_in_ga(x1)
quot781_out_ga(x1, x2)  =  quot781_out_ga(x2)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
quot3_in_gaa(x1, x2, x3)  =  quot3_in_gaa(x1)
quot3_out_gaa(x1, x2, x3)  =  quot3_out_gaa(x3)
U7_gaa(x1, x2, x3)  =  U7_gaa(x3)
U8_gaa(x1, x2, x3)  =  U8_gaa(x3)
U9_gaa(x1, x2, x3)  =  U9_gaa(x3)
U10_gaa(x1, x2, x3)  =  U10_gaa(x3)
U11_gaa(x1, x2, x3)  =  U11_gaa(x3)
U12_gaa(x1, x2, x3)  =  U12_gaa(x3)
U13_gaa(x1, x2, x3)  =  U13_gaa(x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
quot1007_in_gaaa(x1, x2, x3, x4)  =  quot1007_in_gaaa(x1)
quot1007_out_gaaa(x1, x2, x3, x4)  =  quot1007_out_gaaa(x4)
U15_gaaa(x1, x2, x3, x4)  =  U15_gaaa(x4)
U16_gaaa(x1, x2, x3, x4, x5)  =  U16_gaaa(x5)
U24_gga(x1, x2, x3, x4)  =  U24_gga(x4)
quot1007_in_ggaa(x1, x2, x3, x4)  =  quot1007_in_ggaa(x1, x2)
quot1007_out_ggaa(x1, x2, x3, x4)  =  quot1007_out_ggaa(x4)
U15_ggaa(x1, x2, x3, x4)  =  U15_ggaa(x4)
U16_ggaa(x1, x2, x3, x4, x5)  =  U16_ggaa(x5)

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

DIV1_IN_GGA(s(s(T29)), s(0), s(s(T31))) → U17_GGA(T29, T31, quot46_in_ga(T29, T31))
DIV1_IN_GGA(s(s(T29)), s(0), s(s(T31))) → QUOT46_IN_GA(T29, T31)
QUOT46_IN_GA(s(T29), s(T31)) → U1_GA(T29, T31, quot46_in_ga(T29, T31))
QUOT46_IN_GA(s(T29), s(T31)) → QUOT46_IN_GA(T29, T31)
DIV1_IN_GGA(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_GGA(T63, T65, quot135_in_ga(T63, T65))
DIV1_IN_GGA(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → QUOT135_IN_GA(T63, T65)
QUOT135_IN_GA(s(s(T63)), s(T65)) → U2_GA(T63, T65, quot135_in_ga(T63, T65))
QUOT135_IN_GA(s(s(T63)), s(T65)) → QUOT135_IN_GA(T63, T65)
DIV1_IN_GGA(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_GGA(T103, T105, quot253_in_ga(T103, T105))
DIV1_IN_GGA(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → QUOT253_IN_GA(T103, T105)
QUOT253_IN_GA(s(s(s(T103))), s(T105)) → U3_GA(T103, T105, quot253_in_ga(T103, T105))
QUOT253_IN_GA(s(s(s(T103))), s(T105)) → QUOT253_IN_GA(T103, T105)
DIV1_IN_GGA(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_GGA(T149, T151, quot400_in_ga(T149, T151))
DIV1_IN_GGA(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → QUOT400_IN_GA(T149, T151)
QUOT400_IN_GA(s(s(s(s(T149)))), s(T151)) → U4_GA(T149, T151, quot400_in_ga(T149, T151))
QUOT400_IN_GA(s(s(s(s(T149)))), s(T151)) → QUOT400_IN_GA(T149, T151)
DIV1_IN_GGA(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_GGA(T201, T203, quot576_in_ga(T201, T203))
DIV1_IN_GGA(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → QUOT576_IN_GA(T201, T203)
QUOT576_IN_GA(s(s(s(s(s(T201))))), s(T203)) → U5_GA(T201, T203, quot576_in_ga(T201, T203))
QUOT576_IN_GA(s(s(s(s(s(T201))))), s(T203)) → QUOT576_IN_GA(T201, T203)
DIV1_IN_GGA(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_GGA(T259, T261, quot781_in_ga(T259, T261))
DIV1_IN_GGA(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → QUOT781_IN_GA(T259, T261)
QUOT781_IN_GA(s(s(s(s(s(s(T259)))))), s(T261)) → U6_GA(T259, T261, quot781_in_ga(T259, T261))
QUOT781_IN_GA(s(s(s(s(s(s(T259)))))), s(T261)) → QUOT781_IN_GA(T259, T261)
DIV1_IN_GGA(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_GGA(T280, T283, quot3_in_gaa(T280, s(T281), T283))
DIV1_IN_GGA(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → QUOT3_IN_GAA(T280, s(T281), T283)
QUOT3_IN_GAA(s(s(T29)), s(0), s(s(T31))) → U7_GAA(T29, T31, quot46_in_ga(T29, T31))
QUOT3_IN_GAA(s(s(T29)), s(0), s(s(T31))) → QUOT46_IN_GA(T29, T31)
QUOT3_IN_GAA(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_GAA(T63, T65, quot135_in_ga(T63, T65))
QUOT3_IN_GAA(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → QUOT135_IN_GA(T63, T65)
QUOT3_IN_GAA(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_GAA(T103, T105, quot253_in_ga(T103, T105))
QUOT3_IN_GAA(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → QUOT253_IN_GA(T103, T105)
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_GAA(T149, T151, quot400_in_ga(T149, T151))
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → QUOT400_IN_GA(T149, T151)
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_GAA(T201, T203, quot576_in_ga(T201, T203))
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → QUOT576_IN_GA(T201, T203)
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_GAA(T259, T261, quot781_in_ga(T259, T261))
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → QUOT781_IN_GA(T259, T261)
QUOT3_IN_GAA(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_GAA(T280, T283, quot3_in_gaa(T280, s(T281), T283))
QUOT3_IN_GAA(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → QUOT3_IN_GAA(T280, s(T281), T283)
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_GAA(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → QUOT1007_IN_GAAA(T293, T294, T286, T288)
QUOT1007_IN_GAAA(T280, 0, T281, s(T283)) → U15_GAAA(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
QUOT1007_IN_GAAA(T280, 0, T281, s(T283)) → QUOT3_IN_GAA(T280, s(T281), T283)
QUOT1007_IN_GAAA(s(T293), s(T294), T286, T288) → U16_GAAA(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
QUOT1007_IN_GAAA(s(T293), s(T294), T286, T288) → QUOT1007_IN_GAAA(T293, T294, T286, T288)
DIV1_IN_GGA(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_GGA(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
DIV1_IN_GGA(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → QUOT1007_IN_GGAA(T293, T294, T286, T288)
QUOT1007_IN_GGAA(T280, 0, T281, s(T283)) → U15_GGAA(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
QUOT1007_IN_GGAA(T280, 0, T281, s(T283)) → QUOT3_IN_GAA(T280, s(T281), T283)
QUOT1007_IN_GGAA(s(T293), s(T294), T286, T288) → U16_GGAA(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
QUOT1007_IN_GGAA(s(T293), s(T294), T286, T288) → QUOT1007_IN_GGAA(T293, T294, T286, T288)

The TRS R consists of the following rules:

div1_in_gga(0, s(T8), 0) → div1_out_gga(0, s(T8), 0)
div1_in_gga(s(0), s(s(T19)), 0) → div1_out_gga(s(0), s(s(T19)), 0)
div1_in_gga(s(0), s(0), s(0)) → div1_out_gga(s(0), s(0), s(0))
div1_in_gga(s(s(T29)), s(0), s(s(T31))) → U17_gga(T29, T31, quot46_in_ga(T29, T31))
quot46_in_ga(0, 0) → quot46_out_ga(0, 0)
quot46_in_ga(s(T29), s(T31)) → U1_ga(T29, T31, quot46_in_ga(T29, T31))
U1_ga(T29, T31, quot46_out_ga(T29, T31)) → quot46_out_ga(s(T29), s(T31))
U17_gga(T29, T31, quot46_out_ga(T29, T31)) → div1_out_gga(s(s(T29)), s(0), s(s(T31)))
div1_in_gga(s(s(0)), s(s(s(T47))), 0) → div1_out_gga(s(s(0)), s(s(s(T47))), 0)
div1_in_gga(s(s(0)), s(s(0)), s(0)) → div1_out_gga(s(s(0)), s(s(0)), s(0))
div1_in_gga(s(s(s(0))), s(s(0)), s(0)) → div1_out_gga(s(s(s(0))), s(s(0)), s(0))
div1_in_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_gga(T63, T65, quot135_in_ga(T63, T65))
quot135_in_ga(0, 0) → quot135_out_ga(0, 0)
quot135_in_ga(s(0), 0) → quot135_out_ga(s(0), 0)
quot135_in_ga(s(s(T63)), s(T65)) → U2_ga(T63, T65, quot135_in_ga(T63, T65))
U2_ga(T63, T65, quot135_out_ga(T63, T65)) → quot135_out_ga(s(s(T63)), s(T65))
U18_gga(T63, T65, quot135_out_ga(T63, T65)) → div1_out_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
div1_in_gga(s(s(s(0))), s(s(s(s(T81)))), 0) → div1_out_gga(s(s(s(0))), s(s(s(s(T81)))), 0)
div1_in_gga(s(s(s(0))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(0))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(0)))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_gga(T103, T105, quot253_in_ga(T103, T105))
quot253_in_ga(0, 0) → quot253_out_ga(0, 0)
quot253_in_ga(s(0), 0) → quot253_out_ga(s(0), 0)
quot253_in_ga(s(s(0)), 0) → quot253_out_ga(s(s(0)), 0)
quot253_in_ga(s(s(s(T103))), s(T105)) → U3_ga(T103, T105, quot253_in_ga(T103, T105))
U3_ga(T103, T105, quot253_out_ga(T103, T105)) → quot253_out_ga(s(s(s(T103))), s(T105))
U19_gga(T103, T105, quot253_out_ga(T103, T105)) → div1_out_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
div1_in_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
div1_in_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_gga(T149, T151, quot400_in_ga(T149, T151))
quot400_in_ga(0, 0) → quot400_out_ga(0, 0)
quot400_in_ga(s(0), 0) → quot400_out_ga(s(0), 0)
quot400_in_ga(s(s(0)), 0) → quot400_out_ga(s(s(0)), 0)
quot400_in_ga(s(s(s(0))), 0) → quot400_out_ga(s(s(s(0))), 0)
quot400_in_ga(s(s(s(s(T149)))), s(T151)) → U4_ga(T149, T151, quot400_in_ga(T149, T151))
U4_ga(T149, T151, quot400_out_ga(T149, T151)) → quot400_out_ga(s(s(s(s(T149)))), s(T151))
U20_gga(T149, T151, quot400_out_ga(T149, T151)) → div1_out_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_gga(T201, T203, quot576_in_ga(T201, T203))
quot576_in_ga(0, 0) → quot576_out_ga(0, 0)
quot576_in_ga(s(0), 0) → quot576_out_ga(s(0), 0)
quot576_in_ga(s(s(0)), 0) → quot576_out_ga(s(s(0)), 0)
quot576_in_ga(s(s(s(0))), 0) → quot576_out_ga(s(s(s(0))), 0)
quot576_in_ga(s(s(s(s(0)))), 0) → quot576_out_ga(s(s(s(s(0)))), 0)
quot576_in_ga(s(s(s(s(s(T201))))), s(T203)) → U5_ga(T201, T203, quot576_in_ga(T201, T203))
U5_ga(T201, T203, quot576_out_ga(T201, T203)) → quot576_out_ga(s(s(s(s(s(T201))))), s(T203))
U21_gga(T201, T203, quot576_out_ga(T201, T203)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_gga(T259, T261, quot781_in_ga(T259, T261))
quot781_in_ga(0, 0) → quot781_out_ga(0, 0)
quot781_in_ga(s(0), 0) → quot781_out_ga(s(0), 0)
quot781_in_ga(s(s(0)), 0) → quot781_out_ga(s(s(0)), 0)
quot781_in_ga(s(s(s(0))), 0) → quot781_out_ga(s(s(s(0))), 0)
quot781_in_ga(s(s(s(s(0)))), 0) → quot781_out_ga(s(s(s(s(0)))), 0)
quot781_in_ga(s(s(s(s(s(0))))), 0) → quot781_out_ga(s(s(s(s(s(0))))), 0)
quot781_in_ga(s(s(s(s(s(s(T259)))))), s(T261)) → U6_ga(T259, T261, quot781_in_ga(T259, T261))
U6_ga(T259, T261, quot781_out_ga(T259, T261)) → quot781_out_ga(s(s(s(s(s(s(T259)))))), s(T261))
U22_gga(T259, T261, quot781_out_ga(T259, T261)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
div1_in_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_gga(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(0, s(T8), 0) → quot3_out_gaa(0, s(T8), 0)
quot3_in_gaa(s(0), s(s(T19)), 0) → quot3_out_gaa(s(0), s(s(T19)), 0)
quot3_in_gaa(s(0), s(0), s(0)) → quot3_out_gaa(s(0), s(0), s(0))
quot3_in_gaa(s(s(T29)), s(0), s(s(T31))) → U7_gaa(T29, T31, quot46_in_ga(T29, T31))
U7_gaa(T29, T31, quot46_out_ga(T29, T31)) → quot3_out_gaa(s(s(T29)), s(0), s(s(T31)))
quot3_in_gaa(s(s(0)), s(s(s(T47))), 0) → quot3_out_gaa(s(s(0)), s(s(s(T47))), 0)
quot3_in_gaa(s(s(0)), s(s(0)), s(0)) → quot3_out_gaa(s(s(0)), s(s(0)), s(0))
quot3_in_gaa(s(s(s(0))), s(s(0)), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(0)), s(0))
quot3_in_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_gaa(T63, T65, quot135_in_ga(T63, T65))
U8_gaa(T63, T65, quot135_out_ga(T63, T65)) → quot3_out_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
quot3_in_gaa(s(s(s(0))), s(s(s(s(T81)))), 0) → quot3_out_gaa(s(s(s(0))), s(s(s(s(T81)))), 0)
quot3_in_gaa(s(s(s(0))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_gaa(T103, T105, quot253_in_ga(T103, T105))
U9_gaa(T103, T105, quot253_out_ga(T103, T105)) → quot3_out_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_gaa(T149, T151, quot400_in_ga(T149, T151))
U10_gaa(T149, T151, quot400_out_ga(T149, T151)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_gaa(T201, T203, quot576_in_ga(T201, T203))
U11_gaa(T201, T203, quot576_out_ga(T201, T203)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_gaa(T259, T261, quot781_in_ga(T259, T261))
U12_gaa(T259, T261, quot781_out_ga(T259, T261)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_gaa(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_gaa(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
quot1007_in_gaaa(0, s(T278), T279, 0) → quot1007_out_gaaa(0, s(T278), T279, 0)
quot1007_in_gaaa(T280, 0, T281, s(T283)) → U15_gaaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_gaaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_gaaa(T280, 0, T281, s(T283))
quot1007_in_gaaa(s(T293), s(T294), T286, T288) → U16_gaaa(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
U16_gaaa(T293, T294, T286, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot1007_out_gaaa(s(T293), s(T294), T286, T288)
U14_gaa(T293, T294, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)
U13_gaa(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → quot3_out_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
U23_gga(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → div1_out_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
div1_in_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_gga(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
quot1007_in_ggaa(0, s(T278), T279, 0) → quot1007_out_ggaa(0, s(T278), T279, 0)
quot1007_in_ggaa(T280, 0, T281, s(T283)) → U15_ggaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_ggaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_ggaa(T280, 0, T281, s(T283))
quot1007_in_ggaa(s(T293), s(T294), T286, T288) → U16_ggaa(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
U16_ggaa(T293, T294, T286, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → quot1007_out_ggaa(s(T293), s(T294), T286, T288)
U24_gga(T293, T294, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → div1_out_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)

The argument filtering Pi contains the following mapping:
div1_in_gga(x1, x2, x3)  =  div1_in_gga(x1, x2)
0  =  0
s(x1)  =  s(x1)
div1_out_gga(x1, x2, x3)  =  div1_out_gga(x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
quot46_in_ga(x1, x2)  =  quot46_in_ga(x1)
quot46_out_ga(x1, x2)  =  quot46_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U18_gga(x1, x2, x3)  =  U18_gga(x3)
quot135_in_ga(x1, x2)  =  quot135_in_ga(x1)
quot135_out_ga(x1, x2)  =  quot135_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U19_gga(x1, x2, x3)  =  U19_gga(x3)
quot253_in_ga(x1, x2)  =  quot253_in_ga(x1)
quot253_out_ga(x1, x2)  =  quot253_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
quot400_in_ga(x1, x2)  =  quot400_in_ga(x1)
quot400_out_ga(x1, x2)  =  quot400_out_ga(x2)
U4_ga(x1, x2, x3)  =  U4_ga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x3)
quot576_in_ga(x1, x2)  =  quot576_in_ga(x1)
quot576_out_ga(x1, x2)  =  quot576_out_ga(x2)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
U22_gga(x1, x2, x3)  =  U22_gga(x3)
quot781_in_ga(x1, x2)  =  quot781_in_ga(x1)
quot781_out_ga(x1, x2)  =  quot781_out_ga(x2)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
quot3_in_gaa(x1, x2, x3)  =  quot3_in_gaa(x1)
quot3_out_gaa(x1, x2, x3)  =  quot3_out_gaa(x3)
U7_gaa(x1, x2, x3)  =  U7_gaa(x3)
U8_gaa(x1, x2, x3)  =  U8_gaa(x3)
U9_gaa(x1, x2, x3)  =  U9_gaa(x3)
U10_gaa(x1, x2, x3)  =  U10_gaa(x3)
U11_gaa(x1, x2, x3)  =  U11_gaa(x3)
U12_gaa(x1, x2, x3)  =  U12_gaa(x3)
U13_gaa(x1, x2, x3)  =  U13_gaa(x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
quot1007_in_gaaa(x1, x2, x3, x4)  =  quot1007_in_gaaa(x1)
quot1007_out_gaaa(x1, x2, x3, x4)  =  quot1007_out_gaaa(x4)
U15_gaaa(x1, x2, x3, x4)  =  U15_gaaa(x4)
U16_gaaa(x1, x2, x3, x4, x5)  =  U16_gaaa(x5)
U24_gga(x1, x2, x3, x4)  =  U24_gga(x4)
quot1007_in_ggaa(x1, x2, x3, x4)  =  quot1007_in_ggaa(x1, x2)
quot1007_out_ggaa(x1, x2, x3, x4)  =  quot1007_out_ggaa(x4)
U15_ggaa(x1, x2, x3, x4)  =  U15_ggaa(x4)
U16_ggaa(x1, x2, x3, x4, x5)  =  U16_ggaa(x5)
DIV1_IN_GGA(x1, x2, x3)  =  DIV1_IN_GGA(x1, x2)
U17_GGA(x1, x2, x3)  =  U17_GGA(x3)
QUOT46_IN_GA(x1, x2)  =  QUOT46_IN_GA(x1)
U1_GA(x1, x2, x3)  =  U1_GA(x3)
U18_GGA(x1, x2, x3)  =  U18_GGA(x3)
QUOT135_IN_GA(x1, x2)  =  QUOT135_IN_GA(x1)
U2_GA(x1, x2, x3)  =  U2_GA(x3)
U19_GGA(x1, x2, x3)  =  U19_GGA(x3)
QUOT253_IN_GA(x1, x2)  =  QUOT253_IN_GA(x1)
U3_GA(x1, x2, x3)  =  U3_GA(x3)
U20_GGA(x1, x2, x3)  =  U20_GGA(x3)
QUOT400_IN_GA(x1, x2)  =  QUOT400_IN_GA(x1)
U4_GA(x1, x2, x3)  =  U4_GA(x3)
U21_GGA(x1, x2, x3)  =  U21_GGA(x3)
QUOT576_IN_GA(x1, x2)  =  QUOT576_IN_GA(x1)
U5_GA(x1, x2, x3)  =  U5_GA(x3)
U22_GGA(x1, x2, x3)  =  U22_GGA(x3)
QUOT781_IN_GA(x1, x2)  =  QUOT781_IN_GA(x1)
U6_GA(x1, x2, x3)  =  U6_GA(x3)
U23_GGA(x1, x2, x3)  =  U23_GGA(x3)
QUOT3_IN_GAA(x1, x2, x3)  =  QUOT3_IN_GAA(x1)
U7_GAA(x1, x2, x3)  =  U7_GAA(x3)
U8_GAA(x1, x2, x3)  =  U8_GAA(x3)
U9_GAA(x1, x2, x3)  =  U9_GAA(x3)
U10_GAA(x1, x2, x3)  =  U10_GAA(x3)
U11_GAA(x1, x2, x3)  =  U11_GAA(x3)
U12_GAA(x1, x2, x3)  =  U12_GAA(x3)
U13_GAA(x1, x2, x3)  =  U13_GAA(x3)
U14_GAA(x1, x2, x3, x4)  =  U14_GAA(x4)
QUOT1007_IN_GAAA(x1, x2, x3, x4)  =  QUOT1007_IN_GAAA(x1)
U15_GAAA(x1, x2, x3, x4)  =  U15_GAAA(x4)
U16_GAAA(x1, x2, x3, x4, x5)  =  U16_GAAA(x5)
U24_GGA(x1, x2, x3, x4)  =  U24_GGA(x4)
QUOT1007_IN_GGAA(x1, x2, x3, x4)  =  QUOT1007_IN_GGAA(x1, x2)
U15_GGAA(x1, x2, x3, x4)  =  U15_GGAA(x4)
U16_GGAA(x1, x2, x3, x4, x5)  =  U16_GGAA(x5)

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

(6) Obligation:

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

DIV1_IN_GGA(s(s(T29)), s(0), s(s(T31))) → U17_GGA(T29, T31, quot46_in_ga(T29, T31))
DIV1_IN_GGA(s(s(T29)), s(0), s(s(T31))) → QUOT46_IN_GA(T29, T31)
QUOT46_IN_GA(s(T29), s(T31)) → U1_GA(T29, T31, quot46_in_ga(T29, T31))
QUOT46_IN_GA(s(T29), s(T31)) → QUOT46_IN_GA(T29, T31)
DIV1_IN_GGA(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_GGA(T63, T65, quot135_in_ga(T63, T65))
DIV1_IN_GGA(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → QUOT135_IN_GA(T63, T65)
QUOT135_IN_GA(s(s(T63)), s(T65)) → U2_GA(T63, T65, quot135_in_ga(T63, T65))
QUOT135_IN_GA(s(s(T63)), s(T65)) → QUOT135_IN_GA(T63, T65)
DIV1_IN_GGA(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_GGA(T103, T105, quot253_in_ga(T103, T105))
DIV1_IN_GGA(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → QUOT253_IN_GA(T103, T105)
QUOT253_IN_GA(s(s(s(T103))), s(T105)) → U3_GA(T103, T105, quot253_in_ga(T103, T105))
QUOT253_IN_GA(s(s(s(T103))), s(T105)) → QUOT253_IN_GA(T103, T105)
DIV1_IN_GGA(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_GGA(T149, T151, quot400_in_ga(T149, T151))
DIV1_IN_GGA(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → QUOT400_IN_GA(T149, T151)
QUOT400_IN_GA(s(s(s(s(T149)))), s(T151)) → U4_GA(T149, T151, quot400_in_ga(T149, T151))
QUOT400_IN_GA(s(s(s(s(T149)))), s(T151)) → QUOT400_IN_GA(T149, T151)
DIV1_IN_GGA(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_GGA(T201, T203, quot576_in_ga(T201, T203))
DIV1_IN_GGA(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → QUOT576_IN_GA(T201, T203)
QUOT576_IN_GA(s(s(s(s(s(T201))))), s(T203)) → U5_GA(T201, T203, quot576_in_ga(T201, T203))
QUOT576_IN_GA(s(s(s(s(s(T201))))), s(T203)) → QUOT576_IN_GA(T201, T203)
DIV1_IN_GGA(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_GGA(T259, T261, quot781_in_ga(T259, T261))
DIV1_IN_GGA(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → QUOT781_IN_GA(T259, T261)
QUOT781_IN_GA(s(s(s(s(s(s(T259)))))), s(T261)) → U6_GA(T259, T261, quot781_in_ga(T259, T261))
QUOT781_IN_GA(s(s(s(s(s(s(T259)))))), s(T261)) → QUOT781_IN_GA(T259, T261)
DIV1_IN_GGA(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_GGA(T280, T283, quot3_in_gaa(T280, s(T281), T283))
DIV1_IN_GGA(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → QUOT3_IN_GAA(T280, s(T281), T283)
QUOT3_IN_GAA(s(s(T29)), s(0), s(s(T31))) → U7_GAA(T29, T31, quot46_in_ga(T29, T31))
QUOT3_IN_GAA(s(s(T29)), s(0), s(s(T31))) → QUOT46_IN_GA(T29, T31)
QUOT3_IN_GAA(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_GAA(T63, T65, quot135_in_ga(T63, T65))
QUOT3_IN_GAA(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → QUOT135_IN_GA(T63, T65)
QUOT3_IN_GAA(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_GAA(T103, T105, quot253_in_ga(T103, T105))
QUOT3_IN_GAA(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → QUOT253_IN_GA(T103, T105)
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_GAA(T149, T151, quot400_in_ga(T149, T151))
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → QUOT400_IN_GA(T149, T151)
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_GAA(T201, T203, quot576_in_ga(T201, T203))
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → QUOT576_IN_GA(T201, T203)
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_GAA(T259, T261, quot781_in_ga(T259, T261))
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → QUOT781_IN_GA(T259, T261)
QUOT3_IN_GAA(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_GAA(T280, T283, quot3_in_gaa(T280, s(T281), T283))
QUOT3_IN_GAA(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → QUOT3_IN_GAA(T280, s(T281), T283)
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_GAA(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
QUOT3_IN_GAA(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → QUOT1007_IN_GAAA(T293, T294, T286, T288)
QUOT1007_IN_GAAA(T280, 0, T281, s(T283)) → U15_GAAA(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
QUOT1007_IN_GAAA(T280, 0, T281, s(T283)) → QUOT3_IN_GAA(T280, s(T281), T283)
QUOT1007_IN_GAAA(s(T293), s(T294), T286, T288) → U16_GAAA(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
QUOT1007_IN_GAAA(s(T293), s(T294), T286, T288) → QUOT1007_IN_GAAA(T293, T294, T286, T288)
DIV1_IN_GGA(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_GGA(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
DIV1_IN_GGA(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → QUOT1007_IN_GGAA(T293, T294, T286, T288)
QUOT1007_IN_GGAA(T280, 0, T281, s(T283)) → U15_GGAA(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
QUOT1007_IN_GGAA(T280, 0, T281, s(T283)) → QUOT3_IN_GAA(T280, s(T281), T283)
QUOT1007_IN_GGAA(s(T293), s(T294), T286, T288) → U16_GGAA(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
QUOT1007_IN_GGAA(s(T293), s(T294), T286, T288) → QUOT1007_IN_GGAA(T293, T294, T286, T288)

The TRS R consists of the following rules:

div1_in_gga(0, s(T8), 0) → div1_out_gga(0, s(T8), 0)
div1_in_gga(s(0), s(s(T19)), 0) → div1_out_gga(s(0), s(s(T19)), 0)
div1_in_gga(s(0), s(0), s(0)) → div1_out_gga(s(0), s(0), s(0))
div1_in_gga(s(s(T29)), s(0), s(s(T31))) → U17_gga(T29, T31, quot46_in_ga(T29, T31))
quot46_in_ga(0, 0) → quot46_out_ga(0, 0)
quot46_in_ga(s(T29), s(T31)) → U1_ga(T29, T31, quot46_in_ga(T29, T31))
U1_ga(T29, T31, quot46_out_ga(T29, T31)) → quot46_out_ga(s(T29), s(T31))
U17_gga(T29, T31, quot46_out_ga(T29, T31)) → div1_out_gga(s(s(T29)), s(0), s(s(T31)))
div1_in_gga(s(s(0)), s(s(s(T47))), 0) → div1_out_gga(s(s(0)), s(s(s(T47))), 0)
div1_in_gga(s(s(0)), s(s(0)), s(0)) → div1_out_gga(s(s(0)), s(s(0)), s(0))
div1_in_gga(s(s(s(0))), s(s(0)), s(0)) → div1_out_gga(s(s(s(0))), s(s(0)), s(0))
div1_in_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_gga(T63, T65, quot135_in_ga(T63, T65))
quot135_in_ga(0, 0) → quot135_out_ga(0, 0)
quot135_in_ga(s(0), 0) → quot135_out_ga(s(0), 0)
quot135_in_ga(s(s(T63)), s(T65)) → U2_ga(T63, T65, quot135_in_ga(T63, T65))
U2_ga(T63, T65, quot135_out_ga(T63, T65)) → quot135_out_ga(s(s(T63)), s(T65))
U18_gga(T63, T65, quot135_out_ga(T63, T65)) → div1_out_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
div1_in_gga(s(s(s(0))), s(s(s(s(T81)))), 0) → div1_out_gga(s(s(s(0))), s(s(s(s(T81)))), 0)
div1_in_gga(s(s(s(0))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(0))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(0)))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_gga(T103, T105, quot253_in_ga(T103, T105))
quot253_in_ga(0, 0) → quot253_out_ga(0, 0)
quot253_in_ga(s(0), 0) → quot253_out_ga(s(0), 0)
quot253_in_ga(s(s(0)), 0) → quot253_out_ga(s(s(0)), 0)
quot253_in_ga(s(s(s(T103))), s(T105)) → U3_ga(T103, T105, quot253_in_ga(T103, T105))
U3_ga(T103, T105, quot253_out_ga(T103, T105)) → quot253_out_ga(s(s(s(T103))), s(T105))
U19_gga(T103, T105, quot253_out_ga(T103, T105)) → div1_out_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
div1_in_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
div1_in_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_gga(T149, T151, quot400_in_ga(T149, T151))
quot400_in_ga(0, 0) → quot400_out_ga(0, 0)
quot400_in_ga(s(0), 0) → quot400_out_ga(s(0), 0)
quot400_in_ga(s(s(0)), 0) → quot400_out_ga(s(s(0)), 0)
quot400_in_ga(s(s(s(0))), 0) → quot400_out_ga(s(s(s(0))), 0)
quot400_in_ga(s(s(s(s(T149)))), s(T151)) → U4_ga(T149, T151, quot400_in_ga(T149, T151))
U4_ga(T149, T151, quot400_out_ga(T149, T151)) → quot400_out_ga(s(s(s(s(T149)))), s(T151))
U20_gga(T149, T151, quot400_out_ga(T149, T151)) → div1_out_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_gga(T201, T203, quot576_in_ga(T201, T203))
quot576_in_ga(0, 0) → quot576_out_ga(0, 0)
quot576_in_ga(s(0), 0) → quot576_out_ga(s(0), 0)
quot576_in_ga(s(s(0)), 0) → quot576_out_ga(s(s(0)), 0)
quot576_in_ga(s(s(s(0))), 0) → quot576_out_ga(s(s(s(0))), 0)
quot576_in_ga(s(s(s(s(0)))), 0) → quot576_out_ga(s(s(s(s(0)))), 0)
quot576_in_ga(s(s(s(s(s(T201))))), s(T203)) → U5_ga(T201, T203, quot576_in_ga(T201, T203))
U5_ga(T201, T203, quot576_out_ga(T201, T203)) → quot576_out_ga(s(s(s(s(s(T201))))), s(T203))
U21_gga(T201, T203, quot576_out_ga(T201, T203)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_gga(T259, T261, quot781_in_ga(T259, T261))
quot781_in_ga(0, 0) → quot781_out_ga(0, 0)
quot781_in_ga(s(0), 0) → quot781_out_ga(s(0), 0)
quot781_in_ga(s(s(0)), 0) → quot781_out_ga(s(s(0)), 0)
quot781_in_ga(s(s(s(0))), 0) → quot781_out_ga(s(s(s(0))), 0)
quot781_in_ga(s(s(s(s(0)))), 0) → quot781_out_ga(s(s(s(s(0)))), 0)
quot781_in_ga(s(s(s(s(s(0))))), 0) → quot781_out_ga(s(s(s(s(s(0))))), 0)
quot781_in_ga(s(s(s(s(s(s(T259)))))), s(T261)) → U6_ga(T259, T261, quot781_in_ga(T259, T261))
U6_ga(T259, T261, quot781_out_ga(T259, T261)) → quot781_out_ga(s(s(s(s(s(s(T259)))))), s(T261))
U22_gga(T259, T261, quot781_out_ga(T259, T261)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
div1_in_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_gga(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(0, s(T8), 0) → quot3_out_gaa(0, s(T8), 0)
quot3_in_gaa(s(0), s(s(T19)), 0) → quot3_out_gaa(s(0), s(s(T19)), 0)
quot3_in_gaa(s(0), s(0), s(0)) → quot3_out_gaa(s(0), s(0), s(0))
quot3_in_gaa(s(s(T29)), s(0), s(s(T31))) → U7_gaa(T29, T31, quot46_in_ga(T29, T31))
U7_gaa(T29, T31, quot46_out_ga(T29, T31)) → quot3_out_gaa(s(s(T29)), s(0), s(s(T31)))
quot3_in_gaa(s(s(0)), s(s(s(T47))), 0) → quot3_out_gaa(s(s(0)), s(s(s(T47))), 0)
quot3_in_gaa(s(s(0)), s(s(0)), s(0)) → quot3_out_gaa(s(s(0)), s(s(0)), s(0))
quot3_in_gaa(s(s(s(0))), s(s(0)), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(0)), s(0))
quot3_in_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_gaa(T63, T65, quot135_in_ga(T63, T65))
U8_gaa(T63, T65, quot135_out_ga(T63, T65)) → quot3_out_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
quot3_in_gaa(s(s(s(0))), s(s(s(s(T81)))), 0) → quot3_out_gaa(s(s(s(0))), s(s(s(s(T81)))), 0)
quot3_in_gaa(s(s(s(0))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_gaa(T103, T105, quot253_in_ga(T103, T105))
U9_gaa(T103, T105, quot253_out_ga(T103, T105)) → quot3_out_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_gaa(T149, T151, quot400_in_ga(T149, T151))
U10_gaa(T149, T151, quot400_out_ga(T149, T151)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_gaa(T201, T203, quot576_in_ga(T201, T203))
U11_gaa(T201, T203, quot576_out_ga(T201, T203)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_gaa(T259, T261, quot781_in_ga(T259, T261))
U12_gaa(T259, T261, quot781_out_ga(T259, T261)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_gaa(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_gaa(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
quot1007_in_gaaa(0, s(T278), T279, 0) → quot1007_out_gaaa(0, s(T278), T279, 0)
quot1007_in_gaaa(T280, 0, T281, s(T283)) → U15_gaaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_gaaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_gaaa(T280, 0, T281, s(T283))
quot1007_in_gaaa(s(T293), s(T294), T286, T288) → U16_gaaa(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
U16_gaaa(T293, T294, T286, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot1007_out_gaaa(s(T293), s(T294), T286, T288)
U14_gaa(T293, T294, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)
U13_gaa(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → quot3_out_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
U23_gga(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → div1_out_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
div1_in_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_gga(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
quot1007_in_ggaa(0, s(T278), T279, 0) → quot1007_out_ggaa(0, s(T278), T279, 0)
quot1007_in_ggaa(T280, 0, T281, s(T283)) → U15_ggaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_ggaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_ggaa(T280, 0, T281, s(T283))
quot1007_in_ggaa(s(T293), s(T294), T286, T288) → U16_ggaa(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
U16_ggaa(T293, T294, T286, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → quot1007_out_ggaa(s(T293), s(T294), T286, T288)
U24_gga(T293, T294, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → div1_out_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)

The argument filtering Pi contains the following mapping:
div1_in_gga(x1, x2, x3)  =  div1_in_gga(x1, x2)
0  =  0
s(x1)  =  s(x1)
div1_out_gga(x1, x2, x3)  =  div1_out_gga(x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
quot46_in_ga(x1, x2)  =  quot46_in_ga(x1)
quot46_out_ga(x1, x2)  =  quot46_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U18_gga(x1, x2, x3)  =  U18_gga(x3)
quot135_in_ga(x1, x2)  =  quot135_in_ga(x1)
quot135_out_ga(x1, x2)  =  quot135_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U19_gga(x1, x2, x3)  =  U19_gga(x3)
quot253_in_ga(x1, x2)  =  quot253_in_ga(x1)
quot253_out_ga(x1, x2)  =  quot253_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
quot400_in_ga(x1, x2)  =  quot400_in_ga(x1)
quot400_out_ga(x1, x2)  =  quot400_out_ga(x2)
U4_ga(x1, x2, x3)  =  U4_ga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x3)
quot576_in_ga(x1, x2)  =  quot576_in_ga(x1)
quot576_out_ga(x1, x2)  =  quot576_out_ga(x2)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
U22_gga(x1, x2, x3)  =  U22_gga(x3)
quot781_in_ga(x1, x2)  =  quot781_in_ga(x1)
quot781_out_ga(x1, x2)  =  quot781_out_ga(x2)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
quot3_in_gaa(x1, x2, x3)  =  quot3_in_gaa(x1)
quot3_out_gaa(x1, x2, x3)  =  quot3_out_gaa(x3)
U7_gaa(x1, x2, x3)  =  U7_gaa(x3)
U8_gaa(x1, x2, x3)  =  U8_gaa(x3)
U9_gaa(x1, x2, x3)  =  U9_gaa(x3)
U10_gaa(x1, x2, x3)  =  U10_gaa(x3)
U11_gaa(x1, x2, x3)  =  U11_gaa(x3)
U12_gaa(x1, x2, x3)  =  U12_gaa(x3)
U13_gaa(x1, x2, x3)  =  U13_gaa(x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
quot1007_in_gaaa(x1, x2, x3, x4)  =  quot1007_in_gaaa(x1)
quot1007_out_gaaa(x1, x2, x3, x4)  =  quot1007_out_gaaa(x4)
U15_gaaa(x1, x2, x3, x4)  =  U15_gaaa(x4)
U16_gaaa(x1, x2, x3, x4, x5)  =  U16_gaaa(x5)
U24_gga(x1, x2, x3, x4)  =  U24_gga(x4)
quot1007_in_ggaa(x1, x2, x3, x4)  =  quot1007_in_ggaa(x1, x2)
quot1007_out_ggaa(x1, x2, x3, x4)  =  quot1007_out_ggaa(x4)
U15_ggaa(x1, x2, x3, x4)  =  U15_ggaa(x4)
U16_ggaa(x1, x2, x3, x4, x5)  =  U16_ggaa(x5)
DIV1_IN_GGA(x1, x2, x3)  =  DIV1_IN_GGA(x1, x2)
U17_GGA(x1, x2, x3)  =  U17_GGA(x3)
QUOT46_IN_GA(x1, x2)  =  QUOT46_IN_GA(x1)
U1_GA(x1, x2, x3)  =  U1_GA(x3)
U18_GGA(x1, x2, x3)  =  U18_GGA(x3)
QUOT135_IN_GA(x1, x2)  =  QUOT135_IN_GA(x1)
U2_GA(x1, x2, x3)  =  U2_GA(x3)
U19_GGA(x1, x2, x3)  =  U19_GGA(x3)
QUOT253_IN_GA(x1, x2)  =  QUOT253_IN_GA(x1)
U3_GA(x1, x2, x3)  =  U3_GA(x3)
U20_GGA(x1, x2, x3)  =  U20_GGA(x3)
QUOT400_IN_GA(x1, x2)  =  QUOT400_IN_GA(x1)
U4_GA(x1, x2, x3)  =  U4_GA(x3)
U21_GGA(x1, x2, x3)  =  U21_GGA(x3)
QUOT576_IN_GA(x1, x2)  =  QUOT576_IN_GA(x1)
U5_GA(x1, x2, x3)  =  U5_GA(x3)
U22_GGA(x1, x2, x3)  =  U22_GGA(x3)
QUOT781_IN_GA(x1, x2)  =  QUOT781_IN_GA(x1)
U6_GA(x1, x2, x3)  =  U6_GA(x3)
U23_GGA(x1, x2, x3)  =  U23_GGA(x3)
QUOT3_IN_GAA(x1, x2, x3)  =  QUOT3_IN_GAA(x1)
U7_GAA(x1, x2, x3)  =  U7_GAA(x3)
U8_GAA(x1, x2, x3)  =  U8_GAA(x3)
U9_GAA(x1, x2, x3)  =  U9_GAA(x3)
U10_GAA(x1, x2, x3)  =  U10_GAA(x3)
U11_GAA(x1, x2, x3)  =  U11_GAA(x3)
U12_GAA(x1, x2, x3)  =  U12_GAA(x3)
U13_GAA(x1, x2, x3)  =  U13_GAA(x3)
U14_GAA(x1, x2, x3, x4)  =  U14_GAA(x4)
QUOT1007_IN_GAAA(x1, x2, x3, x4)  =  QUOT1007_IN_GAAA(x1)
U15_GAAA(x1, x2, x3, x4)  =  U15_GAAA(x4)
U16_GAAA(x1, x2, x3, x4, x5)  =  U16_GAAA(x5)
U24_GGA(x1, x2, x3, x4)  =  U24_GGA(x4)
QUOT1007_IN_GGAA(x1, x2, x3, x4)  =  QUOT1007_IN_GGAA(x1, x2)
U15_GGAA(x1, x2, x3, x4)  =  U15_GGAA(x4)
U16_GGAA(x1, x2, x3, x4, x5)  =  U16_GGAA(x5)

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

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 8 SCCs with 41 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

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

QUOT781_IN_GA(s(s(s(s(s(s(T259)))))), s(T261)) → QUOT781_IN_GA(T259, T261)

The TRS R consists of the following rules:

div1_in_gga(0, s(T8), 0) → div1_out_gga(0, s(T8), 0)
div1_in_gga(s(0), s(s(T19)), 0) → div1_out_gga(s(0), s(s(T19)), 0)
div1_in_gga(s(0), s(0), s(0)) → div1_out_gga(s(0), s(0), s(0))
div1_in_gga(s(s(T29)), s(0), s(s(T31))) → U17_gga(T29, T31, quot46_in_ga(T29, T31))
quot46_in_ga(0, 0) → quot46_out_ga(0, 0)
quot46_in_ga(s(T29), s(T31)) → U1_ga(T29, T31, quot46_in_ga(T29, T31))
U1_ga(T29, T31, quot46_out_ga(T29, T31)) → quot46_out_ga(s(T29), s(T31))
U17_gga(T29, T31, quot46_out_ga(T29, T31)) → div1_out_gga(s(s(T29)), s(0), s(s(T31)))
div1_in_gga(s(s(0)), s(s(s(T47))), 0) → div1_out_gga(s(s(0)), s(s(s(T47))), 0)
div1_in_gga(s(s(0)), s(s(0)), s(0)) → div1_out_gga(s(s(0)), s(s(0)), s(0))
div1_in_gga(s(s(s(0))), s(s(0)), s(0)) → div1_out_gga(s(s(s(0))), s(s(0)), s(0))
div1_in_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_gga(T63, T65, quot135_in_ga(T63, T65))
quot135_in_ga(0, 0) → quot135_out_ga(0, 0)
quot135_in_ga(s(0), 0) → quot135_out_ga(s(0), 0)
quot135_in_ga(s(s(T63)), s(T65)) → U2_ga(T63, T65, quot135_in_ga(T63, T65))
U2_ga(T63, T65, quot135_out_ga(T63, T65)) → quot135_out_ga(s(s(T63)), s(T65))
U18_gga(T63, T65, quot135_out_ga(T63, T65)) → div1_out_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
div1_in_gga(s(s(s(0))), s(s(s(s(T81)))), 0) → div1_out_gga(s(s(s(0))), s(s(s(s(T81)))), 0)
div1_in_gga(s(s(s(0))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(0))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(0)))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_gga(T103, T105, quot253_in_ga(T103, T105))
quot253_in_ga(0, 0) → quot253_out_ga(0, 0)
quot253_in_ga(s(0), 0) → quot253_out_ga(s(0), 0)
quot253_in_ga(s(s(0)), 0) → quot253_out_ga(s(s(0)), 0)
quot253_in_ga(s(s(s(T103))), s(T105)) → U3_ga(T103, T105, quot253_in_ga(T103, T105))
U3_ga(T103, T105, quot253_out_ga(T103, T105)) → quot253_out_ga(s(s(s(T103))), s(T105))
U19_gga(T103, T105, quot253_out_ga(T103, T105)) → div1_out_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
div1_in_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
div1_in_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_gga(T149, T151, quot400_in_ga(T149, T151))
quot400_in_ga(0, 0) → quot400_out_ga(0, 0)
quot400_in_ga(s(0), 0) → quot400_out_ga(s(0), 0)
quot400_in_ga(s(s(0)), 0) → quot400_out_ga(s(s(0)), 0)
quot400_in_ga(s(s(s(0))), 0) → quot400_out_ga(s(s(s(0))), 0)
quot400_in_ga(s(s(s(s(T149)))), s(T151)) → U4_ga(T149, T151, quot400_in_ga(T149, T151))
U4_ga(T149, T151, quot400_out_ga(T149, T151)) → quot400_out_ga(s(s(s(s(T149)))), s(T151))
U20_gga(T149, T151, quot400_out_ga(T149, T151)) → div1_out_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_gga(T201, T203, quot576_in_ga(T201, T203))
quot576_in_ga(0, 0) → quot576_out_ga(0, 0)
quot576_in_ga(s(0), 0) → quot576_out_ga(s(0), 0)
quot576_in_ga(s(s(0)), 0) → quot576_out_ga(s(s(0)), 0)
quot576_in_ga(s(s(s(0))), 0) → quot576_out_ga(s(s(s(0))), 0)
quot576_in_ga(s(s(s(s(0)))), 0) → quot576_out_ga(s(s(s(s(0)))), 0)
quot576_in_ga(s(s(s(s(s(T201))))), s(T203)) → U5_ga(T201, T203, quot576_in_ga(T201, T203))
U5_ga(T201, T203, quot576_out_ga(T201, T203)) → quot576_out_ga(s(s(s(s(s(T201))))), s(T203))
U21_gga(T201, T203, quot576_out_ga(T201, T203)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_gga(T259, T261, quot781_in_ga(T259, T261))
quot781_in_ga(0, 0) → quot781_out_ga(0, 0)
quot781_in_ga(s(0), 0) → quot781_out_ga(s(0), 0)
quot781_in_ga(s(s(0)), 0) → quot781_out_ga(s(s(0)), 0)
quot781_in_ga(s(s(s(0))), 0) → quot781_out_ga(s(s(s(0))), 0)
quot781_in_ga(s(s(s(s(0)))), 0) → quot781_out_ga(s(s(s(s(0)))), 0)
quot781_in_ga(s(s(s(s(s(0))))), 0) → quot781_out_ga(s(s(s(s(s(0))))), 0)
quot781_in_ga(s(s(s(s(s(s(T259)))))), s(T261)) → U6_ga(T259, T261, quot781_in_ga(T259, T261))
U6_ga(T259, T261, quot781_out_ga(T259, T261)) → quot781_out_ga(s(s(s(s(s(s(T259)))))), s(T261))
U22_gga(T259, T261, quot781_out_ga(T259, T261)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
div1_in_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_gga(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(0, s(T8), 0) → quot3_out_gaa(0, s(T8), 0)
quot3_in_gaa(s(0), s(s(T19)), 0) → quot3_out_gaa(s(0), s(s(T19)), 0)
quot3_in_gaa(s(0), s(0), s(0)) → quot3_out_gaa(s(0), s(0), s(0))
quot3_in_gaa(s(s(T29)), s(0), s(s(T31))) → U7_gaa(T29, T31, quot46_in_ga(T29, T31))
U7_gaa(T29, T31, quot46_out_ga(T29, T31)) → quot3_out_gaa(s(s(T29)), s(0), s(s(T31)))
quot3_in_gaa(s(s(0)), s(s(s(T47))), 0) → quot3_out_gaa(s(s(0)), s(s(s(T47))), 0)
quot3_in_gaa(s(s(0)), s(s(0)), s(0)) → quot3_out_gaa(s(s(0)), s(s(0)), s(0))
quot3_in_gaa(s(s(s(0))), s(s(0)), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(0)), s(0))
quot3_in_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_gaa(T63, T65, quot135_in_ga(T63, T65))
U8_gaa(T63, T65, quot135_out_ga(T63, T65)) → quot3_out_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
quot3_in_gaa(s(s(s(0))), s(s(s(s(T81)))), 0) → quot3_out_gaa(s(s(s(0))), s(s(s(s(T81)))), 0)
quot3_in_gaa(s(s(s(0))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_gaa(T103, T105, quot253_in_ga(T103, T105))
U9_gaa(T103, T105, quot253_out_ga(T103, T105)) → quot3_out_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_gaa(T149, T151, quot400_in_ga(T149, T151))
U10_gaa(T149, T151, quot400_out_ga(T149, T151)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_gaa(T201, T203, quot576_in_ga(T201, T203))
U11_gaa(T201, T203, quot576_out_ga(T201, T203)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_gaa(T259, T261, quot781_in_ga(T259, T261))
U12_gaa(T259, T261, quot781_out_ga(T259, T261)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_gaa(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_gaa(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
quot1007_in_gaaa(0, s(T278), T279, 0) → quot1007_out_gaaa(0, s(T278), T279, 0)
quot1007_in_gaaa(T280, 0, T281, s(T283)) → U15_gaaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_gaaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_gaaa(T280, 0, T281, s(T283))
quot1007_in_gaaa(s(T293), s(T294), T286, T288) → U16_gaaa(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
U16_gaaa(T293, T294, T286, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot1007_out_gaaa(s(T293), s(T294), T286, T288)
U14_gaa(T293, T294, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)
U13_gaa(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → quot3_out_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
U23_gga(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → div1_out_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
div1_in_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_gga(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
quot1007_in_ggaa(0, s(T278), T279, 0) → quot1007_out_ggaa(0, s(T278), T279, 0)
quot1007_in_ggaa(T280, 0, T281, s(T283)) → U15_ggaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_ggaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_ggaa(T280, 0, T281, s(T283))
quot1007_in_ggaa(s(T293), s(T294), T286, T288) → U16_ggaa(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
U16_ggaa(T293, T294, T286, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → quot1007_out_ggaa(s(T293), s(T294), T286, T288)
U24_gga(T293, T294, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → div1_out_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)

The argument filtering Pi contains the following mapping:
div1_in_gga(x1, x2, x3)  =  div1_in_gga(x1, x2)
0  =  0
s(x1)  =  s(x1)
div1_out_gga(x1, x2, x3)  =  div1_out_gga(x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
quot46_in_ga(x1, x2)  =  quot46_in_ga(x1)
quot46_out_ga(x1, x2)  =  quot46_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U18_gga(x1, x2, x3)  =  U18_gga(x3)
quot135_in_ga(x1, x2)  =  quot135_in_ga(x1)
quot135_out_ga(x1, x2)  =  quot135_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U19_gga(x1, x2, x3)  =  U19_gga(x3)
quot253_in_ga(x1, x2)  =  quot253_in_ga(x1)
quot253_out_ga(x1, x2)  =  quot253_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
quot400_in_ga(x1, x2)  =  quot400_in_ga(x1)
quot400_out_ga(x1, x2)  =  quot400_out_ga(x2)
U4_ga(x1, x2, x3)  =  U4_ga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x3)
quot576_in_ga(x1, x2)  =  quot576_in_ga(x1)
quot576_out_ga(x1, x2)  =  quot576_out_ga(x2)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
U22_gga(x1, x2, x3)  =  U22_gga(x3)
quot781_in_ga(x1, x2)  =  quot781_in_ga(x1)
quot781_out_ga(x1, x2)  =  quot781_out_ga(x2)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
quot3_in_gaa(x1, x2, x3)  =  quot3_in_gaa(x1)
quot3_out_gaa(x1, x2, x3)  =  quot3_out_gaa(x3)
U7_gaa(x1, x2, x3)  =  U7_gaa(x3)
U8_gaa(x1, x2, x3)  =  U8_gaa(x3)
U9_gaa(x1, x2, x3)  =  U9_gaa(x3)
U10_gaa(x1, x2, x3)  =  U10_gaa(x3)
U11_gaa(x1, x2, x3)  =  U11_gaa(x3)
U12_gaa(x1, x2, x3)  =  U12_gaa(x3)
U13_gaa(x1, x2, x3)  =  U13_gaa(x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
quot1007_in_gaaa(x1, x2, x3, x4)  =  quot1007_in_gaaa(x1)
quot1007_out_gaaa(x1, x2, x3, x4)  =  quot1007_out_gaaa(x4)
U15_gaaa(x1, x2, x3, x4)  =  U15_gaaa(x4)
U16_gaaa(x1, x2, x3, x4, x5)  =  U16_gaaa(x5)
U24_gga(x1, x2, x3, x4)  =  U24_gga(x4)
quot1007_in_ggaa(x1, x2, x3, x4)  =  quot1007_in_ggaa(x1, x2)
quot1007_out_ggaa(x1, x2, x3, x4)  =  quot1007_out_ggaa(x4)
U15_ggaa(x1, x2, x3, x4)  =  U15_ggaa(x4)
U16_ggaa(x1, x2, x3, x4, x5)  =  U16_ggaa(x5)
QUOT781_IN_GA(x1, x2)  =  QUOT781_IN_GA(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:

QUOT781_IN_GA(s(s(s(s(s(s(T259)))))), s(T261)) → QUOT781_IN_GA(T259, T261)

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

QUOT781_IN_GA(s(s(s(s(s(s(T259))))))) → QUOT781_IN_GA(T259)

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:

  • QUOT781_IN_GA(s(s(s(s(s(s(T259))))))) → QUOT781_IN_GA(T259)
    The graph contains the following edges 1 > 1

(15) TRUE

(16) Obligation:

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

QUOT576_IN_GA(s(s(s(s(s(T201))))), s(T203)) → QUOT576_IN_GA(T201, T203)

The TRS R consists of the following rules:

div1_in_gga(0, s(T8), 0) → div1_out_gga(0, s(T8), 0)
div1_in_gga(s(0), s(s(T19)), 0) → div1_out_gga(s(0), s(s(T19)), 0)
div1_in_gga(s(0), s(0), s(0)) → div1_out_gga(s(0), s(0), s(0))
div1_in_gga(s(s(T29)), s(0), s(s(T31))) → U17_gga(T29, T31, quot46_in_ga(T29, T31))
quot46_in_ga(0, 0) → quot46_out_ga(0, 0)
quot46_in_ga(s(T29), s(T31)) → U1_ga(T29, T31, quot46_in_ga(T29, T31))
U1_ga(T29, T31, quot46_out_ga(T29, T31)) → quot46_out_ga(s(T29), s(T31))
U17_gga(T29, T31, quot46_out_ga(T29, T31)) → div1_out_gga(s(s(T29)), s(0), s(s(T31)))
div1_in_gga(s(s(0)), s(s(s(T47))), 0) → div1_out_gga(s(s(0)), s(s(s(T47))), 0)
div1_in_gga(s(s(0)), s(s(0)), s(0)) → div1_out_gga(s(s(0)), s(s(0)), s(0))
div1_in_gga(s(s(s(0))), s(s(0)), s(0)) → div1_out_gga(s(s(s(0))), s(s(0)), s(0))
div1_in_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_gga(T63, T65, quot135_in_ga(T63, T65))
quot135_in_ga(0, 0) → quot135_out_ga(0, 0)
quot135_in_ga(s(0), 0) → quot135_out_ga(s(0), 0)
quot135_in_ga(s(s(T63)), s(T65)) → U2_ga(T63, T65, quot135_in_ga(T63, T65))
U2_ga(T63, T65, quot135_out_ga(T63, T65)) → quot135_out_ga(s(s(T63)), s(T65))
U18_gga(T63, T65, quot135_out_ga(T63, T65)) → div1_out_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
div1_in_gga(s(s(s(0))), s(s(s(s(T81)))), 0) → div1_out_gga(s(s(s(0))), s(s(s(s(T81)))), 0)
div1_in_gga(s(s(s(0))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(0))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(0)))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_gga(T103, T105, quot253_in_ga(T103, T105))
quot253_in_ga(0, 0) → quot253_out_ga(0, 0)
quot253_in_ga(s(0), 0) → quot253_out_ga(s(0), 0)
quot253_in_ga(s(s(0)), 0) → quot253_out_ga(s(s(0)), 0)
quot253_in_ga(s(s(s(T103))), s(T105)) → U3_ga(T103, T105, quot253_in_ga(T103, T105))
U3_ga(T103, T105, quot253_out_ga(T103, T105)) → quot253_out_ga(s(s(s(T103))), s(T105))
U19_gga(T103, T105, quot253_out_ga(T103, T105)) → div1_out_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
div1_in_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
div1_in_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_gga(T149, T151, quot400_in_ga(T149, T151))
quot400_in_ga(0, 0) → quot400_out_ga(0, 0)
quot400_in_ga(s(0), 0) → quot400_out_ga(s(0), 0)
quot400_in_ga(s(s(0)), 0) → quot400_out_ga(s(s(0)), 0)
quot400_in_ga(s(s(s(0))), 0) → quot400_out_ga(s(s(s(0))), 0)
quot400_in_ga(s(s(s(s(T149)))), s(T151)) → U4_ga(T149, T151, quot400_in_ga(T149, T151))
U4_ga(T149, T151, quot400_out_ga(T149, T151)) → quot400_out_ga(s(s(s(s(T149)))), s(T151))
U20_gga(T149, T151, quot400_out_ga(T149, T151)) → div1_out_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_gga(T201, T203, quot576_in_ga(T201, T203))
quot576_in_ga(0, 0) → quot576_out_ga(0, 0)
quot576_in_ga(s(0), 0) → quot576_out_ga(s(0), 0)
quot576_in_ga(s(s(0)), 0) → quot576_out_ga(s(s(0)), 0)
quot576_in_ga(s(s(s(0))), 0) → quot576_out_ga(s(s(s(0))), 0)
quot576_in_ga(s(s(s(s(0)))), 0) → quot576_out_ga(s(s(s(s(0)))), 0)
quot576_in_ga(s(s(s(s(s(T201))))), s(T203)) → U5_ga(T201, T203, quot576_in_ga(T201, T203))
U5_ga(T201, T203, quot576_out_ga(T201, T203)) → quot576_out_ga(s(s(s(s(s(T201))))), s(T203))
U21_gga(T201, T203, quot576_out_ga(T201, T203)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_gga(T259, T261, quot781_in_ga(T259, T261))
quot781_in_ga(0, 0) → quot781_out_ga(0, 0)
quot781_in_ga(s(0), 0) → quot781_out_ga(s(0), 0)
quot781_in_ga(s(s(0)), 0) → quot781_out_ga(s(s(0)), 0)
quot781_in_ga(s(s(s(0))), 0) → quot781_out_ga(s(s(s(0))), 0)
quot781_in_ga(s(s(s(s(0)))), 0) → quot781_out_ga(s(s(s(s(0)))), 0)
quot781_in_ga(s(s(s(s(s(0))))), 0) → quot781_out_ga(s(s(s(s(s(0))))), 0)
quot781_in_ga(s(s(s(s(s(s(T259)))))), s(T261)) → U6_ga(T259, T261, quot781_in_ga(T259, T261))
U6_ga(T259, T261, quot781_out_ga(T259, T261)) → quot781_out_ga(s(s(s(s(s(s(T259)))))), s(T261))
U22_gga(T259, T261, quot781_out_ga(T259, T261)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
div1_in_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_gga(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(0, s(T8), 0) → quot3_out_gaa(0, s(T8), 0)
quot3_in_gaa(s(0), s(s(T19)), 0) → quot3_out_gaa(s(0), s(s(T19)), 0)
quot3_in_gaa(s(0), s(0), s(0)) → quot3_out_gaa(s(0), s(0), s(0))
quot3_in_gaa(s(s(T29)), s(0), s(s(T31))) → U7_gaa(T29, T31, quot46_in_ga(T29, T31))
U7_gaa(T29, T31, quot46_out_ga(T29, T31)) → quot3_out_gaa(s(s(T29)), s(0), s(s(T31)))
quot3_in_gaa(s(s(0)), s(s(s(T47))), 0) → quot3_out_gaa(s(s(0)), s(s(s(T47))), 0)
quot3_in_gaa(s(s(0)), s(s(0)), s(0)) → quot3_out_gaa(s(s(0)), s(s(0)), s(0))
quot3_in_gaa(s(s(s(0))), s(s(0)), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(0)), s(0))
quot3_in_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_gaa(T63, T65, quot135_in_ga(T63, T65))
U8_gaa(T63, T65, quot135_out_ga(T63, T65)) → quot3_out_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
quot3_in_gaa(s(s(s(0))), s(s(s(s(T81)))), 0) → quot3_out_gaa(s(s(s(0))), s(s(s(s(T81)))), 0)
quot3_in_gaa(s(s(s(0))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_gaa(T103, T105, quot253_in_ga(T103, T105))
U9_gaa(T103, T105, quot253_out_ga(T103, T105)) → quot3_out_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_gaa(T149, T151, quot400_in_ga(T149, T151))
U10_gaa(T149, T151, quot400_out_ga(T149, T151)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_gaa(T201, T203, quot576_in_ga(T201, T203))
U11_gaa(T201, T203, quot576_out_ga(T201, T203)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_gaa(T259, T261, quot781_in_ga(T259, T261))
U12_gaa(T259, T261, quot781_out_ga(T259, T261)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_gaa(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_gaa(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
quot1007_in_gaaa(0, s(T278), T279, 0) → quot1007_out_gaaa(0, s(T278), T279, 0)
quot1007_in_gaaa(T280, 0, T281, s(T283)) → U15_gaaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_gaaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_gaaa(T280, 0, T281, s(T283))
quot1007_in_gaaa(s(T293), s(T294), T286, T288) → U16_gaaa(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
U16_gaaa(T293, T294, T286, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot1007_out_gaaa(s(T293), s(T294), T286, T288)
U14_gaa(T293, T294, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)
U13_gaa(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → quot3_out_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
U23_gga(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → div1_out_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
div1_in_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_gga(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
quot1007_in_ggaa(0, s(T278), T279, 0) → quot1007_out_ggaa(0, s(T278), T279, 0)
quot1007_in_ggaa(T280, 0, T281, s(T283)) → U15_ggaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_ggaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_ggaa(T280, 0, T281, s(T283))
quot1007_in_ggaa(s(T293), s(T294), T286, T288) → U16_ggaa(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
U16_ggaa(T293, T294, T286, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → quot1007_out_ggaa(s(T293), s(T294), T286, T288)
U24_gga(T293, T294, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → div1_out_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)

The argument filtering Pi contains the following mapping:
div1_in_gga(x1, x2, x3)  =  div1_in_gga(x1, x2)
0  =  0
s(x1)  =  s(x1)
div1_out_gga(x1, x2, x3)  =  div1_out_gga(x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
quot46_in_ga(x1, x2)  =  quot46_in_ga(x1)
quot46_out_ga(x1, x2)  =  quot46_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U18_gga(x1, x2, x3)  =  U18_gga(x3)
quot135_in_ga(x1, x2)  =  quot135_in_ga(x1)
quot135_out_ga(x1, x2)  =  quot135_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U19_gga(x1, x2, x3)  =  U19_gga(x3)
quot253_in_ga(x1, x2)  =  quot253_in_ga(x1)
quot253_out_ga(x1, x2)  =  quot253_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
quot400_in_ga(x1, x2)  =  quot400_in_ga(x1)
quot400_out_ga(x1, x2)  =  quot400_out_ga(x2)
U4_ga(x1, x2, x3)  =  U4_ga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x3)
quot576_in_ga(x1, x2)  =  quot576_in_ga(x1)
quot576_out_ga(x1, x2)  =  quot576_out_ga(x2)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
U22_gga(x1, x2, x3)  =  U22_gga(x3)
quot781_in_ga(x1, x2)  =  quot781_in_ga(x1)
quot781_out_ga(x1, x2)  =  quot781_out_ga(x2)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
quot3_in_gaa(x1, x2, x3)  =  quot3_in_gaa(x1)
quot3_out_gaa(x1, x2, x3)  =  quot3_out_gaa(x3)
U7_gaa(x1, x2, x3)  =  U7_gaa(x3)
U8_gaa(x1, x2, x3)  =  U8_gaa(x3)
U9_gaa(x1, x2, x3)  =  U9_gaa(x3)
U10_gaa(x1, x2, x3)  =  U10_gaa(x3)
U11_gaa(x1, x2, x3)  =  U11_gaa(x3)
U12_gaa(x1, x2, x3)  =  U12_gaa(x3)
U13_gaa(x1, x2, x3)  =  U13_gaa(x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
quot1007_in_gaaa(x1, x2, x3, x4)  =  quot1007_in_gaaa(x1)
quot1007_out_gaaa(x1, x2, x3, x4)  =  quot1007_out_gaaa(x4)
U15_gaaa(x1, x2, x3, x4)  =  U15_gaaa(x4)
U16_gaaa(x1, x2, x3, x4, x5)  =  U16_gaaa(x5)
U24_gga(x1, x2, x3, x4)  =  U24_gga(x4)
quot1007_in_ggaa(x1, x2, x3, x4)  =  quot1007_in_ggaa(x1, x2)
quot1007_out_ggaa(x1, x2, x3, x4)  =  quot1007_out_ggaa(x4)
U15_ggaa(x1, x2, x3, x4)  =  U15_ggaa(x4)
U16_ggaa(x1, x2, x3, x4, x5)  =  U16_ggaa(x5)
QUOT576_IN_GA(x1, x2)  =  QUOT576_IN_GA(x1)

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:

QUOT576_IN_GA(s(s(s(s(s(T201))))), s(T203)) → QUOT576_IN_GA(T201, T203)

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

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:

QUOT576_IN_GA(s(s(s(s(s(T201)))))) → QUOT576_IN_GA(T201)

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

(21) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • QUOT576_IN_GA(s(s(s(s(s(T201)))))) → QUOT576_IN_GA(T201)
    The graph contains the following edges 1 > 1

(22) TRUE

(23) Obligation:

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

QUOT400_IN_GA(s(s(s(s(T149)))), s(T151)) → QUOT400_IN_GA(T149, T151)

The TRS R consists of the following rules:

div1_in_gga(0, s(T8), 0) → div1_out_gga(0, s(T8), 0)
div1_in_gga(s(0), s(s(T19)), 0) → div1_out_gga(s(0), s(s(T19)), 0)
div1_in_gga(s(0), s(0), s(0)) → div1_out_gga(s(0), s(0), s(0))
div1_in_gga(s(s(T29)), s(0), s(s(T31))) → U17_gga(T29, T31, quot46_in_ga(T29, T31))
quot46_in_ga(0, 0) → quot46_out_ga(0, 0)
quot46_in_ga(s(T29), s(T31)) → U1_ga(T29, T31, quot46_in_ga(T29, T31))
U1_ga(T29, T31, quot46_out_ga(T29, T31)) → quot46_out_ga(s(T29), s(T31))
U17_gga(T29, T31, quot46_out_ga(T29, T31)) → div1_out_gga(s(s(T29)), s(0), s(s(T31)))
div1_in_gga(s(s(0)), s(s(s(T47))), 0) → div1_out_gga(s(s(0)), s(s(s(T47))), 0)
div1_in_gga(s(s(0)), s(s(0)), s(0)) → div1_out_gga(s(s(0)), s(s(0)), s(0))
div1_in_gga(s(s(s(0))), s(s(0)), s(0)) → div1_out_gga(s(s(s(0))), s(s(0)), s(0))
div1_in_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_gga(T63, T65, quot135_in_ga(T63, T65))
quot135_in_ga(0, 0) → quot135_out_ga(0, 0)
quot135_in_ga(s(0), 0) → quot135_out_ga(s(0), 0)
quot135_in_ga(s(s(T63)), s(T65)) → U2_ga(T63, T65, quot135_in_ga(T63, T65))
U2_ga(T63, T65, quot135_out_ga(T63, T65)) → quot135_out_ga(s(s(T63)), s(T65))
U18_gga(T63, T65, quot135_out_ga(T63, T65)) → div1_out_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
div1_in_gga(s(s(s(0))), s(s(s(s(T81)))), 0) → div1_out_gga(s(s(s(0))), s(s(s(s(T81)))), 0)
div1_in_gga(s(s(s(0))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(0))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(0)))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_gga(T103, T105, quot253_in_ga(T103, T105))
quot253_in_ga(0, 0) → quot253_out_ga(0, 0)
quot253_in_ga(s(0), 0) → quot253_out_ga(s(0), 0)
quot253_in_ga(s(s(0)), 0) → quot253_out_ga(s(s(0)), 0)
quot253_in_ga(s(s(s(T103))), s(T105)) → U3_ga(T103, T105, quot253_in_ga(T103, T105))
U3_ga(T103, T105, quot253_out_ga(T103, T105)) → quot253_out_ga(s(s(s(T103))), s(T105))
U19_gga(T103, T105, quot253_out_ga(T103, T105)) → div1_out_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
div1_in_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
div1_in_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_gga(T149, T151, quot400_in_ga(T149, T151))
quot400_in_ga(0, 0) → quot400_out_ga(0, 0)
quot400_in_ga(s(0), 0) → quot400_out_ga(s(0), 0)
quot400_in_ga(s(s(0)), 0) → quot400_out_ga(s(s(0)), 0)
quot400_in_ga(s(s(s(0))), 0) → quot400_out_ga(s(s(s(0))), 0)
quot400_in_ga(s(s(s(s(T149)))), s(T151)) → U4_ga(T149, T151, quot400_in_ga(T149, T151))
U4_ga(T149, T151, quot400_out_ga(T149, T151)) → quot400_out_ga(s(s(s(s(T149)))), s(T151))
U20_gga(T149, T151, quot400_out_ga(T149, T151)) → div1_out_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_gga(T201, T203, quot576_in_ga(T201, T203))
quot576_in_ga(0, 0) → quot576_out_ga(0, 0)
quot576_in_ga(s(0), 0) → quot576_out_ga(s(0), 0)
quot576_in_ga(s(s(0)), 0) → quot576_out_ga(s(s(0)), 0)
quot576_in_ga(s(s(s(0))), 0) → quot576_out_ga(s(s(s(0))), 0)
quot576_in_ga(s(s(s(s(0)))), 0) → quot576_out_ga(s(s(s(s(0)))), 0)
quot576_in_ga(s(s(s(s(s(T201))))), s(T203)) → U5_ga(T201, T203, quot576_in_ga(T201, T203))
U5_ga(T201, T203, quot576_out_ga(T201, T203)) → quot576_out_ga(s(s(s(s(s(T201))))), s(T203))
U21_gga(T201, T203, quot576_out_ga(T201, T203)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_gga(T259, T261, quot781_in_ga(T259, T261))
quot781_in_ga(0, 0) → quot781_out_ga(0, 0)
quot781_in_ga(s(0), 0) → quot781_out_ga(s(0), 0)
quot781_in_ga(s(s(0)), 0) → quot781_out_ga(s(s(0)), 0)
quot781_in_ga(s(s(s(0))), 0) → quot781_out_ga(s(s(s(0))), 0)
quot781_in_ga(s(s(s(s(0)))), 0) → quot781_out_ga(s(s(s(s(0)))), 0)
quot781_in_ga(s(s(s(s(s(0))))), 0) → quot781_out_ga(s(s(s(s(s(0))))), 0)
quot781_in_ga(s(s(s(s(s(s(T259)))))), s(T261)) → U6_ga(T259, T261, quot781_in_ga(T259, T261))
U6_ga(T259, T261, quot781_out_ga(T259, T261)) → quot781_out_ga(s(s(s(s(s(s(T259)))))), s(T261))
U22_gga(T259, T261, quot781_out_ga(T259, T261)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
div1_in_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_gga(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(0, s(T8), 0) → quot3_out_gaa(0, s(T8), 0)
quot3_in_gaa(s(0), s(s(T19)), 0) → quot3_out_gaa(s(0), s(s(T19)), 0)
quot3_in_gaa(s(0), s(0), s(0)) → quot3_out_gaa(s(0), s(0), s(0))
quot3_in_gaa(s(s(T29)), s(0), s(s(T31))) → U7_gaa(T29, T31, quot46_in_ga(T29, T31))
U7_gaa(T29, T31, quot46_out_ga(T29, T31)) → quot3_out_gaa(s(s(T29)), s(0), s(s(T31)))
quot3_in_gaa(s(s(0)), s(s(s(T47))), 0) → quot3_out_gaa(s(s(0)), s(s(s(T47))), 0)
quot3_in_gaa(s(s(0)), s(s(0)), s(0)) → quot3_out_gaa(s(s(0)), s(s(0)), s(0))
quot3_in_gaa(s(s(s(0))), s(s(0)), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(0)), s(0))
quot3_in_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_gaa(T63, T65, quot135_in_ga(T63, T65))
U8_gaa(T63, T65, quot135_out_ga(T63, T65)) → quot3_out_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
quot3_in_gaa(s(s(s(0))), s(s(s(s(T81)))), 0) → quot3_out_gaa(s(s(s(0))), s(s(s(s(T81)))), 0)
quot3_in_gaa(s(s(s(0))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_gaa(T103, T105, quot253_in_ga(T103, T105))
U9_gaa(T103, T105, quot253_out_ga(T103, T105)) → quot3_out_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_gaa(T149, T151, quot400_in_ga(T149, T151))
U10_gaa(T149, T151, quot400_out_ga(T149, T151)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_gaa(T201, T203, quot576_in_ga(T201, T203))
U11_gaa(T201, T203, quot576_out_ga(T201, T203)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_gaa(T259, T261, quot781_in_ga(T259, T261))
U12_gaa(T259, T261, quot781_out_ga(T259, T261)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_gaa(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_gaa(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
quot1007_in_gaaa(0, s(T278), T279, 0) → quot1007_out_gaaa(0, s(T278), T279, 0)
quot1007_in_gaaa(T280, 0, T281, s(T283)) → U15_gaaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_gaaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_gaaa(T280, 0, T281, s(T283))
quot1007_in_gaaa(s(T293), s(T294), T286, T288) → U16_gaaa(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
U16_gaaa(T293, T294, T286, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot1007_out_gaaa(s(T293), s(T294), T286, T288)
U14_gaa(T293, T294, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)
U13_gaa(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → quot3_out_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
U23_gga(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → div1_out_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
div1_in_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_gga(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
quot1007_in_ggaa(0, s(T278), T279, 0) → quot1007_out_ggaa(0, s(T278), T279, 0)
quot1007_in_ggaa(T280, 0, T281, s(T283)) → U15_ggaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_ggaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_ggaa(T280, 0, T281, s(T283))
quot1007_in_ggaa(s(T293), s(T294), T286, T288) → U16_ggaa(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
U16_ggaa(T293, T294, T286, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → quot1007_out_ggaa(s(T293), s(T294), T286, T288)
U24_gga(T293, T294, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → div1_out_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)

The argument filtering Pi contains the following mapping:
div1_in_gga(x1, x2, x3)  =  div1_in_gga(x1, x2)
0  =  0
s(x1)  =  s(x1)
div1_out_gga(x1, x2, x3)  =  div1_out_gga(x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
quot46_in_ga(x1, x2)  =  quot46_in_ga(x1)
quot46_out_ga(x1, x2)  =  quot46_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U18_gga(x1, x2, x3)  =  U18_gga(x3)
quot135_in_ga(x1, x2)  =  quot135_in_ga(x1)
quot135_out_ga(x1, x2)  =  quot135_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U19_gga(x1, x2, x3)  =  U19_gga(x3)
quot253_in_ga(x1, x2)  =  quot253_in_ga(x1)
quot253_out_ga(x1, x2)  =  quot253_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
quot400_in_ga(x1, x2)  =  quot400_in_ga(x1)
quot400_out_ga(x1, x2)  =  quot400_out_ga(x2)
U4_ga(x1, x2, x3)  =  U4_ga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x3)
quot576_in_ga(x1, x2)  =  quot576_in_ga(x1)
quot576_out_ga(x1, x2)  =  quot576_out_ga(x2)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
U22_gga(x1, x2, x3)  =  U22_gga(x3)
quot781_in_ga(x1, x2)  =  quot781_in_ga(x1)
quot781_out_ga(x1, x2)  =  quot781_out_ga(x2)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
quot3_in_gaa(x1, x2, x3)  =  quot3_in_gaa(x1)
quot3_out_gaa(x1, x2, x3)  =  quot3_out_gaa(x3)
U7_gaa(x1, x2, x3)  =  U7_gaa(x3)
U8_gaa(x1, x2, x3)  =  U8_gaa(x3)
U9_gaa(x1, x2, x3)  =  U9_gaa(x3)
U10_gaa(x1, x2, x3)  =  U10_gaa(x3)
U11_gaa(x1, x2, x3)  =  U11_gaa(x3)
U12_gaa(x1, x2, x3)  =  U12_gaa(x3)
U13_gaa(x1, x2, x3)  =  U13_gaa(x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
quot1007_in_gaaa(x1, x2, x3, x4)  =  quot1007_in_gaaa(x1)
quot1007_out_gaaa(x1, x2, x3, x4)  =  quot1007_out_gaaa(x4)
U15_gaaa(x1, x2, x3, x4)  =  U15_gaaa(x4)
U16_gaaa(x1, x2, x3, x4, x5)  =  U16_gaaa(x5)
U24_gga(x1, x2, x3, x4)  =  U24_gga(x4)
quot1007_in_ggaa(x1, x2, x3, x4)  =  quot1007_in_ggaa(x1, x2)
quot1007_out_ggaa(x1, x2, x3, x4)  =  quot1007_out_ggaa(x4)
U15_ggaa(x1, x2, x3, x4)  =  U15_ggaa(x4)
U16_ggaa(x1, x2, x3, x4, x5)  =  U16_ggaa(x5)
QUOT400_IN_GA(x1, x2)  =  QUOT400_IN_GA(x1)

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:

QUOT400_IN_GA(s(s(s(s(T149)))), s(T151)) → QUOT400_IN_GA(T149, T151)

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

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:

QUOT400_IN_GA(s(s(s(s(T149))))) → QUOT400_IN_GA(T149)

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:

  • QUOT400_IN_GA(s(s(s(s(T149))))) → QUOT400_IN_GA(T149)
    The graph contains the following edges 1 > 1

(29) TRUE

(30) Obligation:

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

QUOT253_IN_GA(s(s(s(T103))), s(T105)) → QUOT253_IN_GA(T103, T105)

The TRS R consists of the following rules:

div1_in_gga(0, s(T8), 0) → div1_out_gga(0, s(T8), 0)
div1_in_gga(s(0), s(s(T19)), 0) → div1_out_gga(s(0), s(s(T19)), 0)
div1_in_gga(s(0), s(0), s(0)) → div1_out_gga(s(0), s(0), s(0))
div1_in_gga(s(s(T29)), s(0), s(s(T31))) → U17_gga(T29, T31, quot46_in_ga(T29, T31))
quot46_in_ga(0, 0) → quot46_out_ga(0, 0)
quot46_in_ga(s(T29), s(T31)) → U1_ga(T29, T31, quot46_in_ga(T29, T31))
U1_ga(T29, T31, quot46_out_ga(T29, T31)) → quot46_out_ga(s(T29), s(T31))
U17_gga(T29, T31, quot46_out_ga(T29, T31)) → div1_out_gga(s(s(T29)), s(0), s(s(T31)))
div1_in_gga(s(s(0)), s(s(s(T47))), 0) → div1_out_gga(s(s(0)), s(s(s(T47))), 0)
div1_in_gga(s(s(0)), s(s(0)), s(0)) → div1_out_gga(s(s(0)), s(s(0)), s(0))
div1_in_gga(s(s(s(0))), s(s(0)), s(0)) → div1_out_gga(s(s(s(0))), s(s(0)), s(0))
div1_in_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_gga(T63, T65, quot135_in_ga(T63, T65))
quot135_in_ga(0, 0) → quot135_out_ga(0, 0)
quot135_in_ga(s(0), 0) → quot135_out_ga(s(0), 0)
quot135_in_ga(s(s(T63)), s(T65)) → U2_ga(T63, T65, quot135_in_ga(T63, T65))
U2_ga(T63, T65, quot135_out_ga(T63, T65)) → quot135_out_ga(s(s(T63)), s(T65))
U18_gga(T63, T65, quot135_out_ga(T63, T65)) → div1_out_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
div1_in_gga(s(s(s(0))), s(s(s(s(T81)))), 0) → div1_out_gga(s(s(s(0))), s(s(s(s(T81)))), 0)
div1_in_gga(s(s(s(0))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(0))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(0)))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_gga(T103, T105, quot253_in_ga(T103, T105))
quot253_in_ga(0, 0) → quot253_out_ga(0, 0)
quot253_in_ga(s(0), 0) → quot253_out_ga(s(0), 0)
quot253_in_ga(s(s(0)), 0) → quot253_out_ga(s(s(0)), 0)
quot253_in_ga(s(s(s(T103))), s(T105)) → U3_ga(T103, T105, quot253_in_ga(T103, T105))
U3_ga(T103, T105, quot253_out_ga(T103, T105)) → quot253_out_ga(s(s(s(T103))), s(T105))
U19_gga(T103, T105, quot253_out_ga(T103, T105)) → div1_out_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
div1_in_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
div1_in_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_gga(T149, T151, quot400_in_ga(T149, T151))
quot400_in_ga(0, 0) → quot400_out_ga(0, 0)
quot400_in_ga(s(0), 0) → quot400_out_ga(s(0), 0)
quot400_in_ga(s(s(0)), 0) → quot400_out_ga(s(s(0)), 0)
quot400_in_ga(s(s(s(0))), 0) → quot400_out_ga(s(s(s(0))), 0)
quot400_in_ga(s(s(s(s(T149)))), s(T151)) → U4_ga(T149, T151, quot400_in_ga(T149, T151))
U4_ga(T149, T151, quot400_out_ga(T149, T151)) → quot400_out_ga(s(s(s(s(T149)))), s(T151))
U20_gga(T149, T151, quot400_out_ga(T149, T151)) → div1_out_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_gga(T201, T203, quot576_in_ga(T201, T203))
quot576_in_ga(0, 0) → quot576_out_ga(0, 0)
quot576_in_ga(s(0), 0) → quot576_out_ga(s(0), 0)
quot576_in_ga(s(s(0)), 0) → quot576_out_ga(s(s(0)), 0)
quot576_in_ga(s(s(s(0))), 0) → quot576_out_ga(s(s(s(0))), 0)
quot576_in_ga(s(s(s(s(0)))), 0) → quot576_out_ga(s(s(s(s(0)))), 0)
quot576_in_ga(s(s(s(s(s(T201))))), s(T203)) → U5_ga(T201, T203, quot576_in_ga(T201, T203))
U5_ga(T201, T203, quot576_out_ga(T201, T203)) → quot576_out_ga(s(s(s(s(s(T201))))), s(T203))
U21_gga(T201, T203, quot576_out_ga(T201, T203)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_gga(T259, T261, quot781_in_ga(T259, T261))
quot781_in_ga(0, 0) → quot781_out_ga(0, 0)
quot781_in_ga(s(0), 0) → quot781_out_ga(s(0), 0)
quot781_in_ga(s(s(0)), 0) → quot781_out_ga(s(s(0)), 0)
quot781_in_ga(s(s(s(0))), 0) → quot781_out_ga(s(s(s(0))), 0)
quot781_in_ga(s(s(s(s(0)))), 0) → quot781_out_ga(s(s(s(s(0)))), 0)
quot781_in_ga(s(s(s(s(s(0))))), 0) → quot781_out_ga(s(s(s(s(s(0))))), 0)
quot781_in_ga(s(s(s(s(s(s(T259)))))), s(T261)) → U6_ga(T259, T261, quot781_in_ga(T259, T261))
U6_ga(T259, T261, quot781_out_ga(T259, T261)) → quot781_out_ga(s(s(s(s(s(s(T259)))))), s(T261))
U22_gga(T259, T261, quot781_out_ga(T259, T261)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
div1_in_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_gga(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(0, s(T8), 0) → quot3_out_gaa(0, s(T8), 0)
quot3_in_gaa(s(0), s(s(T19)), 0) → quot3_out_gaa(s(0), s(s(T19)), 0)
quot3_in_gaa(s(0), s(0), s(0)) → quot3_out_gaa(s(0), s(0), s(0))
quot3_in_gaa(s(s(T29)), s(0), s(s(T31))) → U7_gaa(T29, T31, quot46_in_ga(T29, T31))
U7_gaa(T29, T31, quot46_out_ga(T29, T31)) → quot3_out_gaa(s(s(T29)), s(0), s(s(T31)))
quot3_in_gaa(s(s(0)), s(s(s(T47))), 0) → quot3_out_gaa(s(s(0)), s(s(s(T47))), 0)
quot3_in_gaa(s(s(0)), s(s(0)), s(0)) → quot3_out_gaa(s(s(0)), s(s(0)), s(0))
quot3_in_gaa(s(s(s(0))), s(s(0)), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(0)), s(0))
quot3_in_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_gaa(T63, T65, quot135_in_ga(T63, T65))
U8_gaa(T63, T65, quot135_out_ga(T63, T65)) → quot3_out_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
quot3_in_gaa(s(s(s(0))), s(s(s(s(T81)))), 0) → quot3_out_gaa(s(s(s(0))), s(s(s(s(T81)))), 0)
quot3_in_gaa(s(s(s(0))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_gaa(T103, T105, quot253_in_ga(T103, T105))
U9_gaa(T103, T105, quot253_out_ga(T103, T105)) → quot3_out_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_gaa(T149, T151, quot400_in_ga(T149, T151))
U10_gaa(T149, T151, quot400_out_ga(T149, T151)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_gaa(T201, T203, quot576_in_ga(T201, T203))
U11_gaa(T201, T203, quot576_out_ga(T201, T203)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_gaa(T259, T261, quot781_in_ga(T259, T261))
U12_gaa(T259, T261, quot781_out_ga(T259, T261)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_gaa(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_gaa(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
quot1007_in_gaaa(0, s(T278), T279, 0) → quot1007_out_gaaa(0, s(T278), T279, 0)
quot1007_in_gaaa(T280, 0, T281, s(T283)) → U15_gaaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_gaaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_gaaa(T280, 0, T281, s(T283))
quot1007_in_gaaa(s(T293), s(T294), T286, T288) → U16_gaaa(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
U16_gaaa(T293, T294, T286, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot1007_out_gaaa(s(T293), s(T294), T286, T288)
U14_gaa(T293, T294, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)
U13_gaa(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → quot3_out_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
U23_gga(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → div1_out_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
div1_in_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_gga(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
quot1007_in_ggaa(0, s(T278), T279, 0) → quot1007_out_ggaa(0, s(T278), T279, 0)
quot1007_in_ggaa(T280, 0, T281, s(T283)) → U15_ggaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_ggaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_ggaa(T280, 0, T281, s(T283))
quot1007_in_ggaa(s(T293), s(T294), T286, T288) → U16_ggaa(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
U16_ggaa(T293, T294, T286, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → quot1007_out_ggaa(s(T293), s(T294), T286, T288)
U24_gga(T293, T294, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → div1_out_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)

The argument filtering Pi contains the following mapping:
div1_in_gga(x1, x2, x3)  =  div1_in_gga(x1, x2)
0  =  0
s(x1)  =  s(x1)
div1_out_gga(x1, x2, x3)  =  div1_out_gga(x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
quot46_in_ga(x1, x2)  =  quot46_in_ga(x1)
quot46_out_ga(x1, x2)  =  quot46_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U18_gga(x1, x2, x3)  =  U18_gga(x3)
quot135_in_ga(x1, x2)  =  quot135_in_ga(x1)
quot135_out_ga(x1, x2)  =  quot135_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U19_gga(x1, x2, x3)  =  U19_gga(x3)
quot253_in_ga(x1, x2)  =  quot253_in_ga(x1)
quot253_out_ga(x1, x2)  =  quot253_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
quot400_in_ga(x1, x2)  =  quot400_in_ga(x1)
quot400_out_ga(x1, x2)  =  quot400_out_ga(x2)
U4_ga(x1, x2, x3)  =  U4_ga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x3)
quot576_in_ga(x1, x2)  =  quot576_in_ga(x1)
quot576_out_ga(x1, x2)  =  quot576_out_ga(x2)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
U22_gga(x1, x2, x3)  =  U22_gga(x3)
quot781_in_ga(x1, x2)  =  quot781_in_ga(x1)
quot781_out_ga(x1, x2)  =  quot781_out_ga(x2)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
quot3_in_gaa(x1, x2, x3)  =  quot3_in_gaa(x1)
quot3_out_gaa(x1, x2, x3)  =  quot3_out_gaa(x3)
U7_gaa(x1, x2, x3)  =  U7_gaa(x3)
U8_gaa(x1, x2, x3)  =  U8_gaa(x3)
U9_gaa(x1, x2, x3)  =  U9_gaa(x3)
U10_gaa(x1, x2, x3)  =  U10_gaa(x3)
U11_gaa(x1, x2, x3)  =  U11_gaa(x3)
U12_gaa(x1, x2, x3)  =  U12_gaa(x3)
U13_gaa(x1, x2, x3)  =  U13_gaa(x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
quot1007_in_gaaa(x1, x2, x3, x4)  =  quot1007_in_gaaa(x1)
quot1007_out_gaaa(x1, x2, x3, x4)  =  quot1007_out_gaaa(x4)
U15_gaaa(x1, x2, x3, x4)  =  U15_gaaa(x4)
U16_gaaa(x1, x2, x3, x4, x5)  =  U16_gaaa(x5)
U24_gga(x1, x2, x3, x4)  =  U24_gga(x4)
quot1007_in_ggaa(x1, x2, x3, x4)  =  quot1007_in_ggaa(x1, x2)
quot1007_out_ggaa(x1, x2, x3, x4)  =  quot1007_out_ggaa(x4)
U15_ggaa(x1, x2, x3, x4)  =  U15_ggaa(x4)
U16_ggaa(x1, x2, x3, x4, x5)  =  U16_ggaa(x5)
QUOT253_IN_GA(x1, x2)  =  QUOT253_IN_GA(x1)

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

(31) UsableRulesProof (EQUIVALENT transformation)

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

(32) Obligation:

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

QUOT253_IN_GA(s(s(s(T103))), s(T105)) → QUOT253_IN_GA(T103, T105)

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

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

(33) PiDPToQDPProof (SOUND transformation)

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

(34) Obligation:

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

QUOT253_IN_GA(s(s(s(T103)))) → QUOT253_IN_GA(T103)

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:

  • QUOT253_IN_GA(s(s(s(T103)))) → QUOT253_IN_GA(T103)
    The graph contains the following edges 1 > 1

(36) TRUE

(37) Obligation:

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

QUOT135_IN_GA(s(s(T63)), s(T65)) → QUOT135_IN_GA(T63, T65)

The TRS R consists of the following rules:

div1_in_gga(0, s(T8), 0) → div1_out_gga(0, s(T8), 0)
div1_in_gga(s(0), s(s(T19)), 0) → div1_out_gga(s(0), s(s(T19)), 0)
div1_in_gga(s(0), s(0), s(0)) → div1_out_gga(s(0), s(0), s(0))
div1_in_gga(s(s(T29)), s(0), s(s(T31))) → U17_gga(T29, T31, quot46_in_ga(T29, T31))
quot46_in_ga(0, 0) → quot46_out_ga(0, 0)
quot46_in_ga(s(T29), s(T31)) → U1_ga(T29, T31, quot46_in_ga(T29, T31))
U1_ga(T29, T31, quot46_out_ga(T29, T31)) → quot46_out_ga(s(T29), s(T31))
U17_gga(T29, T31, quot46_out_ga(T29, T31)) → div1_out_gga(s(s(T29)), s(0), s(s(T31)))
div1_in_gga(s(s(0)), s(s(s(T47))), 0) → div1_out_gga(s(s(0)), s(s(s(T47))), 0)
div1_in_gga(s(s(0)), s(s(0)), s(0)) → div1_out_gga(s(s(0)), s(s(0)), s(0))
div1_in_gga(s(s(s(0))), s(s(0)), s(0)) → div1_out_gga(s(s(s(0))), s(s(0)), s(0))
div1_in_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_gga(T63, T65, quot135_in_ga(T63, T65))
quot135_in_ga(0, 0) → quot135_out_ga(0, 0)
quot135_in_ga(s(0), 0) → quot135_out_ga(s(0), 0)
quot135_in_ga(s(s(T63)), s(T65)) → U2_ga(T63, T65, quot135_in_ga(T63, T65))
U2_ga(T63, T65, quot135_out_ga(T63, T65)) → quot135_out_ga(s(s(T63)), s(T65))
U18_gga(T63, T65, quot135_out_ga(T63, T65)) → div1_out_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
div1_in_gga(s(s(s(0))), s(s(s(s(T81)))), 0) → div1_out_gga(s(s(s(0))), s(s(s(s(T81)))), 0)
div1_in_gga(s(s(s(0))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(0))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(0)))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_gga(T103, T105, quot253_in_ga(T103, T105))
quot253_in_ga(0, 0) → quot253_out_ga(0, 0)
quot253_in_ga(s(0), 0) → quot253_out_ga(s(0), 0)
quot253_in_ga(s(s(0)), 0) → quot253_out_ga(s(s(0)), 0)
quot253_in_ga(s(s(s(T103))), s(T105)) → U3_ga(T103, T105, quot253_in_ga(T103, T105))
U3_ga(T103, T105, quot253_out_ga(T103, T105)) → quot253_out_ga(s(s(s(T103))), s(T105))
U19_gga(T103, T105, quot253_out_ga(T103, T105)) → div1_out_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
div1_in_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
div1_in_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_gga(T149, T151, quot400_in_ga(T149, T151))
quot400_in_ga(0, 0) → quot400_out_ga(0, 0)
quot400_in_ga(s(0), 0) → quot400_out_ga(s(0), 0)
quot400_in_ga(s(s(0)), 0) → quot400_out_ga(s(s(0)), 0)
quot400_in_ga(s(s(s(0))), 0) → quot400_out_ga(s(s(s(0))), 0)
quot400_in_ga(s(s(s(s(T149)))), s(T151)) → U4_ga(T149, T151, quot400_in_ga(T149, T151))
U4_ga(T149, T151, quot400_out_ga(T149, T151)) → quot400_out_ga(s(s(s(s(T149)))), s(T151))
U20_gga(T149, T151, quot400_out_ga(T149, T151)) → div1_out_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_gga(T201, T203, quot576_in_ga(T201, T203))
quot576_in_ga(0, 0) → quot576_out_ga(0, 0)
quot576_in_ga(s(0), 0) → quot576_out_ga(s(0), 0)
quot576_in_ga(s(s(0)), 0) → quot576_out_ga(s(s(0)), 0)
quot576_in_ga(s(s(s(0))), 0) → quot576_out_ga(s(s(s(0))), 0)
quot576_in_ga(s(s(s(s(0)))), 0) → quot576_out_ga(s(s(s(s(0)))), 0)
quot576_in_ga(s(s(s(s(s(T201))))), s(T203)) → U5_ga(T201, T203, quot576_in_ga(T201, T203))
U5_ga(T201, T203, quot576_out_ga(T201, T203)) → quot576_out_ga(s(s(s(s(s(T201))))), s(T203))
U21_gga(T201, T203, quot576_out_ga(T201, T203)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_gga(T259, T261, quot781_in_ga(T259, T261))
quot781_in_ga(0, 0) → quot781_out_ga(0, 0)
quot781_in_ga(s(0), 0) → quot781_out_ga(s(0), 0)
quot781_in_ga(s(s(0)), 0) → quot781_out_ga(s(s(0)), 0)
quot781_in_ga(s(s(s(0))), 0) → quot781_out_ga(s(s(s(0))), 0)
quot781_in_ga(s(s(s(s(0)))), 0) → quot781_out_ga(s(s(s(s(0)))), 0)
quot781_in_ga(s(s(s(s(s(0))))), 0) → quot781_out_ga(s(s(s(s(s(0))))), 0)
quot781_in_ga(s(s(s(s(s(s(T259)))))), s(T261)) → U6_ga(T259, T261, quot781_in_ga(T259, T261))
U6_ga(T259, T261, quot781_out_ga(T259, T261)) → quot781_out_ga(s(s(s(s(s(s(T259)))))), s(T261))
U22_gga(T259, T261, quot781_out_ga(T259, T261)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
div1_in_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_gga(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(0, s(T8), 0) → quot3_out_gaa(0, s(T8), 0)
quot3_in_gaa(s(0), s(s(T19)), 0) → quot3_out_gaa(s(0), s(s(T19)), 0)
quot3_in_gaa(s(0), s(0), s(0)) → quot3_out_gaa(s(0), s(0), s(0))
quot3_in_gaa(s(s(T29)), s(0), s(s(T31))) → U7_gaa(T29, T31, quot46_in_ga(T29, T31))
U7_gaa(T29, T31, quot46_out_ga(T29, T31)) → quot3_out_gaa(s(s(T29)), s(0), s(s(T31)))
quot3_in_gaa(s(s(0)), s(s(s(T47))), 0) → quot3_out_gaa(s(s(0)), s(s(s(T47))), 0)
quot3_in_gaa(s(s(0)), s(s(0)), s(0)) → quot3_out_gaa(s(s(0)), s(s(0)), s(0))
quot3_in_gaa(s(s(s(0))), s(s(0)), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(0)), s(0))
quot3_in_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_gaa(T63, T65, quot135_in_ga(T63, T65))
U8_gaa(T63, T65, quot135_out_ga(T63, T65)) → quot3_out_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
quot3_in_gaa(s(s(s(0))), s(s(s(s(T81)))), 0) → quot3_out_gaa(s(s(s(0))), s(s(s(s(T81)))), 0)
quot3_in_gaa(s(s(s(0))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_gaa(T103, T105, quot253_in_ga(T103, T105))
U9_gaa(T103, T105, quot253_out_ga(T103, T105)) → quot3_out_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_gaa(T149, T151, quot400_in_ga(T149, T151))
U10_gaa(T149, T151, quot400_out_ga(T149, T151)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_gaa(T201, T203, quot576_in_ga(T201, T203))
U11_gaa(T201, T203, quot576_out_ga(T201, T203)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_gaa(T259, T261, quot781_in_ga(T259, T261))
U12_gaa(T259, T261, quot781_out_ga(T259, T261)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_gaa(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_gaa(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
quot1007_in_gaaa(0, s(T278), T279, 0) → quot1007_out_gaaa(0, s(T278), T279, 0)
quot1007_in_gaaa(T280, 0, T281, s(T283)) → U15_gaaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_gaaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_gaaa(T280, 0, T281, s(T283))
quot1007_in_gaaa(s(T293), s(T294), T286, T288) → U16_gaaa(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
U16_gaaa(T293, T294, T286, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot1007_out_gaaa(s(T293), s(T294), T286, T288)
U14_gaa(T293, T294, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)
U13_gaa(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → quot3_out_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
U23_gga(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → div1_out_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
div1_in_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_gga(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
quot1007_in_ggaa(0, s(T278), T279, 0) → quot1007_out_ggaa(0, s(T278), T279, 0)
quot1007_in_ggaa(T280, 0, T281, s(T283)) → U15_ggaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_ggaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_ggaa(T280, 0, T281, s(T283))
quot1007_in_ggaa(s(T293), s(T294), T286, T288) → U16_ggaa(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
U16_ggaa(T293, T294, T286, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → quot1007_out_ggaa(s(T293), s(T294), T286, T288)
U24_gga(T293, T294, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → div1_out_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)

The argument filtering Pi contains the following mapping:
div1_in_gga(x1, x2, x3)  =  div1_in_gga(x1, x2)
0  =  0
s(x1)  =  s(x1)
div1_out_gga(x1, x2, x3)  =  div1_out_gga(x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
quot46_in_ga(x1, x2)  =  quot46_in_ga(x1)
quot46_out_ga(x1, x2)  =  quot46_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U18_gga(x1, x2, x3)  =  U18_gga(x3)
quot135_in_ga(x1, x2)  =  quot135_in_ga(x1)
quot135_out_ga(x1, x2)  =  quot135_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U19_gga(x1, x2, x3)  =  U19_gga(x3)
quot253_in_ga(x1, x2)  =  quot253_in_ga(x1)
quot253_out_ga(x1, x2)  =  quot253_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
quot400_in_ga(x1, x2)  =  quot400_in_ga(x1)
quot400_out_ga(x1, x2)  =  quot400_out_ga(x2)
U4_ga(x1, x2, x3)  =  U4_ga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x3)
quot576_in_ga(x1, x2)  =  quot576_in_ga(x1)
quot576_out_ga(x1, x2)  =  quot576_out_ga(x2)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
U22_gga(x1, x2, x3)  =  U22_gga(x3)
quot781_in_ga(x1, x2)  =  quot781_in_ga(x1)
quot781_out_ga(x1, x2)  =  quot781_out_ga(x2)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
quot3_in_gaa(x1, x2, x3)  =  quot3_in_gaa(x1)
quot3_out_gaa(x1, x2, x3)  =  quot3_out_gaa(x3)
U7_gaa(x1, x2, x3)  =  U7_gaa(x3)
U8_gaa(x1, x2, x3)  =  U8_gaa(x3)
U9_gaa(x1, x2, x3)  =  U9_gaa(x3)
U10_gaa(x1, x2, x3)  =  U10_gaa(x3)
U11_gaa(x1, x2, x3)  =  U11_gaa(x3)
U12_gaa(x1, x2, x3)  =  U12_gaa(x3)
U13_gaa(x1, x2, x3)  =  U13_gaa(x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
quot1007_in_gaaa(x1, x2, x3, x4)  =  quot1007_in_gaaa(x1)
quot1007_out_gaaa(x1, x2, x3, x4)  =  quot1007_out_gaaa(x4)
U15_gaaa(x1, x2, x3, x4)  =  U15_gaaa(x4)
U16_gaaa(x1, x2, x3, x4, x5)  =  U16_gaaa(x5)
U24_gga(x1, x2, x3, x4)  =  U24_gga(x4)
quot1007_in_ggaa(x1, x2, x3, x4)  =  quot1007_in_ggaa(x1, x2)
quot1007_out_ggaa(x1, x2, x3, x4)  =  quot1007_out_ggaa(x4)
U15_ggaa(x1, x2, x3, x4)  =  U15_ggaa(x4)
U16_ggaa(x1, x2, x3, x4, x5)  =  U16_ggaa(x5)
QUOT135_IN_GA(x1, x2)  =  QUOT135_IN_GA(x1)

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:

QUOT135_IN_GA(s(s(T63)), s(T65)) → QUOT135_IN_GA(T63, T65)

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

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:

QUOT135_IN_GA(s(s(T63))) → QUOT135_IN_GA(T63)

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

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

  • QUOT135_IN_GA(s(s(T63))) → QUOT135_IN_GA(T63)
    The graph contains the following edges 1 > 1

(43) TRUE

(44) Obligation:

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

QUOT46_IN_GA(s(T29), s(T31)) → QUOT46_IN_GA(T29, T31)

The TRS R consists of the following rules:

div1_in_gga(0, s(T8), 0) → div1_out_gga(0, s(T8), 0)
div1_in_gga(s(0), s(s(T19)), 0) → div1_out_gga(s(0), s(s(T19)), 0)
div1_in_gga(s(0), s(0), s(0)) → div1_out_gga(s(0), s(0), s(0))
div1_in_gga(s(s(T29)), s(0), s(s(T31))) → U17_gga(T29, T31, quot46_in_ga(T29, T31))
quot46_in_ga(0, 0) → quot46_out_ga(0, 0)
quot46_in_ga(s(T29), s(T31)) → U1_ga(T29, T31, quot46_in_ga(T29, T31))
U1_ga(T29, T31, quot46_out_ga(T29, T31)) → quot46_out_ga(s(T29), s(T31))
U17_gga(T29, T31, quot46_out_ga(T29, T31)) → div1_out_gga(s(s(T29)), s(0), s(s(T31)))
div1_in_gga(s(s(0)), s(s(s(T47))), 0) → div1_out_gga(s(s(0)), s(s(s(T47))), 0)
div1_in_gga(s(s(0)), s(s(0)), s(0)) → div1_out_gga(s(s(0)), s(s(0)), s(0))
div1_in_gga(s(s(s(0))), s(s(0)), s(0)) → div1_out_gga(s(s(s(0))), s(s(0)), s(0))
div1_in_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_gga(T63, T65, quot135_in_ga(T63, T65))
quot135_in_ga(0, 0) → quot135_out_ga(0, 0)
quot135_in_ga(s(0), 0) → quot135_out_ga(s(0), 0)
quot135_in_ga(s(s(T63)), s(T65)) → U2_ga(T63, T65, quot135_in_ga(T63, T65))
U2_ga(T63, T65, quot135_out_ga(T63, T65)) → quot135_out_ga(s(s(T63)), s(T65))
U18_gga(T63, T65, quot135_out_ga(T63, T65)) → div1_out_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
div1_in_gga(s(s(s(0))), s(s(s(s(T81)))), 0) → div1_out_gga(s(s(s(0))), s(s(s(s(T81)))), 0)
div1_in_gga(s(s(s(0))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(0))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(0)))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_gga(T103, T105, quot253_in_ga(T103, T105))
quot253_in_ga(0, 0) → quot253_out_ga(0, 0)
quot253_in_ga(s(0), 0) → quot253_out_ga(s(0), 0)
quot253_in_ga(s(s(0)), 0) → quot253_out_ga(s(s(0)), 0)
quot253_in_ga(s(s(s(T103))), s(T105)) → U3_ga(T103, T105, quot253_in_ga(T103, T105))
U3_ga(T103, T105, quot253_out_ga(T103, T105)) → quot253_out_ga(s(s(s(T103))), s(T105))
U19_gga(T103, T105, quot253_out_ga(T103, T105)) → div1_out_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
div1_in_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
div1_in_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_gga(T149, T151, quot400_in_ga(T149, T151))
quot400_in_ga(0, 0) → quot400_out_ga(0, 0)
quot400_in_ga(s(0), 0) → quot400_out_ga(s(0), 0)
quot400_in_ga(s(s(0)), 0) → quot400_out_ga(s(s(0)), 0)
quot400_in_ga(s(s(s(0))), 0) → quot400_out_ga(s(s(s(0))), 0)
quot400_in_ga(s(s(s(s(T149)))), s(T151)) → U4_ga(T149, T151, quot400_in_ga(T149, T151))
U4_ga(T149, T151, quot400_out_ga(T149, T151)) → quot400_out_ga(s(s(s(s(T149)))), s(T151))
U20_gga(T149, T151, quot400_out_ga(T149, T151)) → div1_out_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_gga(T201, T203, quot576_in_ga(T201, T203))
quot576_in_ga(0, 0) → quot576_out_ga(0, 0)
quot576_in_ga(s(0), 0) → quot576_out_ga(s(0), 0)
quot576_in_ga(s(s(0)), 0) → quot576_out_ga(s(s(0)), 0)
quot576_in_ga(s(s(s(0))), 0) → quot576_out_ga(s(s(s(0))), 0)
quot576_in_ga(s(s(s(s(0)))), 0) → quot576_out_ga(s(s(s(s(0)))), 0)
quot576_in_ga(s(s(s(s(s(T201))))), s(T203)) → U5_ga(T201, T203, quot576_in_ga(T201, T203))
U5_ga(T201, T203, quot576_out_ga(T201, T203)) → quot576_out_ga(s(s(s(s(s(T201))))), s(T203))
U21_gga(T201, T203, quot576_out_ga(T201, T203)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_gga(T259, T261, quot781_in_ga(T259, T261))
quot781_in_ga(0, 0) → quot781_out_ga(0, 0)
quot781_in_ga(s(0), 0) → quot781_out_ga(s(0), 0)
quot781_in_ga(s(s(0)), 0) → quot781_out_ga(s(s(0)), 0)
quot781_in_ga(s(s(s(0))), 0) → quot781_out_ga(s(s(s(0))), 0)
quot781_in_ga(s(s(s(s(0)))), 0) → quot781_out_ga(s(s(s(s(0)))), 0)
quot781_in_ga(s(s(s(s(s(0))))), 0) → quot781_out_ga(s(s(s(s(s(0))))), 0)
quot781_in_ga(s(s(s(s(s(s(T259)))))), s(T261)) → U6_ga(T259, T261, quot781_in_ga(T259, T261))
U6_ga(T259, T261, quot781_out_ga(T259, T261)) → quot781_out_ga(s(s(s(s(s(s(T259)))))), s(T261))
U22_gga(T259, T261, quot781_out_ga(T259, T261)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
div1_in_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_gga(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(0, s(T8), 0) → quot3_out_gaa(0, s(T8), 0)
quot3_in_gaa(s(0), s(s(T19)), 0) → quot3_out_gaa(s(0), s(s(T19)), 0)
quot3_in_gaa(s(0), s(0), s(0)) → quot3_out_gaa(s(0), s(0), s(0))
quot3_in_gaa(s(s(T29)), s(0), s(s(T31))) → U7_gaa(T29, T31, quot46_in_ga(T29, T31))
U7_gaa(T29, T31, quot46_out_ga(T29, T31)) → quot3_out_gaa(s(s(T29)), s(0), s(s(T31)))
quot3_in_gaa(s(s(0)), s(s(s(T47))), 0) → quot3_out_gaa(s(s(0)), s(s(s(T47))), 0)
quot3_in_gaa(s(s(0)), s(s(0)), s(0)) → quot3_out_gaa(s(s(0)), s(s(0)), s(0))
quot3_in_gaa(s(s(s(0))), s(s(0)), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(0)), s(0))
quot3_in_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_gaa(T63, T65, quot135_in_ga(T63, T65))
U8_gaa(T63, T65, quot135_out_ga(T63, T65)) → quot3_out_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
quot3_in_gaa(s(s(s(0))), s(s(s(s(T81)))), 0) → quot3_out_gaa(s(s(s(0))), s(s(s(s(T81)))), 0)
quot3_in_gaa(s(s(s(0))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_gaa(T103, T105, quot253_in_ga(T103, T105))
U9_gaa(T103, T105, quot253_out_ga(T103, T105)) → quot3_out_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_gaa(T149, T151, quot400_in_ga(T149, T151))
U10_gaa(T149, T151, quot400_out_ga(T149, T151)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_gaa(T201, T203, quot576_in_ga(T201, T203))
U11_gaa(T201, T203, quot576_out_ga(T201, T203)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_gaa(T259, T261, quot781_in_ga(T259, T261))
U12_gaa(T259, T261, quot781_out_ga(T259, T261)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_gaa(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_gaa(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
quot1007_in_gaaa(0, s(T278), T279, 0) → quot1007_out_gaaa(0, s(T278), T279, 0)
quot1007_in_gaaa(T280, 0, T281, s(T283)) → U15_gaaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_gaaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_gaaa(T280, 0, T281, s(T283))
quot1007_in_gaaa(s(T293), s(T294), T286, T288) → U16_gaaa(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
U16_gaaa(T293, T294, T286, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot1007_out_gaaa(s(T293), s(T294), T286, T288)
U14_gaa(T293, T294, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)
U13_gaa(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → quot3_out_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
U23_gga(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → div1_out_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
div1_in_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_gga(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
quot1007_in_ggaa(0, s(T278), T279, 0) → quot1007_out_ggaa(0, s(T278), T279, 0)
quot1007_in_ggaa(T280, 0, T281, s(T283)) → U15_ggaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_ggaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_ggaa(T280, 0, T281, s(T283))
quot1007_in_ggaa(s(T293), s(T294), T286, T288) → U16_ggaa(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
U16_ggaa(T293, T294, T286, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → quot1007_out_ggaa(s(T293), s(T294), T286, T288)
U24_gga(T293, T294, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → div1_out_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)

The argument filtering Pi contains the following mapping:
div1_in_gga(x1, x2, x3)  =  div1_in_gga(x1, x2)
0  =  0
s(x1)  =  s(x1)
div1_out_gga(x1, x2, x3)  =  div1_out_gga(x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
quot46_in_ga(x1, x2)  =  quot46_in_ga(x1)
quot46_out_ga(x1, x2)  =  quot46_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U18_gga(x1, x2, x3)  =  U18_gga(x3)
quot135_in_ga(x1, x2)  =  quot135_in_ga(x1)
quot135_out_ga(x1, x2)  =  quot135_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U19_gga(x1, x2, x3)  =  U19_gga(x3)
quot253_in_ga(x1, x2)  =  quot253_in_ga(x1)
quot253_out_ga(x1, x2)  =  quot253_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
quot400_in_ga(x1, x2)  =  quot400_in_ga(x1)
quot400_out_ga(x1, x2)  =  quot400_out_ga(x2)
U4_ga(x1, x2, x3)  =  U4_ga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x3)
quot576_in_ga(x1, x2)  =  quot576_in_ga(x1)
quot576_out_ga(x1, x2)  =  quot576_out_ga(x2)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
U22_gga(x1, x2, x3)  =  U22_gga(x3)
quot781_in_ga(x1, x2)  =  quot781_in_ga(x1)
quot781_out_ga(x1, x2)  =  quot781_out_ga(x2)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
quot3_in_gaa(x1, x2, x3)  =  quot3_in_gaa(x1)
quot3_out_gaa(x1, x2, x3)  =  quot3_out_gaa(x3)
U7_gaa(x1, x2, x3)  =  U7_gaa(x3)
U8_gaa(x1, x2, x3)  =  U8_gaa(x3)
U9_gaa(x1, x2, x3)  =  U9_gaa(x3)
U10_gaa(x1, x2, x3)  =  U10_gaa(x3)
U11_gaa(x1, x2, x3)  =  U11_gaa(x3)
U12_gaa(x1, x2, x3)  =  U12_gaa(x3)
U13_gaa(x1, x2, x3)  =  U13_gaa(x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
quot1007_in_gaaa(x1, x2, x3, x4)  =  quot1007_in_gaaa(x1)
quot1007_out_gaaa(x1, x2, x3, x4)  =  quot1007_out_gaaa(x4)
U15_gaaa(x1, x2, x3, x4)  =  U15_gaaa(x4)
U16_gaaa(x1, x2, x3, x4, x5)  =  U16_gaaa(x5)
U24_gga(x1, x2, x3, x4)  =  U24_gga(x4)
quot1007_in_ggaa(x1, x2, x3, x4)  =  quot1007_in_ggaa(x1, x2)
quot1007_out_ggaa(x1, x2, x3, x4)  =  quot1007_out_ggaa(x4)
U15_ggaa(x1, x2, x3, x4)  =  U15_ggaa(x4)
U16_ggaa(x1, x2, x3, x4, x5)  =  U16_ggaa(x5)
QUOT46_IN_GA(x1, x2)  =  QUOT46_IN_GA(x1)

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

(45) UsableRulesProof (EQUIVALENT transformation)

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

(46) Obligation:

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

QUOT46_IN_GA(s(T29), s(T31)) → QUOT46_IN_GA(T29, T31)

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

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

(47) PiDPToQDPProof (SOUND transformation)

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

(48) Obligation:

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

QUOT46_IN_GA(s(T29)) → QUOT46_IN_GA(T29)

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:

  • QUOT46_IN_GA(s(T29)) → QUOT46_IN_GA(T29)
    The graph contains the following edges 1 > 1

(50) TRUE

(51) Obligation:

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

QUOT3_IN_GAA(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → QUOT1007_IN_GAAA(T293, T294, T286, T288)
QUOT1007_IN_GAAA(T280, 0, T281, s(T283)) → QUOT3_IN_GAA(T280, s(T281), T283)
QUOT3_IN_GAA(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → QUOT3_IN_GAA(T280, s(T281), T283)
QUOT1007_IN_GAAA(s(T293), s(T294), T286, T288) → QUOT1007_IN_GAAA(T293, T294, T286, T288)

The TRS R consists of the following rules:

div1_in_gga(0, s(T8), 0) → div1_out_gga(0, s(T8), 0)
div1_in_gga(s(0), s(s(T19)), 0) → div1_out_gga(s(0), s(s(T19)), 0)
div1_in_gga(s(0), s(0), s(0)) → div1_out_gga(s(0), s(0), s(0))
div1_in_gga(s(s(T29)), s(0), s(s(T31))) → U17_gga(T29, T31, quot46_in_ga(T29, T31))
quot46_in_ga(0, 0) → quot46_out_ga(0, 0)
quot46_in_ga(s(T29), s(T31)) → U1_ga(T29, T31, quot46_in_ga(T29, T31))
U1_ga(T29, T31, quot46_out_ga(T29, T31)) → quot46_out_ga(s(T29), s(T31))
U17_gga(T29, T31, quot46_out_ga(T29, T31)) → div1_out_gga(s(s(T29)), s(0), s(s(T31)))
div1_in_gga(s(s(0)), s(s(s(T47))), 0) → div1_out_gga(s(s(0)), s(s(s(T47))), 0)
div1_in_gga(s(s(0)), s(s(0)), s(0)) → div1_out_gga(s(s(0)), s(s(0)), s(0))
div1_in_gga(s(s(s(0))), s(s(0)), s(0)) → div1_out_gga(s(s(s(0))), s(s(0)), s(0))
div1_in_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_gga(T63, T65, quot135_in_ga(T63, T65))
quot135_in_ga(0, 0) → quot135_out_ga(0, 0)
quot135_in_ga(s(0), 0) → quot135_out_ga(s(0), 0)
quot135_in_ga(s(s(T63)), s(T65)) → U2_ga(T63, T65, quot135_in_ga(T63, T65))
U2_ga(T63, T65, quot135_out_ga(T63, T65)) → quot135_out_ga(s(s(T63)), s(T65))
U18_gga(T63, T65, quot135_out_ga(T63, T65)) → div1_out_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
div1_in_gga(s(s(s(0))), s(s(s(s(T81)))), 0) → div1_out_gga(s(s(s(0))), s(s(s(s(T81)))), 0)
div1_in_gga(s(s(s(0))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(0))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(0)))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_gga(T103, T105, quot253_in_ga(T103, T105))
quot253_in_ga(0, 0) → quot253_out_ga(0, 0)
quot253_in_ga(s(0), 0) → quot253_out_ga(s(0), 0)
quot253_in_ga(s(s(0)), 0) → quot253_out_ga(s(s(0)), 0)
quot253_in_ga(s(s(s(T103))), s(T105)) → U3_ga(T103, T105, quot253_in_ga(T103, T105))
U3_ga(T103, T105, quot253_out_ga(T103, T105)) → quot253_out_ga(s(s(s(T103))), s(T105))
U19_gga(T103, T105, quot253_out_ga(T103, T105)) → div1_out_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
div1_in_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
div1_in_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_gga(T149, T151, quot400_in_ga(T149, T151))
quot400_in_ga(0, 0) → quot400_out_ga(0, 0)
quot400_in_ga(s(0), 0) → quot400_out_ga(s(0), 0)
quot400_in_ga(s(s(0)), 0) → quot400_out_ga(s(s(0)), 0)
quot400_in_ga(s(s(s(0))), 0) → quot400_out_ga(s(s(s(0))), 0)
quot400_in_ga(s(s(s(s(T149)))), s(T151)) → U4_ga(T149, T151, quot400_in_ga(T149, T151))
U4_ga(T149, T151, quot400_out_ga(T149, T151)) → quot400_out_ga(s(s(s(s(T149)))), s(T151))
U20_gga(T149, T151, quot400_out_ga(T149, T151)) → div1_out_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_gga(T201, T203, quot576_in_ga(T201, T203))
quot576_in_ga(0, 0) → quot576_out_ga(0, 0)
quot576_in_ga(s(0), 0) → quot576_out_ga(s(0), 0)
quot576_in_ga(s(s(0)), 0) → quot576_out_ga(s(s(0)), 0)
quot576_in_ga(s(s(s(0))), 0) → quot576_out_ga(s(s(s(0))), 0)
quot576_in_ga(s(s(s(s(0)))), 0) → quot576_out_ga(s(s(s(s(0)))), 0)
quot576_in_ga(s(s(s(s(s(T201))))), s(T203)) → U5_ga(T201, T203, quot576_in_ga(T201, T203))
U5_ga(T201, T203, quot576_out_ga(T201, T203)) → quot576_out_ga(s(s(s(s(s(T201))))), s(T203))
U21_gga(T201, T203, quot576_out_ga(T201, T203)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_gga(T259, T261, quot781_in_ga(T259, T261))
quot781_in_ga(0, 0) → quot781_out_ga(0, 0)
quot781_in_ga(s(0), 0) → quot781_out_ga(s(0), 0)
quot781_in_ga(s(s(0)), 0) → quot781_out_ga(s(s(0)), 0)
quot781_in_ga(s(s(s(0))), 0) → quot781_out_ga(s(s(s(0))), 0)
quot781_in_ga(s(s(s(s(0)))), 0) → quot781_out_ga(s(s(s(s(0)))), 0)
quot781_in_ga(s(s(s(s(s(0))))), 0) → quot781_out_ga(s(s(s(s(s(0))))), 0)
quot781_in_ga(s(s(s(s(s(s(T259)))))), s(T261)) → U6_ga(T259, T261, quot781_in_ga(T259, T261))
U6_ga(T259, T261, quot781_out_ga(T259, T261)) → quot781_out_ga(s(s(s(s(s(s(T259)))))), s(T261))
U22_gga(T259, T261, quot781_out_ga(T259, T261)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
div1_in_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_gga(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(0, s(T8), 0) → quot3_out_gaa(0, s(T8), 0)
quot3_in_gaa(s(0), s(s(T19)), 0) → quot3_out_gaa(s(0), s(s(T19)), 0)
quot3_in_gaa(s(0), s(0), s(0)) → quot3_out_gaa(s(0), s(0), s(0))
quot3_in_gaa(s(s(T29)), s(0), s(s(T31))) → U7_gaa(T29, T31, quot46_in_ga(T29, T31))
U7_gaa(T29, T31, quot46_out_ga(T29, T31)) → quot3_out_gaa(s(s(T29)), s(0), s(s(T31)))
quot3_in_gaa(s(s(0)), s(s(s(T47))), 0) → quot3_out_gaa(s(s(0)), s(s(s(T47))), 0)
quot3_in_gaa(s(s(0)), s(s(0)), s(0)) → quot3_out_gaa(s(s(0)), s(s(0)), s(0))
quot3_in_gaa(s(s(s(0))), s(s(0)), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(0)), s(0))
quot3_in_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_gaa(T63, T65, quot135_in_ga(T63, T65))
U8_gaa(T63, T65, quot135_out_ga(T63, T65)) → quot3_out_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
quot3_in_gaa(s(s(s(0))), s(s(s(s(T81)))), 0) → quot3_out_gaa(s(s(s(0))), s(s(s(s(T81)))), 0)
quot3_in_gaa(s(s(s(0))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_gaa(T103, T105, quot253_in_ga(T103, T105))
U9_gaa(T103, T105, quot253_out_ga(T103, T105)) → quot3_out_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_gaa(T149, T151, quot400_in_ga(T149, T151))
U10_gaa(T149, T151, quot400_out_ga(T149, T151)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_gaa(T201, T203, quot576_in_ga(T201, T203))
U11_gaa(T201, T203, quot576_out_ga(T201, T203)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_gaa(T259, T261, quot781_in_ga(T259, T261))
U12_gaa(T259, T261, quot781_out_ga(T259, T261)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_gaa(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_gaa(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
quot1007_in_gaaa(0, s(T278), T279, 0) → quot1007_out_gaaa(0, s(T278), T279, 0)
quot1007_in_gaaa(T280, 0, T281, s(T283)) → U15_gaaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_gaaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_gaaa(T280, 0, T281, s(T283))
quot1007_in_gaaa(s(T293), s(T294), T286, T288) → U16_gaaa(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
U16_gaaa(T293, T294, T286, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot1007_out_gaaa(s(T293), s(T294), T286, T288)
U14_gaa(T293, T294, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)
U13_gaa(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → quot3_out_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
U23_gga(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → div1_out_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
div1_in_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_gga(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
quot1007_in_ggaa(0, s(T278), T279, 0) → quot1007_out_ggaa(0, s(T278), T279, 0)
quot1007_in_ggaa(T280, 0, T281, s(T283)) → U15_ggaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_ggaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_ggaa(T280, 0, T281, s(T283))
quot1007_in_ggaa(s(T293), s(T294), T286, T288) → U16_ggaa(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
U16_ggaa(T293, T294, T286, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → quot1007_out_ggaa(s(T293), s(T294), T286, T288)
U24_gga(T293, T294, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → div1_out_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)

The argument filtering Pi contains the following mapping:
div1_in_gga(x1, x2, x3)  =  div1_in_gga(x1, x2)
0  =  0
s(x1)  =  s(x1)
div1_out_gga(x1, x2, x3)  =  div1_out_gga(x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
quot46_in_ga(x1, x2)  =  quot46_in_ga(x1)
quot46_out_ga(x1, x2)  =  quot46_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U18_gga(x1, x2, x3)  =  U18_gga(x3)
quot135_in_ga(x1, x2)  =  quot135_in_ga(x1)
quot135_out_ga(x1, x2)  =  quot135_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U19_gga(x1, x2, x3)  =  U19_gga(x3)
quot253_in_ga(x1, x2)  =  quot253_in_ga(x1)
quot253_out_ga(x1, x2)  =  quot253_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
quot400_in_ga(x1, x2)  =  quot400_in_ga(x1)
quot400_out_ga(x1, x2)  =  quot400_out_ga(x2)
U4_ga(x1, x2, x3)  =  U4_ga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x3)
quot576_in_ga(x1, x2)  =  quot576_in_ga(x1)
quot576_out_ga(x1, x2)  =  quot576_out_ga(x2)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
U22_gga(x1, x2, x3)  =  U22_gga(x3)
quot781_in_ga(x1, x2)  =  quot781_in_ga(x1)
quot781_out_ga(x1, x2)  =  quot781_out_ga(x2)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
quot3_in_gaa(x1, x2, x3)  =  quot3_in_gaa(x1)
quot3_out_gaa(x1, x2, x3)  =  quot3_out_gaa(x3)
U7_gaa(x1, x2, x3)  =  U7_gaa(x3)
U8_gaa(x1, x2, x3)  =  U8_gaa(x3)
U9_gaa(x1, x2, x3)  =  U9_gaa(x3)
U10_gaa(x1, x2, x3)  =  U10_gaa(x3)
U11_gaa(x1, x2, x3)  =  U11_gaa(x3)
U12_gaa(x1, x2, x3)  =  U12_gaa(x3)
U13_gaa(x1, x2, x3)  =  U13_gaa(x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
quot1007_in_gaaa(x1, x2, x3, x4)  =  quot1007_in_gaaa(x1)
quot1007_out_gaaa(x1, x2, x3, x4)  =  quot1007_out_gaaa(x4)
U15_gaaa(x1, x2, x3, x4)  =  U15_gaaa(x4)
U16_gaaa(x1, x2, x3, x4, x5)  =  U16_gaaa(x5)
U24_gga(x1, x2, x3, x4)  =  U24_gga(x4)
quot1007_in_ggaa(x1, x2, x3, x4)  =  quot1007_in_ggaa(x1, x2)
quot1007_out_ggaa(x1, x2, x3, x4)  =  quot1007_out_ggaa(x4)
U15_ggaa(x1, x2, x3, x4)  =  U15_ggaa(x4)
U16_ggaa(x1, x2, x3, x4, x5)  =  U16_ggaa(x5)
QUOT3_IN_GAA(x1, x2, x3)  =  QUOT3_IN_GAA(x1)
QUOT1007_IN_GAAA(x1, x2, x3, x4)  =  QUOT1007_IN_GAAA(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:

QUOT3_IN_GAA(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → QUOT1007_IN_GAAA(T293, T294, T286, T288)
QUOT1007_IN_GAAA(T280, 0, T281, s(T283)) → QUOT3_IN_GAA(T280, s(T281), T283)
QUOT3_IN_GAA(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → QUOT3_IN_GAA(T280, s(T281), T283)
QUOT1007_IN_GAAA(s(T293), s(T294), T286, T288) → QUOT1007_IN_GAAA(T293, T294, T286, T288)

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

QUOT3_IN_GAA(s(s(s(s(s(s(s(s(T293))))))))) → QUOT1007_IN_GAAA(T293)
QUOT1007_IN_GAAA(T280) → QUOT3_IN_GAA(T280)
QUOT3_IN_GAA(s(s(s(s(s(s(s(T280)))))))) → QUOT3_IN_GAA(T280)
QUOT1007_IN_GAAA(s(T293)) → QUOT1007_IN_GAAA(T293)

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:

  • QUOT1007_IN_GAAA(T280) → QUOT3_IN_GAA(T280)
    The graph contains the following edges 1 >= 1

  • QUOT1007_IN_GAAA(s(T293)) → QUOT1007_IN_GAAA(T293)
    The graph contains the following edges 1 > 1

  • QUOT3_IN_GAA(s(s(s(s(s(s(s(T280)))))))) → QUOT3_IN_GAA(T280)
    The graph contains the following edges 1 > 1

  • QUOT3_IN_GAA(s(s(s(s(s(s(s(s(T293))))))))) → QUOT1007_IN_GAAA(T293)
    The graph contains the following edges 1 > 1

(57) TRUE

(58) Obligation:

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

QUOT1007_IN_GGAA(s(T293), s(T294), T286, T288) → QUOT1007_IN_GGAA(T293, T294, T286, T288)

The TRS R consists of the following rules:

div1_in_gga(0, s(T8), 0) → div1_out_gga(0, s(T8), 0)
div1_in_gga(s(0), s(s(T19)), 0) → div1_out_gga(s(0), s(s(T19)), 0)
div1_in_gga(s(0), s(0), s(0)) → div1_out_gga(s(0), s(0), s(0))
div1_in_gga(s(s(T29)), s(0), s(s(T31))) → U17_gga(T29, T31, quot46_in_ga(T29, T31))
quot46_in_ga(0, 0) → quot46_out_ga(0, 0)
quot46_in_ga(s(T29), s(T31)) → U1_ga(T29, T31, quot46_in_ga(T29, T31))
U1_ga(T29, T31, quot46_out_ga(T29, T31)) → quot46_out_ga(s(T29), s(T31))
U17_gga(T29, T31, quot46_out_ga(T29, T31)) → div1_out_gga(s(s(T29)), s(0), s(s(T31)))
div1_in_gga(s(s(0)), s(s(s(T47))), 0) → div1_out_gga(s(s(0)), s(s(s(T47))), 0)
div1_in_gga(s(s(0)), s(s(0)), s(0)) → div1_out_gga(s(s(0)), s(s(0)), s(0))
div1_in_gga(s(s(s(0))), s(s(0)), s(0)) → div1_out_gga(s(s(s(0))), s(s(0)), s(0))
div1_in_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U18_gga(T63, T65, quot135_in_ga(T63, T65))
quot135_in_ga(0, 0) → quot135_out_ga(0, 0)
quot135_in_ga(s(0), 0) → quot135_out_ga(s(0), 0)
quot135_in_ga(s(s(T63)), s(T65)) → U2_ga(T63, T65, quot135_in_ga(T63, T65))
U2_ga(T63, T65, quot135_out_ga(T63, T65)) → quot135_out_ga(s(s(T63)), s(T65))
U18_gga(T63, T65, quot135_out_ga(T63, T65)) → div1_out_gga(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
div1_in_gga(s(s(s(0))), s(s(s(s(T81)))), 0) → div1_out_gga(s(s(s(0))), s(s(s(s(T81)))), 0)
div1_in_gga(s(s(s(0))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(0))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(0)))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(0))), s(0))
div1_in_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U19_gga(T103, T105, quot253_in_ga(T103, T105))
quot253_in_ga(0, 0) → quot253_out_ga(0, 0)
quot253_in_ga(s(0), 0) → quot253_out_ga(s(0), 0)
quot253_in_ga(s(s(0)), 0) → quot253_out_ga(s(s(0)), 0)
quot253_in_ga(s(s(s(T103))), s(T105)) → U3_ga(T103, T105, quot253_in_ga(T103, T105))
U3_ga(T103, T105, quot253_out_ga(T103, T105)) → quot253_out_ga(s(s(s(T103))), s(T105))
U19_gga(T103, T105, quot253_out_ga(T103, T105)) → div1_out_gga(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
div1_in_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
div1_in_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U20_gga(T149, T151, quot400_in_ga(T149, T151))
quot400_in_ga(0, 0) → quot400_out_ga(0, 0)
quot400_in_ga(s(0), 0) → quot400_out_ga(s(0), 0)
quot400_in_ga(s(s(0)), 0) → quot400_out_ga(s(s(0)), 0)
quot400_in_ga(s(s(s(0))), 0) → quot400_out_ga(s(s(s(0))), 0)
quot400_in_ga(s(s(s(s(T149)))), s(T151)) → U4_ga(T149, T151, quot400_in_ga(T149, T151))
U4_ga(T149, T151, quot400_out_ga(T149, T151)) → quot400_out_ga(s(s(s(s(T149)))), s(T151))
U20_gga(T149, T151, quot400_out_ga(T149, T151)) → div1_out_gga(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
div1_in_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U21_gga(T201, T203, quot576_in_ga(T201, T203))
quot576_in_ga(0, 0) → quot576_out_ga(0, 0)
quot576_in_ga(s(0), 0) → quot576_out_ga(s(0), 0)
quot576_in_ga(s(s(0)), 0) → quot576_out_ga(s(s(0)), 0)
quot576_in_ga(s(s(s(0))), 0) → quot576_out_ga(s(s(s(0))), 0)
quot576_in_ga(s(s(s(s(0)))), 0) → quot576_out_ga(s(s(s(s(0)))), 0)
quot576_in_ga(s(s(s(s(s(T201))))), s(T203)) → U5_ga(T201, T203, quot576_in_ga(T201, T203))
U5_ga(T201, T203, quot576_out_ga(T201, T203)) → quot576_out_ga(s(s(s(s(s(T201))))), s(T203))
U21_gga(T201, T203, quot576_out_ga(T201, T203)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
div1_in_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
div1_in_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U22_gga(T259, T261, quot781_in_ga(T259, T261))
quot781_in_ga(0, 0) → quot781_out_ga(0, 0)
quot781_in_ga(s(0), 0) → quot781_out_ga(s(0), 0)
quot781_in_ga(s(s(0)), 0) → quot781_out_ga(s(s(0)), 0)
quot781_in_ga(s(s(s(0))), 0) → quot781_out_ga(s(s(s(0))), 0)
quot781_in_ga(s(s(s(s(0)))), 0) → quot781_out_ga(s(s(s(s(0)))), 0)
quot781_in_ga(s(s(s(s(s(0))))), 0) → quot781_out_ga(s(s(s(s(s(0))))), 0)
quot781_in_ga(s(s(s(s(s(s(T259)))))), s(T261)) → U6_ga(T259, T261, quot781_in_ga(T259, T261))
U6_ga(T259, T261, quot781_out_ga(T259, T261)) → quot781_out_ga(s(s(s(s(s(s(T259)))))), s(T261))
U22_gga(T259, T261, quot781_out_ga(T259, T261)) → div1_out_gga(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
div1_in_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → div1_out_gga(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
div1_in_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U23_gga(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(0, s(T8), 0) → quot3_out_gaa(0, s(T8), 0)
quot3_in_gaa(s(0), s(s(T19)), 0) → quot3_out_gaa(s(0), s(s(T19)), 0)
quot3_in_gaa(s(0), s(0), s(0)) → quot3_out_gaa(s(0), s(0), s(0))
quot3_in_gaa(s(s(T29)), s(0), s(s(T31))) → U7_gaa(T29, T31, quot46_in_ga(T29, T31))
U7_gaa(T29, T31, quot46_out_ga(T29, T31)) → quot3_out_gaa(s(s(T29)), s(0), s(s(T31)))
quot3_in_gaa(s(s(0)), s(s(s(T47))), 0) → quot3_out_gaa(s(s(0)), s(s(s(T47))), 0)
quot3_in_gaa(s(s(0)), s(s(0)), s(0)) → quot3_out_gaa(s(s(0)), s(s(0)), s(0))
quot3_in_gaa(s(s(s(0))), s(s(0)), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(0)), s(0))
quot3_in_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65))) → U8_gaa(T63, T65, quot135_in_ga(T63, T65))
U8_gaa(T63, T65, quot135_out_ga(T63, T65)) → quot3_out_gaa(s(s(s(s(T63)))), s(s(0)), s(s(T65)))
quot3_in_gaa(s(s(s(0))), s(s(s(s(T81)))), 0) → quot3_out_gaa(s(s(s(0))), s(s(s(s(T81)))), 0)
quot3_in_gaa(s(s(s(0))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(0))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(0))), s(0))
quot3_in_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105))) → U9_gaa(T103, T105, quot253_in_ga(T103, T105))
U9_gaa(T103, T105, quot253_out_ga(T103, T105)) → quot3_out_gaa(s(s(s(s(s(s(T103)))))), s(s(s(0))), s(s(T105)))
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(s(T121))))), 0)
quot3_in_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(0)))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(0)))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151))) → U10_gaa(T149, T151, quot400_in_ga(T149, T151))
U10_gaa(T149, T151, quot400_out_ga(T149, T151)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T149)))))))), s(s(s(s(0)))), s(s(T151)))
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(s(T167)))))), 0)
quot3_in_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(0))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(0))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203))) → U11_gaa(T201, T203, quot576_in_ga(T201, T203))
U11_gaa(T201, T203, quot576_out_ga(T201, T203)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(T201)))))))))), s(s(s(s(s(0))))), s(s(T203)))
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(s(T219))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(0)))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(0)))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(0))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(0)))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), s(s(s(s(s(s(0)))))), s(0))
quot3_in_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261))) → U12_gaa(T259, T261, quot781_in_ga(T259, T261))
U12_gaa(T259, T261, quot781_out_ga(T259, T261)) → quot3_out_gaa(s(s(s(s(s(s(s(s(s(s(s(s(T259)))))))))))), s(s(s(s(s(s(0)))))), s(s(T261)))
quot3_in_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0) → quot3_out_gaa(s(s(s(s(s(s(s(0))))))), s(s(s(s(s(s(s(s(T278)))))))), 0)
quot3_in_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283)) → U13_gaa(T280, T283, quot3_in_gaa(T280, s(T281), T283))
quot3_in_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U14_gaa(T293, T294, T288, quot1007_in_gaaa(T293, T294, T286, T288))
quot1007_in_gaaa(0, s(T278), T279, 0) → quot1007_out_gaaa(0, s(T278), T279, 0)
quot1007_in_gaaa(T280, 0, T281, s(T283)) → U15_gaaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_gaaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_gaaa(T280, 0, T281, s(T283))
quot1007_in_gaaa(s(T293), s(T294), T286, T288) → U16_gaaa(T293, T294, T286, T288, quot1007_in_gaaa(T293, T294, T286, T288))
U16_gaaa(T293, T294, T286, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot1007_out_gaaa(s(T293), s(T294), T286, T288)
U14_gaa(T293, T294, T288, quot1007_out_gaaa(T293, T294, T286, T288)) → quot3_out_gaa(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)
U13_gaa(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → quot3_out_gaa(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
U23_gga(T280, T283, quot3_out_gaa(T280, s(T281), T283)) → div1_out_gga(s(s(s(s(s(s(s(T280))))))), s(s(s(s(s(s(s(0))))))), s(T283))
div1_in_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288) → U24_gga(T293, T294, T288, quot1007_in_ggaa(T293, T294, T286, T288))
quot1007_in_ggaa(0, s(T278), T279, 0) → quot1007_out_ggaa(0, s(T278), T279, 0)
quot1007_in_ggaa(T280, 0, T281, s(T283)) → U15_ggaa(T280, T281, T283, quot3_in_gaa(T280, s(T281), T283))
U15_ggaa(T280, T281, T283, quot3_out_gaa(T280, s(T281), T283)) → quot1007_out_ggaa(T280, 0, T281, s(T283))
quot1007_in_ggaa(s(T293), s(T294), T286, T288) → U16_ggaa(T293, T294, T286, T288, quot1007_in_ggaa(T293, T294, T286, T288))
U16_ggaa(T293, T294, T286, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → quot1007_out_ggaa(s(T293), s(T294), T286, T288)
U24_gga(T293, T294, T288, quot1007_out_ggaa(T293, T294, T286, T288)) → div1_out_gga(s(s(s(s(s(s(s(s(T293)))))))), s(s(s(s(s(s(s(s(T294)))))))), T288)

The argument filtering Pi contains the following mapping:
div1_in_gga(x1, x2, x3)  =  div1_in_gga(x1, x2)
0  =  0
s(x1)  =  s(x1)
div1_out_gga(x1, x2, x3)  =  div1_out_gga(x3)
U17_gga(x1, x2, x3)  =  U17_gga(x3)
quot46_in_ga(x1, x2)  =  quot46_in_ga(x1)
quot46_out_ga(x1, x2)  =  quot46_out_ga(x2)
U1_ga(x1, x2, x3)  =  U1_ga(x3)
U18_gga(x1, x2, x3)  =  U18_gga(x3)
quot135_in_ga(x1, x2)  =  quot135_in_ga(x1)
quot135_out_ga(x1, x2)  =  quot135_out_ga(x2)
U2_ga(x1, x2, x3)  =  U2_ga(x3)
U19_gga(x1, x2, x3)  =  U19_gga(x3)
quot253_in_ga(x1, x2)  =  quot253_in_ga(x1)
quot253_out_ga(x1, x2)  =  quot253_out_ga(x2)
U3_ga(x1, x2, x3)  =  U3_ga(x3)
U20_gga(x1, x2, x3)  =  U20_gga(x3)
quot400_in_ga(x1, x2)  =  quot400_in_ga(x1)
quot400_out_ga(x1, x2)  =  quot400_out_ga(x2)
U4_ga(x1, x2, x3)  =  U4_ga(x3)
U21_gga(x1, x2, x3)  =  U21_gga(x3)
quot576_in_ga(x1, x2)  =  quot576_in_ga(x1)
quot576_out_ga(x1, x2)  =  quot576_out_ga(x2)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
U22_gga(x1, x2, x3)  =  U22_gga(x3)
quot781_in_ga(x1, x2)  =  quot781_in_ga(x1)
quot781_out_ga(x1, x2)  =  quot781_out_ga(x2)
U6_ga(x1, x2, x3)  =  U6_ga(x3)
U23_gga(x1, x2, x3)  =  U23_gga(x3)
quot3_in_gaa(x1, x2, x3)  =  quot3_in_gaa(x1)
quot3_out_gaa(x1, x2, x3)  =  quot3_out_gaa(x3)
U7_gaa(x1, x2, x3)  =  U7_gaa(x3)
U8_gaa(x1, x2, x3)  =  U8_gaa(x3)
U9_gaa(x1, x2, x3)  =  U9_gaa(x3)
U10_gaa(x1, x2, x3)  =  U10_gaa(x3)
U11_gaa(x1, x2, x3)  =  U11_gaa(x3)
U12_gaa(x1, x2, x3)  =  U12_gaa(x3)
U13_gaa(x1, x2, x3)  =  U13_gaa(x3)
U14_gaa(x1, x2, x3, x4)  =  U14_gaa(x4)
quot1007_in_gaaa(x1, x2, x3, x4)  =  quot1007_in_gaaa(x1)
quot1007_out_gaaa(x1, x2, x3, x4)  =  quot1007_out_gaaa(x4)
U15_gaaa(x1, x2, x3, x4)  =  U15_gaaa(x4)
U16_gaaa(x1, x2, x3, x4, x5)  =  U16_gaaa(x5)
U24_gga(x1, x2, x3, x4)  =  U24_gga(x4)
quot1007_in_ggaa(x1, x2, x3, x4)  =  quot1007_in_ggaa(x1, x2)
quot1007_out_ggaa(x1, x2, x3, x4)  =  quot1007_out_ggaa(x4)
U15_ggaa(x1, x2, x3, x4)  =  U15_ggaa(x4)
U16_ggaa(x1, x2, x3, x4, x5)  =  U16_ggaa(x5)
QUOT1007_IN_GGAA(x1, x2, x3, x4)  =  QUOT1007_IN_GGAA(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:

QUOT1007_IN_GGAA(s(T293), s(T294), T286, T288) → QUOT1007_IN_GGAA(T293, T294, T286, T288)

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

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

(61) PiDPToQDPProof (SOUND 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:

QUOT1007_IN_GGAA(s(T293), s(T294)) → QUOT1007_IN_GGAA(T293, T294)

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:

  • QUOT1007_IN_GGAA(s(T293), s(T294)) → QUOT1007_IN_GGAA(T293, T294)
    The graph contains the following edges 1 > 1, 2 > 2

(64) TRUE