0 Prolog
↳1 PredefinedPredicateTransformerProof (⇐)
↳2 Prolog
↳3 CutEliminatorProof (⇐)
↳4 Prolog
↳5 PrologToPiTRSProof (⇐)
↳6 PiTRS
↳7 DependencyPairsProof (⇔)
↳8 PiDP
↳9 DependencyGraphProof (⇔)
↳10 AND
↳11 PiDP
↳12 UsableRulesProof (⇔)
↳13 PiDP
↳14 PiDPToQDPProof (⇐)
↳15 QDP
↳16 QDPOrderProof (⇔)
↳17 QDP
↳18 DependencyGraphProof (⇔)
↳19 TRUE
↳20 PiDP
↳21 UsableRulesProof (⇔)
↳22 PiDP
↳23 PiDPToQDPProof (⇐)
↳24 QDP
↳25 Narrowing (⇐)
↳26 QDP
↳27 Rewriting (⇔)
↳28 QDP
↳29 Narrowing (⇐)
↳30 QDP
↳31 Rewriting (⇔)
↳32 QDP
↳33 Rewriting (⇔)
↳34 QDP
↳35 Rewriting (⇔)
↳36 QDP
↳37 Narrowing (⇐)
↳38 QDP
↳39 Rewriting (⇔)
↳40 QDP
↳41 Rewriting (⇔)
↳42 QDP
↳43 Rewriting (⇔)
↳44 QDP
↳45 QDPOrderProof (⇔)
↳46 QDP
↳47 UsableRulesProof (⇔)
↳48 QDP
↳49 QReductionProof (⇔)
↳50 QDP
↳51 Instantiation (⇔)
↳52 QDP
↳53 Instantiation (⇔)
↳54 QDP
↳55 NonTerminationProof (⇔)
↳56 FALSE
↳57 PrologToPiTRSProof (⇐)
↳58 PiTRS
↳59 DependencyPairsProof (⇔)
↳60 PiDP
↳61 DependencyGraphProof (⇔)
↳62 AND
↳63 PiDP
↳64 UsableRulesProof (⇔)
↳65 PiDP
↳66 PiDPToQDPProof (⇐)
↳67 QDP
↳68 UsableRulesReductionPairsProof (⇔)
↳69 QDP
↳70 DependencyGraphProof (⇔)
↳71 TRUE
↳72 PiDP
↳73 UsableRulesProof (⇔)
↳74 PiDP
↳75 PiDPToQDPProof (⇐)
↳76 QDP
↳77 Narrowing (⇐)
↳78 QDP
↳79 Rewriting (⇔)
↳80 QDP
↳81 Narrowing (⇐)
↳82 QDP
↳83 Rewriting (⇔)
↳84 QDP
↳85 Rewriting (⇔)
↳86 QDP
↳87 Rewriting (⇔)
↳88 QDP
↳89 Narrowing (⇐)
↳90 QDP
↳91 Rewriting (⇔)
↳92 QDP
↳93 Rewriting (⇔)
↳94 QDP
↳95 Rewriting (⇔)
↳96 QDP
↳97 QDPOrderProof (⇔)
↳98 QDP
↳99 UsableRulesProof (⇔)
↳100 QDP
↳101 QReductionProof (⇔)
↳102 QDP
↳103 Instantiation (⇔)
↳104 QDP
↳105 Instantiation (⇔)
↳106 QDP
↳107 NonTerminationProof (⇔)
↳108 FALSE
div_in_gga(X, Y, Z) → U8_gga(X, Y, Z, =1_in_gg(Y, 0))
=1_in_gg(X, X) → =1_out_gg(X, X)
U8_gga(X, Y, Z, =1_out_gg(Y, 0)) → U9_gga(X, Y, Z, fail_in_)
fail_in_ → U15_(fail_in_g(b))
fail_in_g(a) → fail_out_g(a)
U15_(fail_out_g(b)) → fail_out_
U9_gga(X, Y, Z, fail_out_) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U10_gga(X, Y, Z, =1_in_gg(X, 0))
U10_gga(X, Y, Z, =1_out_gg(X, 0)) → U11_gga(X, Y, Z, =1_in_ag(Z, 0))
=1_in_ag(X, X) → =1_out_ag(X, X)
U11_gga(X, Y, Z, =1_out_ag(Z, 0)) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U12_gga(X, Y, Z, minus_in_gga(X, Y, U))
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
=1_in_ga(X, X) → =1_out_ga(X, X)
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
U12_gga(X, Y, Z, minus_out_gga(X, Y, U)) → U13_gga(X, Y, Z, div_in_gga(U, Y, V))
U13_gga(X, Y, Z, div_out_gga(U, Y, V)) → U14_gga(X, Y, Z, =1_in_aa(Z, s(V)))
=1_in_aa(X, X) → =1_out_aa(X, X)
U14_gga(X, Y, Z, =1_out_aa(Z, s(V))) → div_out_gga(X, Y, Z)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
div_in_gga(X, Y, Z) → U8_gga(X, Y, Z, =1_in_gg(Y, 0))
=1_in_gg(X, X) → =1_out_gg(X, X)
U8_gga(X, Y, Z, =1_out_gg(Y, 0)) → U9_gga(X, Y, Z, fail_in_)
fail_in_ → U15_(fail_in_g(b))
fail_in_g(a) → fail_out_g(a)
U15_(fail_out_g(b)) → fail_out_
U9_gga(X, Y, Z, fail_out_) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U10_gga(X, Y, Z, =1_in_gg(X, 0))
U10_gga(X, Y, Z, =1_out_gg(X, 0)) → U11_gga(X, Y, Z, =1_in_ag(Z, 0))
=1_in_ag(X, X) → =1_out_ag(X, X)
U11_gga(X, Y, Z, =1_out_ag(Z, 0)) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U12_gga(X, Y, Z, minus_in_gga(X, Y, U))
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
=1_in_ga(X, X) → =1_out_ga(X, X)
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
U12_gga(X, Y, Z, minus_out_gga(X, Y, U)) → U13_gga(X, Y, Z, div_in_gga(U, Y, V))
U13_gga(X, Y, Z, div_out_gga(U, Y, V)) → U14_gga(X, Y, Z, =1_in_aa(Z, s(V)))
=1_in_aa(X, X) → =1_out_aa(X, X)
U14_gga(X, Y, Z, =1_out_aa(Z, s(V))) → div_out_gga(X, Y, Z)
DIV_IN_GGA(X, Y, Z) → U8_GGA(X, Y, Z, =1_in_gg(Y, 0))
DIV_IN_GGA(X, Y, Z) → =1_IN_GG(Y, 0)
U8_GGA(X, Y, Z, =1_out_gg(Y, 0)) → U9_GGA(X, Y, Z, fail_in_)
U8_GGA(X, Y, Z, =1_out_gg(Y, 0)) → FAIL_IN_
FAIL_IN_ → U15_1(fail_in_g(b))
FAIL_IN_ → FAIL_IN_G(b)
DIV_IN_GGA(X, Y, Z) → U10_GGA(X, Y, Z, =1_in_gg(X, 0))
DIV_IN_GGA(X, Y, Z) → =1_IN_GG(X, 0)
U10_GGA(X, Y, Z, =1_out_gg(X, 0)) → U11_GGA(X, Y, Z, =1_in_ag(Z, 0))
U10_GGA(X, Y, Z, =1_out_gg(X, 0)) → =1_IN_AG(Z, 0)
DIV_IN_GGA(X, Y, Z) → U12_GGA(X, Y, Z, minus_in_gga(X, Y, U))
DIV_IN_GGA(X, Y, Z) → MINUS_IN_GGA(X, Y, U)
MINUS_IN_GGA(X, Y, Z) → U1_GGA(X, Y, Z, =1_in_gg(X, 0))
MINUS_IN_GGA(X, Y, Z) → =1_IN_GG(X, 0)
U1_GGA(X, Y, Z, =1_out_gg(X, 0)) → U2_GGA(X, Y, Z, =1_in_ag(Z, 0))
U1_GGA(X, Y, Z, =1_out_gg(X, 0)) → =1_IN_AG(Z, 0)
MINUS_IN_GGA(X, Y, Z) → U3_GGA(X, Y, Z, =1_in_gg(Y, 0))
MINUS_IN_GGA(X, Y, Z) → =1_IN_GG(Y, 0)
U3_GGA(X, Y, Z, =1_out_gg(Y, 0)) → U4_GGA(X, Y, Z, =1_in_ag(Z, X))
U3_GGA(X, Y, Z, =1_out_gg(Y, 0)) → =1_IN_AG(Z, X)
MINUS_IN_GGA(X, Y, Z) → U5_GGA(X, Y, Z, =1_in_ga(X, s(A)))
MINUS_IN_GGA(X, Y, Z) → =1_IN_GA(X, s(A))
U5_GGA(X, Y, Z, =1_out_ga(X, s(A))) → U6_GGA(X, Y, Z, A, =1_in_ga(Y, s(B)))
U5_GGA(X, Y, Z, =1_out_ga(X, s(A))) → =1_IN_GA(Y, s(B))
U6_GGA(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_GGA(X, Y, Z, minus_in_gga(A, B, Z))
U6_GGA(X, Y, Z, A, =1_out_ga(Y, s(B))) → MINUS_IN_GGA(A, B, Z)
U12_GGA(X, Y, Z, minus_out_gga(X, Y, U)) → U13_GGA(X, Y, Z, div_in_gga(U, Y, V))
U12_GGA(X, Y, Z, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y, V)
U13_GGA(X, Y, Z, div_out_gga(U, Y, V)) → U14_GGA(X, Y, Z, =1_in_aa(Z, s(V)))
U13_GGA(X, Y, Z, div_out_gga(U, Y, V)) → =1_IN_AA(Z, s(V))
div_in_gga(X, Y, Z) → U8_gga(X, Y, Z, =1_in_gg(Y, 0))
=1_in_gg(X, X) → =1_out_gg(X, X)
U8_gga(X, Y, Z, =1_out_gg(Y, 0)) → U9_gga(X, Y, Z, fail_in_)
fail_in_ → U15_(fail_in_g(b))
fail_in_g(a) → fail_out_g(a)
U15_(fail_out_g(b)) → fail_out_
U9_gga(X, Y, Z, fail_out_) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U10_gga(X, Y, Z, =1_in_gg(X, 0))
U10_gga(X, Y, Z, =1_out_gg(X, 0)) → U11_gga(X, Y, Z, =1_in_ag(Z, 0))
=1_in_ag(X, X) → =1_out_ag(X, X)
U11_gga(X, Y, Z, =1_out_ag(Z, 0)) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U12_gga(X, Y, Z, minus_in_gga(X, Y, U))
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
=1_in_ga(X, X) → =1_out_ga(X, X)
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
U12_gga(X, Y, Z, minus_out_gga(X, Y, U)) → U13_gga(X, Y, Z, div_in_gga(U, Y, V))
U13_gga(X, Y, Z, div_out_gga(U, Y, V)) → U14_gga(X, Y, Z, =1_in_aa(Z, s(V)))
=1_in_aa(X, X) → =1_out_aa(X, X)
U14_gga(X, Y, Z, =1_out_aa(Z, s(V))) → div_out_gga(X, Y, Z)
DIV_IN_GGA(X, Y, Z) → U8_GGA(X, Y, Z, =1_in_gg(Y, 0))
DIV_IN_GGA(X, Y, Z) → =1_IN_GG(Y, 0)
U8_GGA(X, Y, Z, =1_out_gg(Y, 0)) → U9_GGA(X, Y, Z, fail_in_)
U8_GGA(X, Y, Z, =1_out_gg(Y, 0)) → FAIL_IN_
FAIL_IN_ → U15_1(fail_in_g(b))
FAIL_IN_ → FAIL_IN_G(b)
DIV_IN_GGA(X, Y, Z) → U10_GGA(X, Y, Z, =1_in_gg(X, 0))
DIV_IN_GGA(X, Y, Z) → =1_IN_GG(X, 0)
U10_GGA(X, Y, Z, =1_out_gg(X, 0)) → U11_GGA(X, Y, Z, =1_in_ag(Z, 0))
U10_GGA(X, Y, Z, =1_out_gg(X, 0)) → =1_IN_AG(Z, 0)
DIV_IN_GGA(X, Y, Z) → U12_GGA(X, Y, Z, minus_in_gga(X, Y, U))
DIV_IN_GGA(X, Y, Z) → MINUS_IN_GGA(X, Y, U)
MINUS_IN_GGA(X, Y, Z) → U1_GGA(X, Y, Z, =1_in_gg(X, 0))
MINUS_IN_GGA(X, Y, Z) → =1_IN_GG(X, 0)
U1_GGA(X, Y, Z, =1_out_gg(X, 0)) → U2_GGA(X, Y, Z, =1_in_ag(Z, 0))
U1_GGA(X, Y, Z, =1_out_gg(X, 0)) → =1_IN_AG(Z, 0)
MINUS_IN_GGA(X, Y, Z) → U3_GGA(X, Y, Z, =1_in_gg(Y, 0))
MINUS_IN_GGA(X, Y, Z) → =1_IN_GG(Y, 0)
U3_GGA(X, Y, Z, =1_out_gg(Y, 0)) → U4_GGA(X, Y, Z, =1_in_ag(Z, X))
U3_GGA(X, Y, Z, =1_out_gg(Y, 0)) → =1_IN_AG(Z, X)
MINUS_IN_GGA(X, Y, Z) → U5_GGA(X, Y, Z, =1_in_ga(X, s(A)))
MINUS_IN_GGA(X, Y, Z) → =1_IN_GA(X, s(A))
U5_GGA(X, Y, Z, =1_out_ga(X, s(A))) → U6_GGA(X, Y, Z, A, =1_in_ga(Y, s(B)))
U5_GGA(X, Y, Z, =1_out_ga(X, s(A))) → =1_IN_GA(Y, s(B))
U6_GGA(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_GGA(X, Y, Z, minus_in_gga(A, B, Z))
U6_GGA(X, Y, Z, A, =1_out_ga(Y, s(B))) → MINUS_IN_GGA(A, B, Z)
U12_GGA(X, Y, Z, minus_out_gga(X, Y, U)) → U13_GGA(X, Y, Z, div_in_gga(U, Y, V))
U12_GGA(X, Y, Z, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y, V)
U13_GGA(X, Y, Z, div_out_gga(U, Y, V)) → U14_GGA(X, Y, Z, =1_in_aa(Z, s(V)))
U13_GGA(X, Y, Z, div_out_gga(U, Y, V)) → =1_IN_AA(Z, s(V))
div_in_gga(X, Y, Z) → U8_gga(X, Y, Z, =1_in_gg(Y, 0))
=1_in_gg(X, X) → =1_out_gg(X, X)
U8_gga(X, Y, Z, =1_out_gg(Y, 0)) → U9_gga(X, Y, Z, fail_in_)
fail_in_ → U15_(fail_in_g(b))
fail_in_g(a) → fail_out_g(a)
U15_(fail_out_g(b)) → fail_out_
U9_gga(X, Y, Z, fail_out_) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U10_gga(X, Y, Z, =1_in_gg(X, 0))
U10_gga(X, Y, Z, =1_out_gg(X, 0)) → U11_gga(X, Y, Z, =1_in_ag(Z, 0))
=1_in_ag(X, X) → =1_out_ag(X, X)
U11_gga(X, Y, Z, =1_out_ag(Z, 0)) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U12_gga(X, Y, Z, minus_in_gga(X, Y, U))
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
=1_in_ga(X, X) → =1_out_ga(X, X)
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
U12_gga(X, Y, Z, minus_out_gga(X, Y, U)) → U13_gga(X, Y, Z, div_in_gga(U, Y, V))
U13_gga(X, Y, Z, div_out_gga(U, Y, V)) → U14_gga(X, Y, Z, =1_in_aa(Z, s(V)))
=1_in_aa(X, X) → =1_out_aa(X, X)
U14_gga(X, Y, Z, =1_out_aa(Z, s(V))) → div_out_gga(X, Y, Z)
MINUS_IN_GGA(X, Y, Z) → U5_GGA(X, Y, Z, =1_in_ga(X, s(A)))
U5_GGA(X, Y, Z, =1_out_ga(X, s(A))) → U6_GGA(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_GGA(X, Y, Z, A, =1_out_ga(Y, s(B))) → MINUS_IN_GGA(A, B, Z)
div_in_gga(X, Y, Z) → U8_gga(X, Y, Z, =1_in_gg(Y, 0))
=1_in_gg(X, X) → =1_out_gg(X, X)
U8_gga(X, Y, Z, =1_out_gg(Y, 0)) → U9_gga(X, Y, Z, fail_in_)
fail_in_ → U15_(fail_in_g(b))
fail_in_g(a) → fail_out_g(a)
U15_(fail_out_g(b)) → fail_out_
U9_gga(X, Y, Z, fail_out_) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U10_gga(X, Y, Z, =1_in_gg(X, 0))
U10_gga(X, Y, Z, =1_out_gg(X, 0)) → U11_gga(X, Y, Z, =1_in_ag(Z, 0))
=1_in_ag(X, X) → =1_out_ag(X, X)
U11_gga(X, Y, Z, =1_out_ag(Z, 0)) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U12_gga(X, Y, Z, minus_in_gga(X, Y, U))
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
=1_in_ga(X, X) → =1_out_ga(X, X)
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
U12_gga(X, Y, Z, minus_out_gga(X, Y, U)) → U13_gga(X, Y, Z, div_in_gga(U, Y, V))
U13_gga(X, Y, Z, div_out_gga(U, Y, V)) → U14_gga(X, Y, Z, =1_in_aa(Z, s(V)))
=1_in_aa(X, X) → =1_out_aa(X, X)
U14_gga(X, Y, Z, =1_out_aa(Z, s(V))) → div_out_gga(X, Y, Z)
MINUS_IN_GGA(X, Y, Z) → U5_GGA(X, Y, Z, =1_in_ga(X, s(A)))
U5_GGA(X, Y, Z, =1_out_ga(X, s(A))) → U6_GGA(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_GGA(X, Y, Z, A, =1_out_ga(Y, s(B))) → MINUS_IN_GGA(A, B, Z)
=1_in_ga(X, X) → =1_out_ga(X, X)
MINUS_IN_GGA(X, Y) → U5_GGA(X, Y, =1_in_ga(X))
U5_GGA(X, Y, =1_out_ga(X, s(A))) → U6_GGA(X, Y, A, =1_in_ga(Y))
U6_GGA(X, Y, A, =1_out_ga(Y, s(B))) → MINUS_IN_GGA(A, B)
=1_in_ga(X) → =1_out_ga(X, X)
=1_in_ga(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MINUS_IN_GGA(X, Y) → U5_GGA(X, Y, =1_in_ga(X))
POL(=1_in_ga(x1)) = x1
POL(=1_out_ga(x1, x2)) = x2
POL(MINUS_IN_GGA(x1, x2)) = 1 + x2
POL(U5_GGA(x1, x2, x3)) = x2
POL(U6_GGA(x1, x2, x3, x4)) = x4
POL(s(x1)) = 1 + x1
=1_in_ga(X) → =1_out_ga(X, X)
U5_GGA(X, Y, =1_out_ga(X, s(A))) → U6_GGA(X, Y, A, =1_in_ga(Y))
U6_GGA(X, Y, A, =1_out_ga(Y, s(B))) → MINUS_IN_GGA(A, B)
=1_in_ga(X) → =1_out_ga(X, X)
=1_in_ga(x0)
DIV_IN_GGA(X, Y, Z) → U12_GGA(X, Y, Z, minus_in_gga(X, Y, U))
U12_GGA(X, Y, Z, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y, V)
div_in_gga(X, Y, Z) → U8_gga(X, Y, Z, =1_in_gg(Y, 0))
=1_in_gg(X, X) → =1_out_gg(X, X)
U8_gga(X, Y, Z, =1_out_gg(Y, 0)) → U9_gga(X, Y, Z, fail_in_)
fail_in_ → U15_(fail_in_g(b))
fail_in_g(a) → fail_out_g(a)
U15_(fail_out_g(b)) → fail_out_
U9_gga(X, Y, Z, fail_out_) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U10_gga(X, Y, Z, =1_in_gg(X, 0))
U10_gga(X, Y, Z, =1_out_gg(X, 0)) → U11_gga(X, Y, Z, =1_in_ag(Z, 0))
=1_in_ag(X, X) → =1_out_ag(X, X)
U11_gga(X, Y, Z, =1_out_ag(Z, 0)) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U12_gga(X, Y, Z, minus_in_gga(X, Y, U))
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
=1_in_ga(X, X) → =1_out_ga(X, X)
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
U12_gga(X, Y, Z, minus_out_gga(X, Y, U)) → U13_gga(X, Y, Z, div_in_gga(U, Y, V))
U13_gga(X, Y, Z, div_out_gga(U, Y, V)) → U14_gga(X, Y, Z, =1_in_aa(Z, s(V)))
=1_in_aa(X, X) → =1_out_aa(X, X)
U14_gga(X, Y, Z, =1_out_aa(Z, s(V))) → div_out_gga(X, Y, Z)
DIV_IN_GGA(X, Y, Z) → U12_GGA(X, Y, Z, minus_in_gga(X, Y, U))
U12_GGA(X, Y, Z, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y, V)
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X, X) → =1_out_ga(X, X)
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
=1_in_ag(X, X) → =1_out_ag(X, X)
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
DIV_IN_GGA(X, Y) → U12_GGA(X, Y, minus_in_gga(X, Y))
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
minus_in_gga(X, Y) → U1_gga(X, Y, =1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, Y, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(X, Y, =1_in_ga(X))
U1_gga(X, Y, =1_out_gg(X, 0)) → U2_gga(X, Y, =1_in_ag(0))
U3_gga(X, Y, =1_out_gg(Y, 0)) → U4_gga(X, Y, =1_in_ag(X))
U5_gga(X, Y, =1_out_ga(X, s(A))) → U6_gga(X, Y, A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X) → =1_out_ga(X, X)
U6_gga(X, Y, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X, X)
U7_gga(X, Y, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U1_gga(x0, x1, =1_in_gg(x0, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U3_gga(x0, x1, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U5_gga(x0, x1, =1_in_ga(x0)))
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U1_gga(x0, x1, =1_in_gg(x0, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U3_gga(x0, x1, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U5_gga(x0, x1, =1_in_ga(x0)))
minus_in_gga(X, Y) → U1_gga(X, Y, =1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, Y, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(X, Y, =1_in_ga(X))
U1_gga(X, Y, =1_out_gg(X, 0)) → U2_gga(X, Y, =1_in_ag(0))
U3_gga(X, Y, =1_out_gg(Y, 0)) → U4_gga(X, Y, =1_in_ag(X))
U5_gga(X, Y, =1_out_ga(X, s(A))) → U6_gga(X, Y, A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X) → =1_out_ga(X, X)
U6_gga(X, Y, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X, X)
U7_gga(X, Y, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U5_gga(x0, x1, =1_out_ga(x0, x0)))
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U1_gga(x0, x1, =1_in_gg(x0, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U3_gga(x0, x1, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U5_gga(x0, x1, =1_out_ga(x0, x0)))
minus_in_gga(X, Y) → U1_gga(X, Y, =1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, Y, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(X, Y, =1_in_ga(X))
U1_gga(X, Y, =1_out_gg(X, 0)) → U2_gga(X, Y, =1_in_ag(0))
U3_gga(X, Y, =1_out_gg(Y, 0)) → U4_gga(X, Y, =1_in_ag(X))
U5_gga(X, Y, =1_out_ga(X, s(A))) → U6_gga(X, Y, A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X) → =1_out_ga(X, X)
U6_gga(X, Y, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X, X)
U7_gga(X, Y, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, U1_gga(0, y1, =1_out_gg(0, 0)))
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U3_gga(x0, x1, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U5_gga(x0, x1, =1_out_ga(x0, x0)))
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, U1_gga(0, y1, =1_out_gg(0, 0)))
minus_in_gga(X, Y) → U1_gga(X, Y, =1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, Y, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(X, Y, =1_in_ga(X))
U1_gga(X, Y, =1_out_gg(X, 0)) → U2_gga(X, Y, =1_in_ag(0))
U3_gga(X, Y, =1_out_gg(Y, 0)) → U4_gga(X, Y, =1_in_ag(X))
U5_gga(X, Y, =1_out_ga(X, s(A))) → U6_gga(X, Y, A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X) → =1_out_ga(X, X)
U6_gga(X, Y, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X, X)
U7_gga(X, Y, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, U2_gga(0, y1, =1_in_ag(0)))
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U3_gga(x0, x1, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U5_gga(x0, x1, =1_out_ga(x0, x0)))
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, U2_gga(0, y1, =1_in_ag(0)))
minus_in_gga(X, Y) → U1_gga(X, Y, =1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, Y, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(X, Y, =1_in_ga(X))
U1_gga(X, Y, =1_out_gg(X, 0)) → U2_gga(X, Y, =1_in_ag(0))
U3_gga(X, Y, =1_out_gg(Y, 0)) → U4_gga(X, Y, =1_in_ag(X))
U5_gga(X, Y, =1_out_ga(X, s(A))) → U6_gga(X, Y, A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X) → =1_out_ga(X, X)
U6_gga(X, Y, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X, X)
U7_gga(X, Y, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, U2_gga(0, y1, =1_out_ag(0, 0)))
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U3_gga(x0, x1, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U5_gga(x0, x1, =1_out_ga(x0, x0)))
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, U2_gga(0, y1, =1_out_ag(0, 0)))
minus_in_gga(X, Y) → U1_gga(X, Y, =1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, Y, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(X, Y, =1_in_ga(X))
U1_gga(X, Y, =1_out_gg(X, 0)) → U2_gga(X, Y, =1_in_ag(0))
U3_gga(X, Y, =1_out_gg(Y, 0)) → U4_gga(X, Y, =1_in_ag(X))
U5_gga(X, Y, =1_out_ga(X, s(A))) → U6_gga(X, Y, A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X) → =1_out_ga(X, X)
U6_gga(X, Y, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X, X)
U7_gga(X, Y, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, minus_out_gga(0, y1, 0))
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U3_gga(x0, x1, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U5_gga(x0, x1, =1_out_ga(x0, x0)))
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, minus_out_gga(0, y1, 0))
minus_in_gga(X, Y) → U1_gga(X, Y, =1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, Y, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(X, Y, =1_in_ga(X))
U1_gga(X, Y, =1_out_gg(X, 0)) → U2_gga(X, Y, =1_in_ag(0))
U3_gga(X, Y, =1_out_gg(Y, 0)) → U4_gga(X, Y, =1_in_ag(X))
U5_gga(X, Y, =1_out_ga(X, s(A))) → U6_gga(X, Y, A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X) → =1_out_ga(X, X)
U6_gga(X, Y, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X, X)
U7_gga(X, Y, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
DIV_IN_GGA(y0, 0) → U12_GGA(y0, 0, U3_gga(y0, 0, =1_out_gg(0, 0)))
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U5_gga(x0, x1, =1_out_ga(x0, x0)))
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, minus_out_gga(0, y1, 0))
DIV_IN_GGA(y0, 0) → U12_GGA(y0, 0, U3_gga(y0, 0, =1_out_gg(0, 0)))
minus_in_gga(X, Y) → U1_gga(X, Y, =1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, Y, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(X, Y, =1_in_ga(X))
U1_gga(X, Y, =1_out_gg(X, 0)) → U2_gga(X, Y, =1_in_ag(0))
U3_gga(X, Y, =1_out_gg(Y, 0)) → U4_gga(X, Y, =1_in_ag(X))
U5_gga(X, Y, =1_out_ga(X, s(A))) → U6_gga(X, Y, A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X) → =1_out_ga(X, X)
U6_gga(X, Y, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X, X)
U7_gga(X, Y, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
DIV_IN_GGA(y0, 0) → U12_GGA(y0, 0, U4_gga(y0, 0, =1_in_ag(y0)))
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U5_gga(x0, x1, =1_out_ga(x0, x0)))
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, minus_out_gga(0, y1, 0))
DIV_IN_GGA(y0, 0) → U12_GGA(y0, 0, U4_gga(y0, 0, =1_in_ag(y0)))
minus_in_gga(X, Y) → U1_gga(X, Y, =1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, Y, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(X, Y, =1_in_ga(X))
U1_gga(X, Y, =1_out_gg(X, 0)) → U2_gga(X, Y, =1_in_ag(0))
U3_gga(X, Y, =1_out_gg(Y, 0)) → U4_gga(X, Y, =1_in_ag(X))
U5_gga(X, Y, =1_out_ga(X, s(A))) → U6_gga(X, Y, A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X) → =1_out_ga(X, X)
U6_gga(X, Y, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X, X)
U7_gga(X, Y, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
DIV_IN_GGA(y0, 0) → U12_GGA(y0, 0, U4_gga(y0, 0, =1_out_ag(y0, y0)))
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U5_gga(x0, x1, =1_out_ga(x0, x0)))
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, minus_out_gga(0, y1, 0))
DIV_IN_GGA(y0, 0) → U12_GGA(y0, 0, U4_gga(y0, 0, =1_out_ag(y0, y0)))
minus_in_gga(X, Y) → U1_gga(X, Y, =1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, Y, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(X, Y, =1_in_ga(X))
U1_gga(X, Y, =1_out_gg(X, 0)) → U2_gga(X, Y, =1_in_ag(0))
U3_gga(X, Y, =1_out_gg(Y, 0)) → U4_gga(X, Y, =1_in_ag(X))
U5_gga(X, Y, =1_out_ga(X, s(A))) → U6_gga(X, Y, A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X) → =1_out_ga(X, X)
U6_gga(X, Y, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X, X)
U7_gga(X, Y, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
DIV_IN_GGA(y0, 0) → U12_GGA(y0, 0, minus_out_gga(y0, 0, y0))
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U5_gga(x0, x1, =1_out_ga(x0, x0)))
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, minus_out_gga(0, y1, 0))
DIV_IN_GGA(y0, 0) → U12_GGA(y0, 0, minus_out_gga(y0, 0, y0))
minus_in_gga(X, Y) → U1_gga(X, Y, =1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, Y, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(X, Y, =1_in_ga(X))
U1_gga(X, Y, =1_out_gg(X, 0)) → U2_gga(X, Y, =1_in_ag(0))
U3_gga(X, Y, =1_out_gg(Y, 0)) → U4_gga(X, Y, =1_in_ag(X))
U5_gga(X, Y, =1_out_ga(X, s(A))) → U6_gga(X, Y, A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X) → =1_out_ga(X, X)
U6_gga(X, Y, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X, X)
U7_gga(X, Y, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
DIV_IN_GGA(x0, x1) → U12_GGA(x0, x1, U5_gga(x0, x1, =1_out_ga(x0, x0)))
POL(0) = 0
POL(=1_in_ag(x1)) = x1
POL(=1_in_ga(x1)) = x1
POL(=1_in_gg(x1, x2)) = 1 + x2
POL(=1_out_ag(x1, x2)) = x1
POL(=1_out_ga(x1, x2)) = x2
POL(=1_out_gg(x1, x2)) = 1
POL(DIV_IN_GGA(x1, x2)) = 1 + x1
POL(U12_GGA(x1, x2, x3)) = x3
POL(U1_gga(x1, x2, x3)) = 1
POL(U2_gga(x1, x2, x3)) = 1 + x3
POL(U3_gga(x1, x2, x3)) = x1 + x3
POL(U4_gga(x1, x2, x3)) = 1 + x3
POL(U5_gga(x1, x2, x3)) = x3
POL(U6_gga(x1, x2, x3, x4)) = 1 + x3
POL(U7_gga(x1, x2, x3)) = x3
POL(minus_in_gga(x1, x2)) = 1 + x1
POL(minus_out_gga(x1, x2, x3)) = 1 + x3
POL(s(x1)) = 1 + x1
U5_gga(X, Y, =1_out_ga(X, s(A))) → U6_gga(X, Y, A, =1_in_ga(Y))
minus_in_gga(X, Y) → U5_gga(X, Y, =1_in_ga(X))
=1_in_ga(X) → =1_out_ga(X, X)
U6_gga(X, Y, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, minus_in_gga(A, B))
minus_in_gga(X, Y) → U1_gga(X, Y, =1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, Y, =1_in_gg(Y, 0))
U7_gga(X, Y, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
=1_in_gg(X, X) → =1_out_gg(X, X)
U1_gga(X, Y, =1_out_gg(X, 0)) → U2_gga(X, Y, =1_in_ag(0))
U3_gga(X, Y, =1_out_gg(Y, 0)) → U4_gga(X, Y, =1_in_ag(X))
=1_in_ag(X) → =1_out_ag(X, X)
U2_gga(X, Y, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, minus_out_gga(0, y1, 0))
DIV_IN_GGA(y0, 0) → U12_GGA(y0, 0, minus_out_gga(y0, 0, y0))
minus_in_gga(X, Y) → U1_gga(X, Y, =1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, Y, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(X, Y, =1_in_ga(X))
U1_gga(X, Y, =1_out_gg(X, 0)) → U2_gga(X, Y, =1_in_ag(0))
U3_gga(X, Y, =1_out_gg(Y, 0)) → U4_gga(X, Y, =1_in_ag(X))
U5_gga(X, Y, =1_out_ga(X, s(A))) → U6_gga(X, Y, A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X) → =1_out_ga(X, X)
U6_gga(X, Y, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X, X)
U7_gga(X, Y, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, minus_out_gga(0, y1, 0))
DIV_IN_GGA(y0, 0) → U12_GGA(y0, 0, minus_out_gga(y0, 0, y0))
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
minus_in_gga(x0, x1)
U1_gga(x0, x1, x2)
U3_gga(x0, x1, x2)
U5_gga(x0, x1, x2)
=1_in_gg(x0, x1)
U2_gga(x0, x1, x2)
U4_gga(x0, x1, x2)
=1_in_ga(x0)
U6_gga(x0, x1, x2, x3)
=1_in_ag(x0)
U7_gga(x0, x1, x2)
U12_GGA(X, Y, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, minus_out_gga(0, y1, 0))
DIV_IN_GGA(y0, 0) → U12_GGA(y0, 0, minus_out_gga(y0, 0, y0))
U12_GGA(0, z0, minus_out_gga(0, z0, 0)) → DIV_IN_GGA(0, z0)
U12_GGA(z0, 0, minus_out_gga(z0, 0, z0)) → DIV_IN_GGA(z0, 0)
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, minus_out_gga(0, y1, 0))
DIV_IN_GGA(y0, 0) → U12_GGA(y0, 0, minus_out_gga(y0, 0, y0))
U12_GGA(0, z0, minus_out_gga(0, z0, 0)) → DIV_IN_GGA(0, z0)
U12_GGA(z0, 0, minus_out_gga(z0, 0, z0)) → DIV_IN_GGA(z0, 0)
U12_GGA(0, z0, minus_out_gga(0, z0, 0)) → DIV_IN_GGA(0, z0)
U12_GGA(z0, 0, minus_out_gga(z0, 0, z0)) → DIV_IN_GGA(z0, 0)
DIV_IN_GGA(0, y1) → U12_GGA(0, y1, minus_out_gga(0, y1, 0))
DIV_IN_GGA(y0, 0) → U12_GGA(y0, 0, minus_out_gga(y0, 0, y0))
U12_GGA(0, z0, minus_out_gga(0, z0, 0)) → DIV_IN_GGA(0, z0)
U12_GGA(z0, 0, minus_out_gga(z0, 0, z0)) → DIV_IN_GGA(z0, 0)
div_in_gga(X, Y, Z) → U8_gga(X, Y, Z, =1_in_gg(Y, 0))
=1_in_gg(X, X) → =1_out_gg(X, X)
U8_gga(X, Y, Z, =1_out_gg(Y, 0)) → U9_gga(X, Y, Z, fail_in_)
fail_in_ → U15_(fail_in_g(b))
fail_in_g(a) → fail_out_g(a)
U15_(fail_out_g(b)) → fail_out_
U9_gga(X, Y, Z, fail_out_) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U10_gga(X, Y, Z, =1_in_gg(X, 0))
U10_gga(X, Y, Z, =1_out_gg(X, 0)) → U11_gga(X, Y, Z, =1_in_ag(Z, 0))
=1_in_ag(X, X) → =1_out_ag(X, X)
U11_gga(X, Y, Z, =1_out_ag(Z, 0)) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U12_gga(X, Y, Z, minus_in_gga(X, Y, U))
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
=1_in_ga(X, X) → =1_out_ga(X, X)
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
U12_gga(X, Y, Z, minus_out_gga(X, Y, U)) → U13_gga(X, Y, Z, div_in_gga(U, Y, V))
U13_gga(X, Y, Z, div_out_gga(U, Y, V)) → U14_gga(X, Y, Z, =1_in_aa(Z, s(V)))
=1_in_aa(X, X) → =1_out_aa(X, X)
U14_gga(X, Y, Z, =1_out_aa(Z, s(V))) → div_out_gga(X, Y, Z)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
div_in_gga(X, Y, Z) → U8_gga(X, Y, Z, =1_in_gg(Y, 0))
=1_in_gg(X, X) → =1_out_gg(X, X)
U8_gga(X, Y, Z, =1_out_gg(Y, 0)) → U9_gga(X, Y, Z, fail_in_)
fail_in_ → U15_(fail_in_g(b))
fail_in_g(a) → fail_out_g(a)
U15_(fail_out_g(b)) → fail_out_
U9_gga(X, Y, Z, fail_out_) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U10_gga(X, Y, Z, =1_in_gg(X, 0))
U10_gga(X, Y, Z, =1_out_gg(X, 0)) → U11_gga(X, Y, Z, =1_in_ag(Z, 0))
=1_in_ag(X, X) → =1_out_ag(X, X)
U11_gga(X, Y, Z, =1_out_ag(Z, 0)) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U12_gga(X, Y, Z, minus_in_gga(X, Y, U))
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
=1_in_ga(X, X) → =1_out_ga(X, X)
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
U12_gga(X, Y, Z, minus_out_gga(X, Y, U)) → U13_gga(X, Y, Z, div_in_gga(U, Y, V))
U13_gga(X, Y, Z, div_out_gga(U, Y, V)) → U14_gga(X, Y, Z, =1_in_aa(Z, s(V)))
=1_in_aa(X, X) → =1_out_aa(X, X)
U14_gga(X, Y, Z, =1_out_aa(Z, s(V))) → div_out_gga(X, Y, Z)
DIV_IN_GGA(X, Y, Z) → U8_GGA(X, Y, Z, =1_in_gg(Y, 0))
DIV_IN_GGA(X, Y, Z) → =1_IN_GG(Y, 0)
U8_GGA(X, Y, Z, =1_out_gg(Y, 0)) → U9_GGA(X, Y, Z, fail_in_)
U8_GGA(X, Y, Z, =1_out_gg(Y, 0)) → FAIL_IN_
FAIL_IN_ → U15_1(fail_in_g(b))
FAIL_IN_ → FAIL_IN_G(b)
DIV_IN_GGA(X, Y, Z) → U10_GGA(X, Y, Z, =1_in_gg(X, 0))
DIV_IN_GGA(X, Y, Z) → =1_IN_GG(X, 0)
U10_GGA(X, Y, Z, =1_out_gg(X, 0)) → U11_GGA(X, Y, Z, =1_in_ag(Z, 0))
U10_GGA(X, Y, Z, =1_out_gg(X, 0)) → =1_IN_AG(Z, 0)
DIV_IN_GGA(X, Y, Z) → U12_GGA(X, Y, Z, minus_in_gga(X, Y, U))
DIV_IN_GGA(X, Y, Z) → MINUS_IN_GGA(X, Y, U)
MINUS_IN_GGA(X, Y, Z) → U1_GGA(X, Y, Z, =1_in_gg(X, 0))
MINUS_IN_GGA(X, Y, Z) → =1_IN_GG(X, 0)
U1_GGA(X, Y, Z, =1_out_gg(X, 0)) → U2_GGA(X, Y, Z, =1_in_ag(Z, 0))
U1_GGA(X, Y, Z, =1_out_gg(X, 0)) → =1_IN_AG(Z, 0)
MINUS_IN_GGA(X, Y, Z) → U3_GGA(X, Y, Z, =1_in_gg(Y, 0))
MINUS_IN_GGA(X, Y, Z) → =1_IN_GG(Y, 0)
U3_GGA(X, Y, Z, =1_out_gg(Y, 0)) → U4_GGA(X, Y, Z, =1_in_ag(Z, X))
U3_GGA(X, Y, Z, =1_out_gg(Y, 0)) → =1_IN_AG(Z, X)
MINUS_IN_GGA(X, Y, Z) → U5_GGA(X, Y, Z, =1_in_ga(X, s(A)))
MINUS_IN_GGA(X, Y, Z) → =1_IN_GA(X, s(A))
U5_GGA(X, Y, Z, =1_out_ga(X, s(A))) → U6_GGA(X, Y, Z, A, =1_in_ga(Y, s(B)))
U5_GGA(X, Y, Z, =1_out_ga(X, s(A))) → =1_IN_GA(Y, s(B))
U6_GGA(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_GGA(X, Y, Z, minus_in_gga(A, B, Z))
U6_GGA(X, Y, Z, A, =1_out_ga(Y, s(B))) → MINUS_IN_GGA(A, B, Z)
U12_GGA(X, Y, Z, minus_out_gga(X, Y, U)) → U13_GGA(X, Y, Z, div_in_gga(U, Y, V))
U12_GGA(X, Y, Z, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y, V)
U13_GGA(X, Y, Z, div_out_gga(U, Y, V)) → U14_GGA(X, Y, Z, =1_in_aa(Z, s(V)))
U13_GGA(X, Y, Z, div_out_gga(U, Y, V)) → =1_IN_AA(Z, s(V))
div_in_gga(X, Y, Z) → U8_gga(X, Y, Z, =1_in_gg(Y, 0))
=1_in_gg(X, X) → =1_out_gg(X, X)
U8_gga(X, Y, Z, =1_out_gg(Y, 0)) → U9_gga(X, Y, Z, fail_in_)
fail_in_ → U15_(fail_in_g(b))
fail_in_g(a) → fail_out_g(a)
U15_(fail_out_g(b)) → fail_out_
U9_gga(X, Y, Z, fail_out_) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U10_gga(X, Y, Z, =1_in_gg(X, 0))
U10_gga(X, Y, Z, =1_out_gg(X, 0)) → U11_gga(X, Y, Z, =1_in_ag(Z, 0))
=1_in_ag(X, X) → =1_out_ag(X, X)
U11_gga(X, Y, Z, =1_out_ag(Z, 0)) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U12_gga(X, Y, Z, minus_in_gga(X, Y, U))
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
=1_in_ga(X, X) → =1_out_ga(X, X)
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
U12_gga(X, Y, Z, minus_out_gga(X, Y, U)) → U13_gga(X, Y, Z, div_in_gga(U, Y, V))
U13_gga(X, Y, Z, div_out_gga(U, Y, V)) → U14_gga(X, Y, Z, =1_in_aa(Z, s(V)))
=1_in_aa(X, X) → =1_out_aa(X, X)
U14_gga(X, Y, Z, =1_out_aa(Z, s(V))) → div_out_gga(X, Y, Z)
DIV_IN_GGA(X, Y, Z) → U8_GGA(X, Y, Z, =1_in_gg(Y, 0))
DIV_IN_GGA(X, Y, Z) → =1_IN_GG(Y, 0)
U8_GGA(X, Y, Z, =1_out_gg(Y, 0)) → U9_GGA(X, Y, Z, fail_in_)
U8_GGA(X, Y, Z, =1_out_gg(Y, 0)) → FAIL_IN_
FAIL_IN_ → U15_1(fail_in_g(b))
FAIL_IN_ → FAIL_IN_G(b)
DIV_IN_GGA(X, Y, Z) → U10_GGA(X, Y, Z, =1_in_gg(X, 0))
DIV_IN_GGA(X, Y, Z) → =1_IN_GG(X, 0)
U10_GGA(X, Y, Z, =1_out_gg(X, 0)) → U11_GGA(X, Y, Z, =1_in_ag(Z, 0))
U10_GGA(X, Y, Z, =1_out_gg(X, 0)) → =1_IN_AG(Z, 0)
DIV_IN_GGA(X, Y, Z) → U12_GGA(X, Y, Z, minus_in_gga(X, Y, U))
DIV_IN_GGA(X, Y, Z) → MINUS_IN_GGA(X, Y, U)
MINUS_IN_GGA(X, Y, Z) → U1_GGA(X, Y, Z, =1_in_gg(X, 0))
MINUS_IN_GGA(X, Y, Z) → =1_IN_GG(X, 0)
U1_GGA(X, Y, Z, =1_out_gg(X, 0)) → U2_GGA(X, Y, Z, =1_in_ag(Z, 0))
U1_GGA(X, Y, Z, =1_out_gg(X, 0)) → =1_IN_AG(Z, 0)
MINUS_IN_GGA(X, Y, Z) → U3_GGA(X, Y, Z, =1_in_gg(Y, 0))
MINUS_IN_GGA(X, Y, Z) → =1_IN_GG(Y, 0)
U3_GGA(X, Y, Z, =1_out_gg(Y, 0)) → U4_GGA(X, Y, Z, =1_in_ag(Z, X))
U3_GGA(X, Y, Z, =1_out_gg(Y, 0)) → =1_IN_AG(Z, X)
MINUS_IN_GGA(X, Y, Z) → U5_GGA(X, Y, Z, =1_in_ga(X, s(A)))
MINUS_IN_GGA(X, Y, Z) → =1_IN_GA(X, s(A))
U5_GGA(X, Y, Z, =1_out_ga(X, s(A))) → U6_GGA(X, Y, Z, A, =1_in_ga(Y, s(B)))
U5_GGA(X, Y, Z, =1_out_ga(X, s(A))) → =1_IN_GA(Y, s(B))
U6_GGA(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_GGA(X, Y, Z, minus_in_gga(A, B, Z))
U6_GGA(X, Y, Z, A, =1_out_ga(Y, s(B))) → MINUS_IN_GGA(A, B, Z)
U12_GGA(X, Y, Z, minus_out_gga(X, Y, U)) → U13_GGA(X, Y, Z, div_in_gga(U, Y, V))
U12_GGA(X, Y, Z, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y, V)
U13_GGA(X, Y, Z, div_out_gga(U, Y, V)) → U14_GGA(X, Y, Z, =1_in_aa(Z, s(V)))
U13_GGA(X, Y, Z, div_out_gga(U, Y, V)) → =1_IN_AA(Z, s(V))
div_in_gga(X, Y, Z) → U8_gga(X, Y, Z, =1_in_gg(Y, 0))
=1_in_gg(X, X) → =1_out_gg(X, X)
U8_gga(X, Y, Z, =1_out_gg(Y, 0)) → U9_gga(X, Y, Z, fail_in_)
fail_in_ → U15_(fail_in_g(b))
fail_in_g(a) → fail_out_g(a)
U15_(fail_out_g(b)) → fail_out_
U9_gga(X, Y, Z, fail_out_) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U10_gga(X, Y, Z, =1_in_gg(X, 0))
U10_gga(X, Y, Z, =1_out_gg(X, 0)) → U11_gga(X, Y, Z, =1_in_ag(Z, 0))
=1_in_ag(X, X) → =1_out_ag(X, X)
U11_gga(X, Y, Z, =1_out_ag(Z, 0)) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U12_gga(X, Y, Z, minus_in_gga(X, Y, U))
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
=1_in_ga(X, X) → =1_out_ga(X, X)
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
U12_gga(X, Y, Z, minus_out_gga(X, Y, U)) → U13_gga(X, Y, Z, div_in_gga(U, Y, V))
U13_gga(X, Y, Z, div_out_gga(U, Y, V)) → U14_gga(X, Y, Z, =1_in_aa(Z, s(V)))
=1_in_aa(X, X) → =1_out_aa(X, X)
U14_gga(X, Y, Z, =1_out_aa(Z, s(V))) → div_out_gga(X, Y, Z)
MINUS_IN_GGA(X, Y, Z) → U5_GGA(X, Y, Z, =1_in_ga(X, s(A)))
U5_GGA(X, Y, Z, =1_out_ga(X, s(A))) → U6_GGA(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_GGA(X, Y, Z, A, =1_out_ga(Y, s(B))) → MINUS_IN_GGA(A, B, Z)
div_in_gga(X, Y, Z) → U8_gga(X, Y, Z, =1_in_gg(Y, 0))
=1_in_gg(X, X) → =1_out_gg(X, X)
U8_gga(X, Y, Z, =1_out_gg(Y, 0)) → U9_gga(X, Y, Z, fail_in_)
fail_in_ → U15_(fail_in_g(b))
fail_in_g(a) → fail_out_g(a)
U15_(fail_out_g(b)) → fail_out_
U9_gga(X, Y, Z, fail_out_) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U10_gga(X, Y, Z, =1_in_gg(X, 0))
U10_gga(X, Y, Z, =1_out_gg(X, 0)) → U11_gga(X, Y, Z, =1_in_ag(Z, 0))
=1_in_ag(X, X) → =1_out_ag(X, X)
U11_gga(X, Y, Z, =1_out_ag(Z, 0)) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U12_gga(X, Y, Z, minus_in_gga(X, Y, U))
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
=1_in_ga(X, X) → =1_out_ga(X, X)
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
U12_gga(X, Y, Z, minus_out_gga(X, Y, U)) → U13_gga(X, Y, Z, div_in_gga(U, Y, V))
U13_gga(X, Y, Z, div_out_gga(U, Y, V)) → U14_gga(X, Y, Z, =1_in_aa(Z, s(V)))
=1_in_aa(X, X) → =1_out_aa(X, X)
U14_gga(X, Y, Z, =1_out_aa(Z, s(V))) → div_out_gga(X, Y, Z)
MINUS_IN_GGA(X, Y, Z) → U5_GGA(X, Y, Z, =1_in_ga(X, s(A)))
U5_GGA(X, Y, Z, =1_out_ga(X, s(A))) → U6_GGA(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_GGA(X, Y, Z, A, =1_out_ga(Y, s(B))) → MINUS_IN_GGA(A, B, Z)
=1_in_ga(X, X) → =1_out_ga(X, X)
MINUS_IN_GGA(X, Y) → U5_GGA(Y, =1_in_ga(X))
U5_GGA(Y, =1_out_ga(s(A))) → U6_GGA(A, =1_in_ga(Y))
U6_GGA(A, =1_out_ga(s(B))) → MINUS_IN_GGA(A, B)
=1_in_ga(X) → =1_out_ga(X)
=1_in_ga(x0)
No rules are removed from R.
U5_GGA(Y, =1_out_ga(s(A))) → U6_GGA(A, =1_in_ga(Y))
U6_GGA(A, =1_out_ga(s(B))) → MINUS_IN_GGA(A, B)
POL(=1_in_ga(x1)) = 1 + x1
POL(=1_out_ga(x1)) = 1 + x1
POL(MINUS_IN_GGA(x1, x2)) = 2 + x1 + 2·x2
POL(U5_GGA(x1, x2)) = 1 + 2·x1 + x2
POL(U6_GGA(x1, x2)) = 1 + x1 + x2
POL(s(x1)) = 1 + 2·x1
MINUS_IN_GGA(X, Y) → U5_GGA(Y, =1_in_ga(X))
=1_in_ga(X) → =1_out_ga(X)
=1_in_ga(x0)
DIV_IN_GGA(X, Y, Z) → U12_GGA(X, Y, Z, minus_in_gga(X, Y, U))
U12_GGA(X, Y, Z, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y, V)
div_in_gga(X, Y, Z) → U8_gga(X, Y, Z, =1_in_gg(Y, 0))
=1_in_gg(X, X) → =1_out_gg(X, X)
U8_gga(X, Y, Z, =1_out_gg(Y, 0)) → U9_gga(X, Y, Z, fail_in_)
fail_in_ → U15_(fail_in_g(b))
fail_in_g(a) → fail_out_g(a)
U15_(fail_out_g(b)) → fail_out_
U9_gga(X, Y, Z, fail_out_) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U10_gga(X, Y, Z, =1_in_gg(X, 0))
U10_gga(X, Y, Z, =1_out_gg(X, 0)) → U11_gga(X, Y, Z, =1_in_ag(Z, 0))
=1_in_ag(X, X) → =1_out_ag(X, X)
U11_gga(X, Y, Z, =1_out_ag(Z, 0)) → div_out_gga(X, Y, Z)
div_in_gga(X, Y, Z) → U12_gga(X, Y, Z, minus_in_gga(X, Y, U))
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
=1_in_ga(X, X) → =1_out_ga(X, X)
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
U12_gga(X, Y, Z, minus_out_gga(X, Y, U)) → U13_gga(X, Y, Z, div_in_gga(U, Y, V))
U13_gga(X, Y, Z, div_out_gga(U, Y, V)) → U14_gga(X, Y, Z, =1_in_aa(Z, s(V)))
=1_in_aa(X, X) → =1_out_aa(X, X)
U14_gga(X, Y, Z, =1_out_aa(Z, s(V))) → div_out_gga(X, Y, Z)
DIV_IN_GGA(X, Y, Z) → U12_GGA(X, Y, Z, minus_in_gga(X, Y, U))
U12_GGA(X, Y, Z, minus_out_gga(X, Y, U)) → DIV_IN_GGA(U, Y, V)
minus_in_gga(X, Y, Z) → U1_gga(X, Y, Z, =1_in_gg(X, 0))
minus_in_gga(X, Y, Z) → U3_gga(X, Y, Z, =1_in_gg(Y, 0))
minus_in_gga(X, Y, Z) → U5_gga(X, Y, Z, =1_in_ga(X, s(A)))
U1_gga(X, Y, Z, =1_out_gg(X, 0)) → U2_gga(X, Y, Z, =1_in_ag(Z, 0))
U3_gga(X, Y, Z, =1_out_gg(Y, 0)) → U4_gga(X, Y, Z, =1_in_ag(Z, X))
U5_gga(X, Y, Z, =1_out_ga(X, s(A))) → U6_gga(X, Y, Z, A, =1_in_ga(Y, s(B)))
=1_in_gg(X, X) → =1_out_gg(X, X)
U2_gga(X, Y, Z, =1_out_ag(Z, 0)) → minus_out_gga(X, Y, Z)
U4_gga(X, Y, Z, =1_out_ag(Z, X)) → minus_out_gga(X, Y, Z)
=1_in_ga(X, X) → =1_out_ga(X, X)
U6_gga(X, Y, Z, A, =1_out_ga(Y, s(B))) → U7_gga(X, Y, Z, minus_in_gga(A, B, Z))
=1_in_ag(X, X) → =1_out_ag(X, X)
U7_gga(X, Y, Z, minus_out_gga(A, B, Z)) → minus_out_gga(X, Y, Z)
DIV_IN_GGA(X, Y) → U12_GGA(Y, minus_in_gga(X, Y))
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
minus_in_gga(X, Y) → U1_gga(=1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(Y, =1_in_ga(X))
U1_gga(=1_out_gg) → U2_gga(=1_in_ag(0))
U3_gga(X, =1_out_gg) → U4_gga(=1_in_ag(X))
U5_gga(Y, =1_out_ga(s(A))) → U6_gga(A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg
U2_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U4_gga(=1_out_ag(Z)) → minus_out_gga(Z)
=1_in_ga(X) → =1_out_ga(X)
U6_gga(A, =1_out_ga(s(B))) → U7_gga(minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X)
U7_gga(minus_out_gga(Z)) → minus_out_gga(Z)
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U1_gga(=1_in_gg(x0, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U3_gga(x0, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U5_gga(x1, =1_in_ga(x0)))
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U1_gga(=1_in_gg(x0, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U3_gga(x0, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U5_gga(x1, =1_in_ga(x0)))
minus_in_gga(X, Y) → U1_gga(=1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(Y, =1_in_ga(X))
U1_gga(=1_out_gg) → U2_gga(=1_in_ag(0))
U3_gga(X, =1_out_gg) → U4_gga(=1_in_ag(X))
U5_gga(Y, =1_out_ga(s(A))) → U6_gga(A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg
U2_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U4_gga(=1_out_ag(Z)) → minus_out_gga(Z)
=1_in_ga(X) → =1_out_ga(X)
U6_gga(A, =1_out_ga(s(B))) → U7_gga(minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X)
U7_gga(minus_out_gga(Z)) → minus_out_gga(Z)
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U5_gga(x1, =1_out_ga(x0)))
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U1_gga(=1_in_gg(x0, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U3_gga(x0, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U5_gga(x1, =1_out_ga(x0)))
minus_in_gga(X, Y) → U1_gga(=1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(Y, =1_in_ga(X))
U1_gga(=1_out_gg) → U2_gga(=1_in_ag(0))
U3_gga(X, =1_out_gg) → U4_gga(=1_in_ag(X))
U5_gga(Y, =1_out_ga(s(A))) → U6_gga(A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg
U2_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U4_gga(=1_out_ag(Z)) → minus_out_gga(Z)
=1_in_ga(X) → =1_out_ga(X)
U6_gga(A, =1_out_ga(s(B))) → U7_gga(minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X)
U7_gga(minus_out_gga(Z)) → minus_out_gga(Z)
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
DIV_IN_GGA(0, y1) → U12_GGA(y1, U1_gga(=1_out_gg))
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U3_gga(x0, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U5_gga(x1, =1_out_ga(x0)))
DIV_IN_GGA(0, y1) → U12_GGA(y1, U1_gga(=1_out_gg))
minus_in_gga(X, Y) → U1_gga(=1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(Y, =1_in_ga(X))
U1_gga(=1_out_gg) → U2_gga(=1_in_ag(0))
U3_gga(X, =1_out_gg) → U4_gga(=1_in_ag(X))
U5_gga(Y, =1_out_ga(s(A))) → U6_gga(A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg
U2_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U4_gga(=1_out_ag(Z)) → minus_out_gga(Z)
=1_in_ga(X) → =1_out_ga(X)
U6_gga(A, =1_out_ga(s(B))) → U7_gga(minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X)
U7_gga(minus_out_gga(Z)) → minus_out_gga(Z)
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
DIV_IN_GGA(0, y1) → U12_GGA(y1, U2_gga(=1_in_ag(0)))
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U3_gga(x0, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U5_gga(x1, =1_out_ga(x0)))
DIV_IN_GGA(0, y1) → U12_GGA(y1, U2_gga(=1_in_ag(0)))
minus_in_gga(X, Y) → U1_gga(=1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(Y, =1_in_ga(X))
U1_gga(=1_out_gg) → U2_gga(=1_in_ag(0))
U3_gga(X, =1_out_gg) → U4_gga(=1_in_ag(X))
U5_gga(Y, =1_out_ga(s(A))) → U6_gga(A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg
U2_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U4_gga(=1_out_ag(Z)) → minus_out_gga(Z)
=1_in_ga(X) → =1_out_ga(X)
U6_gga(A, =1_out_ga(s(B))) → U7_gga(minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X)
U7_gga(minus_out_gga(Z)) → minus_out_gga(Z)
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
DIV_IN_GGA(0, y1) → U12_GGA(y1, U2_gga(=1_out_ag(0)))
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U3_gga(x0, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U5_gga(x1, =1_out_ga(x0)))
DIV_IN_GGA(0, y1) → U12_GGA(y1, U2_gga(=1_out_ag(0)))
minus_in_gga(X, Y) → U1_gga(=1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(Y, =1_in_ga(X))
U1_gga(=1_out_gg) → U2_gga(=1_in_ag(0))
U3_gga(X, =1_out_gg) → U4_gga(=1_in_ag(X))
U5_gga(Y, =1_out_ga(s(A))) → U6_gga(A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg
U2_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U4_gga(=1_out_ag(Z)) → minus_out_gga(Z)
=1_in_ga(X) → =1_out_ga(X)
U6_gga(A, =1_out_ga(s(B))) → U7_gga(minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X)
U7_gga(minus_out_gga(Z)) → minus_out_gga(Z)
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
DIV_IN_GGA(0, y1) → U12_GGA(y1, minus_out_gga(0))
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U3_gga(x0, =1_in_gg(x1, 0)))
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U5_gga(x1, =1_out_ga(x0)))
DIV_IN_GGA(0, y1) → U12_GGA(y1, minus_out_gga(0))
minus_in_gga(X, Y) → U1_gga(=1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(Y, =1_in_ga(X))
U1_gga(=1_out_gg) → U2_gga(=1_in_ag(0))
U3_gga(X, =1_out_gg) → U4_gga(=1_in_ag(X))
U5_gga(Y, =1_out_ga(s(A))) → U6_gga(A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg
U2_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U4_gga(=1_out_ag(Z)) → minus_out_gga(Z)
=1_in_ga(X) → =1_out_ga(X)
U6_gga(A, =1_out_ga(s(B))) → U7_gga(minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X)
U7_gga(minus_out_gga(Z)) → minus_out_gga(Z)
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
DIV_IN_GGA(y0, 0) → U12_GGA(0, U3_gga(y0, =1_out_gg))
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U5_gga(x1, =1_out_ga(x0)))
DIV_IN_GGA(0, y1) → U12_GGA(y1, minus_out_gga(0))
DIV_IN_GGA(y0, 0) → U12_GGA(0, U3_gga(y0, =1_out_gg))
minus_in_gga(X, Y) → U1_gga(=1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(Y, =1_in_ga(X))
U1_gga(=1_out_gg) → U2_gga(=1_in_ag(0))
U3_gga(X, =1_out_gg) → U4_gga(=1_in_ag(X))
U5_gga(Y, =1_out_ga(s(A))) → U6_gga(A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg
U2_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U4_gga(=1_out_ag(Z)) → minus_out_gga(Z)
=1_in_ga(X) → =1_out_ga(X)
U6_gga(A, =1_out_ga(s(B))) → U7_gga(minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X)
U7_gga(minus_out_gga(Z)) → minus_out_gga(Z)
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
DIV_IN_GGA(y0, 0) → U12_GGA(0, U4_gga(=1_in_ag(y0)))
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U5_gga(x1, =1_out_ga(x0)))
DIV_IN_GGA(0, y1) → U12_GGA(y1, minus_out_gga(0))
DIV_IN_GGA(y0, 0) → U12_GGA(0, U4_gga(=1_in_ag(y0)))
minus_in_gga(X, Y) → U1_gga(=1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(Y, =1_in_ga(X))
U1_gga(=1_out_gg) → U2_gga(=1_in_ag(0))
U3_gga(X, =1_out_gg) → U4_gga(=1_in_ag(X))
U5_gga(Y, =1_out_ga(s(A))) → U6_gga(A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg
U2_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U4_gga(=1_out_ag(Z)) → minus_out_gga(Z)
=1_in_ga(X) → =1_out_ga(X)
U6_gga(A, =1_out_ga(s(B))) → U7_gga(minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X)
U7_gga(minus_out_gga(Z)) → minus_out_gga(Z)
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
DIV_IN_GGA(y0, 0) → U12_GGA(0, U4_gga(=1_out_ag(y0)))
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U5_gga(x1, =1_out_ga(x0)))
DIV_IN_GGA(0, y1) → U12_GGA(y1, minus_out_gga(0))
DIV_IN_GGA(y0, 0) → U12_GGA(0, U4_gga(=1_out_ag(y0)))
minus_in_gga(X, Y) → U1_gga(=1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(Y, =1_in_ga(X))
U1_gga(=1_out_gg) → U2_gga(=1_in_ag(0))
U3_gga(X, =1_out_gg) → U4_gga(=1_in_ag(X))
U5_gga(Y, =1_out_ga(s(A))) → U6_gga(A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg
U2_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U4_gga(=1_out_ag(Z)) → minus_out_gga(Z)
=1_in_ga(X) → =1_out_ga(X)
U6_gga(A, =1_out_ga(s(B))) → U7_gga(minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X)
U7_gga(minus_out_gga(Z)) → minus_out_gga(Z)
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
DIV_IN_GGA(y0, 0) → U12_GGA(0, minus_out_gga(y0))
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U5_gga(x1, =1_out_ga(x0)))
DIV_IN_GGA(0, y1) → U12_GGA(y1, minus_out_gga(0))
DIV_IN_GGA(y0, 0) → U12_GGA(0, minus_out_gga(y0))
minus_in_gga(X, Y) → U1_gga(=1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(Y, =1_in_ga(X))
U1_gga(=1_out_gg) → U2_gga(=1_in_ag(0))
U3_gga(X, =1_out_gg) → U4_gga(=1_in_ag(X))
U5_gga(Y, =1_out_ga(s(A))) → U6_gga(A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg
U2_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U4_gga(=1_out_ag(Z)) → minus_out_gga(Z)
=1_in_ga(X) → =1_out_ga(X)
U6_gga(A, =1_out_ga(s(B))) → U7_gga(minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X)
U7_gga(minus_out_gga(Z)) → minus_out_gga(Z)
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
DIV_IN_GGA(x0, x1) → U12_GGA(x1, U5_gga(x1, =1_out_ga(x0)))
POL(0) = 0
POL(=1_in_ag(x1)) = x1
POL(=1_in_ga(x1)) = x1
POL(=1_in_gg(x1, x2)) = 0
POL(=1_out_ag(x1)) = x1
POL(=1_out_ga(x1)) = x1
POL(=1_out_gg) = 0
POL(DIV_IN_GGA(x1, x2)) = 1 + x1
POL(U12_GGA(x1, x2)) = x2
POL(U1_gga(x1)) = 1
POL(U2_gga(x1)) = 1 + x1
POL(U3_gga(x1, x2)) = 1 + x1
POL(U4_gga(x1)) = 1 + x1
POL(U5_gga(x1, x2)) = x2
POL(U6_gga(x1, x2)) = 1 + x1
POL(U7_gga(x1)) = x1
POL(minus_in_gga(x1, x2)) = 1 + x1
POL(minus_out_gga(x1)) = 1 + x1
POL(s(x1)) = 1 + x1
U5_gga(Y, =1_out_ga(s(A))) → U6_gga(A, =1_in_ga(Y))
minus_in_gga(X, Y) → U5_gga(Y, =1_in_ga(X))
=1_in_ga(X) → =1_out_ga(X)
U6_gga(A, =1_out_ga(s(B))) → U7_gga(minus_in_gga(A, B))
minus_in_gga(X, Y) → U1_gga(=1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, =1_in_gg(Y, 0))
U7_gga(minus_out_gga(Z)) → minus_out_gga(Z)
U1_gga(=1_out_gg) → U2_gga(=1_in_ag(0))
U3_gga(X, =1_out_gg) → U4_gga(=1_in_ag(X))
=1_in_ag(X) → =1_out_ag(X)
U2_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U4_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(0, y1) → U12_GGA(y1, minus_out_gga(0))
DIV_IN_GGA(y0, 0) → U12_GGA(0, minus_out_gga(y0))
minus_in_gga(X, Y) → U1_gga(=1_in_gg(X, 0))
minus_in_gga(X, Y) → U3_gga(X, =1_in_gg(Y, 0))
minus_in_gga(X, Y) → U5_gga(Y, =1_in_ga(X))
U1_gga(=1_out_gg) → U2_gga(=1_in_ag(0))
U3_gga(X, =1_out_gg) → U4_gga(=1_in_ag(X))
U5_gga(Y, =1_out_ga(s(A))) → U6_gga(A, =1_in_ga(Y))
=1_in_gg(X, X) → =1_out_gg
U2_gga(=1_out_ag(Z)) → minus_out_gga(Z)
U4_gga(=1_out_ag(Z)) → minus_out_gga(Z)
=1_in_ga(X) → =1_out_ga(X)
U6_gga(A, =1_out_ga(s(B))) → U7_gga(minus_in_gga(A, B))
=1_in_ag(X) → =1_out_ag(X)
U7_gga(minus_out_gga(Z)) → minus_out_gga(Z)
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(0, y1) → U12_GGA(y1, minus_out_gga(0))
DIV_IN_GGA(y0, 0) → U12_GGA(0, minus_out_gga(y0))
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
minus_in_gga(x0, x1)
U1_gga(x0)
U3_gga(x0, x1)
U5_gga(x0, x1)
=1_in_gg(x0, x1)
U2_gga(x0)
U4_gga(x0)
=1_in_ga(x0)
U6_gga(x0, x1)
=1_in_ag(x0)
U7_gga(x0)
U12_GGA(Y, minus_out_gga(U)) → DIV_IN_GGA(U, Y)
DIV_IN_GGA(0, y1) → U12_GGA(y1, minus_out_gga(0))
DIV_IN_GGA(y0, 0) → U12_GGA(0, minus_out_gga(y0))
U12_GGA(z0, minus_out_gga(0)) → DIV_IN_GGA(0, z0)
U12_GGA(0, minus_out_gga(z0)) → DIV_IN_GGA(z0, 0)
DIV_IN_GGA(0, y1) → U12_GGA(y1, minus_out_gga(0))
DIV_IN_GGA(y0, 0) → U12_GGA(0, minus_out_gga(y0))
U12_GGA(z0, minus_out_gga(0)) → DIV_IN_GGA(0, z0)
U12_GGA(0, minus_out_gga(z0)) → DIV_IN_GGA(z0, 0)
U12_GGA(z0, minus_out_gga(0)) → DIV_IN_GGA(0, z0)
U12_GGA(0, minus_out_gga(z0)) → DIV_IN_GGA(z0, 0)
DIV_IN_GGA(0, y1) → U12_GGA(y1, minus_out_gga(0))
DIV_IN_GGA(y0, 0) → U12_GGA(0, minus_out_gga(y0))
U12_GGA(z0, minus_out_gga(0)) → DIV_IN_GGA(0, z0)
U12_GGA(0, minus_out_gga(z0)) → DIV_IN_GGA(z0, 0)