0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇐)
↳2 Prolog
↳3 PrologToPiTRSProof (⇐)
↳4 PiTRS
↳5 DependencyPairsProof (⇔)
↳6 PiDP
↳7 DependencyGraphProof (⇔)
↳8 AND
↳9 PiDP
↳10 UsableRulesProof (⇔)
↳11 PiDP
↳12 PiDPToQDPProof (⇐)
↳13 QDP
↳14 QDPSizeChangeProof (⇔)
↳15 TRUE
↳16 PiDP
↳17 UsableRulesProof (⇔)
↳18 PiDP
↳19 PiDPToQDPProof (⇐)
↳20 QDP
↳21 QDPSizeChangeProof (⇔)
↳22 TRUE
↳23 PiDP
↳24 UsableRulesProof (⇔)
↳25 PiDP
↳26 PiDPToQDPProof (⇐)
↳27 QDP
↳28 QDPSizeChangeProof (⇔)
↳29 TRUE
↳30 PiDP
↳31 UsableRulesProof (⇔)
↳32 PiDP
↳33 PiDPToQDPProof (⇐)
↳34 QDP
↳35 QDPSizeChangeProof (⇔)
↳36 TRUE
↳37 PiDP
↳38 UsableRulesProof (⇔)
↳39 PiDP
↳40 PiDPToQDPProof (⇐)
↳41 QDP
↳42 QDPSizeChangeProof (⇔)
↳43 TRUE
↳44 PiDP
↳45 UsableRulesProof (⇔)
↳46 PiDP
↳47 PiDPToQDPProof (⇐)
↳48 QDP
↳49 QDPSizeChangeProof (⇔)
↳50 TRUE
↳51 PiDP
↳52 UsableRulesProof (⇔)
↳53 PiDP
↳54 PiDPToQDPProof (⇐)
↳55 QDP
↳56 QDPSizeChangeProof (⇔)
↳57 TRUE
↳58 PiDP
↳59 UsableRulesProof (⇔)
↳60 PiDP
↳61 PiDPToQDPProof (⇐)
↳62 QDP
↳63 QDPSizeChangeProof (⇔)
↳64 TRUE
↳65 PiDP
↳66 UsableRulesProof (⇔)
↳67 PiDP
↳68 PiDPToQDPProof (⇐)
↳69 QDP
↳70 MRRProof (⇔)
↳71 QDP
↳72 PisEmptyProof (⇔)
↳73 TRUE
div1_in_ggaa(0, T8, 0, 0) → div1_out_ggaa(0, T8, 0, 0)
div1_in_ggaa(s(T24), s(0), s(T20), T21) → U1_ggaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_ggaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
div1_in_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_ggaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
div1_in_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_ggaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
div1_in_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_ggaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_ggaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
minus61_in_gga(T44, 0, T44) → minus61_out_gga(T44, 0, T44)
minus61_in_gga(s(T45), s(T46), X104) → U10_gga(T45, T46, X104, minus61_in_gga(T45, T46, X104))
U10_gga(T45, T46, X104, minus61_out_gga(T45, T46, X104)) → minus61_out_gga(s(T45), s(T46), X104)
U7_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, X94)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_ggaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(0, T8, 0, 0) → div1_out_gaaa(0, T8, 0, 0)
div1_in_gaaa(s(T24), s(0), s(T20), T21) → U1_gaaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_ggaa(s(T62), s(T63), T64, s(T62)) → div1_out_ggaa(s(T62), s(T63), T64, s(T62))
div1_in_ggaa(T65, T66, T67, T65) → div1_out_ggaa(T65, T66, T67, T65)
U1_gaaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_gaaa(s(T24), s(0), s(T20), T21)
div1_in_gaaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_gaaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
U2_gaaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_gaaa(s(s(T27)), s(s(0)), s(T20), T21)
div1_in_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_gaaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
U3_gaaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
div1_in_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_gaaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
U4_gaaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_gaaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
U5_gaaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_gaaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
U6_gaaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
U7_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, X94)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_gaaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_gaaa(s(T62), s(T63), T64, s(T62)) → div1_out_gaaa(s(T62), s(T63), T64, s(T62))
div1_in_gaaa(T65, T66, T67, T65) → div1_out_gaaa(T65, T66, T67, T65)
U9_gaaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U9_ggaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U6_ggaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
U5_ggaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
U4_ggaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
U3_ggaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
U2_ggaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_ggaa(s(s(T27)), s(s(0)), s(T20), T21)
U1_ggaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_ggaa(s(T24), s(0), s(T20), T21)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
div1_in_ggaa(0, T8, 0, 0) → div1_out_ggaa(0, T8, 0, 0)
div1_in_ggaa(s(T24), s(0), s(T20), T21) → U1_ggaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_ggaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
div1_in_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_ggaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
div1_in_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_ggaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
div1_in_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_ggaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_ggaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
minus61_in_gga(T44, 0, T44) → minus61_out_gga(T44, 0, T44)
minus61_in_gga(s(T45), s(T46), X104) → U10_gga(T45, T46, X104, minus61_in_gga(T45, T46, X104))
U10_gga(T45, T46, X104, minus61_out_gga(T45, T46, X104)) → minus61_out_gga(s(T45), s(T46), X104)
U7_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, X94)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_ggaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(0, T8, 0, 0) → div1_out_gaaa(0, T8, 0, 0)
div1_in_gaaa(s(T24), s(0), s(T20), T21) → U1_gaaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_ggaa(s(T62), s(T63), T64, s(T62)) → div1_out_ggaa(s(T62), s(T63), T64, s(T62))
div1_in_ggaa(T65, T66, T67, T65) → div1_out_ggaa(T65, T66, T67, T65)
U1_gaaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_gaaa(s(T24), s(0), s(T20), T21)
div1_in_gaaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_gaaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
U2_gaaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_gaaa(s(s(T27)), s(s(0)), s(T20), T21)
div1_in_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_gaaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
U3_gaaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
div1_in_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_gaaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
U4_gaaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_gaaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
U5_gaaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_gaaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
U6_gaaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
U7_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, X94)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_gaaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_gaaa(s(T62), s(T63), T64, s(T62)) → div1_out_gaaa(s(T62), s(T63), T64, s(T62))
div1_in_gaaa(T65, T66, T67, T65) → div1_out_gaaa(T65, T66, T67, T65)
U9_gaaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U9_ggaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U6_ggaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
U5_ggaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
U4_ggaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
U3_ggaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
U2_ggaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_ggaa(s(s(T27)), s(s(0)), s(T20), T21)
U1_ggaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_ggaa(s(T24), s(0), s(T20), T21)
DIV1_IN_GGAA(s(T24), s(0), s(T20), T21) → U1_GGAA(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
DIV1_IN_GGAA(s(T24), s(0), s(T20), T21) → DIV1_IN_GGAA(T24, s(0), T20, T21)
DIV1_IN_GGAA(s(s(T27)), s(s(0)), s(T20), T21) → U2_GGAA(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
DIV1_IN_GGAA(s(s(T27)), s(s(0)), s(T20), T21) → DIV1_IN_GGAA(T27, s(s(0)), T20, T21)
DIV1_IN_GGAA(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_GGAA(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
DIV1_IN_GGAA(s(s(s(T30))), s(s(s(0))), s(T20), T21) → DIV1_IN_GGAA(T30, s(s(s(0))), T20, T21)
DIV1_IN_GGAA(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_GGAA(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
DIV1_IN_GGAA(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → DIV1_IN_GGAA(T33, s(s(s(s(0)))), T20, T21)
DIV1_IN_GGAA(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_GGAA(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
DIV1_IN_GGAA(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → DIV1_IN_GGAA(T36, s(s(s(s(s(0))))), T20, T21)
DIV1_IN_GGAA(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_GGAA(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
DIV1_IN_GGAA(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → DIV1_IN_GGAA(T39, s(s(s(s(s(s(0)))))), T20, T21)
DIV1_IN_GGAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_GGAA(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
DIV1_IN_GGAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → MINUS61_IN_GGA(T40, T41, X94)
MINUS61_IN_GGA(s(T45), s(T46), X104) → U10_GGA(T45, T46, X104, minus61_in_gga(T45, T46, X104))
MINUS61_IN_GGA(s(T45), s(T46), X104) → MINUS61_IN_GGA(T45, T46, X104)
DIV1_IN_GGAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_GGAA(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_GGAA(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_GGAA(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
U8_GGAA(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → DIV1_IN_GAAA(T43, s(T42), T20, T21)
DIV1_IN_GAAA(s(T24), s(0), s(T20), T21) → U1_GAAA(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
DIV1_IN_GAAA(s(T24), s(0), s(T20), T21) → DIV1_IN_GGAA(T24, s(0), T20, T21)
DIV1_IN_GAAA(s(s(T27)), s(s(0)), s(T20), T21) → U2_GAAA(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
DIV1_IN_GAAA(s(s(T27)), s(s(0)), s(T20), T21) → DIV1_IN_GGAA(T27, s(s(0)), T20, T21)
DIV1_IN_GAAA(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_GAAA(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
DIV1_IN_GAAA(s(s(s(T30))), s(s(s(0))), s(T20), T21) → DIV1_IN_GGAA(T30, s(s(s(0))), T20, T21)
DIV1_IN_GAAA(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_GAAA(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
DIV1_IN_GAAA(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → DIV1_IN_GGAA(T33, s(s(s(s(0)))), T20, T21)
DIV1_IN_GAAA(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_GAAA(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
DIV1_IN_GAAA(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → DIV1_IN_GGAA(T36, s(s(s(s(s(0))))), T20, T21)
DIV1_IN_GAAA(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_GAAA(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
DIV1_IN_GAAA(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → DIV1_IN_GGAA(T39, s(s(s(s(s(s(0)))))), T20, T21)
DIV1_IN_GAAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_GAAA(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
DIV1_IN_GAAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → MINUS61_IN_GAA(T40, T41, X94)
MINUS61_IN_GAA(s(T45), s(T46), X104) → U10_GAA(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
MINUS61_IN_GAA(s(T45), s(T46), X104) → MINUS61_IN_GAA(T45, T46, X104)
DIV1_IN_GAAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_GAAA(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_GAAA(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_GAAA(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
U8_GAAA(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → DIV1_IN_GAAA(T43, s(T42), T20, T21)
div1_in_ggaa(0, T8, 0, 0) → div1_out_ggaa(0, T8, 0, 0)
div1_in_ggaa(s(T24), s(0), s(T20), T21) → U1_ggaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_ggaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
div1_in_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_ggaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
div1_in_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_ggaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
div1_in_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_ggaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_ggaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
minus61_in_gga(T44, 0, T44) → minus61_out_gga(T44, 0, T44)
minus61_in_gga(s(T45), s(T46), X104) → U10_gga(T45, T46, X104, minus61_in_gga(T45, T46, X104))
U10_gga(T45, T46, X104, minus61_out_gga(T45, T46, X104)) → minus61_out_gga(s(T45), s(T46), X104)
U7_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, X94)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_ggaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(0, T8, 0, 0) → div1_out_gaaa(0, T8, 0, 0)
div1_in_gaaa(s(T24), s(0), s(T20), T21) → U1_gaaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_ggaa(s(T62), s(T63), T64, s(T62)) → div1_out_ggaa(s(T62), s(T63), T64, s(T62))
div1_in_ggaa(T65, T66, T67, T65) → div1_out_ggaa(T65, T66, T67, T65)
U1_gaaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_gaaa(s(T24), s(0), s(T20), T21)
div1_in_gaaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_gaaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
U2_gaaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_gaaa(s(s(T27)), s(s(0)), s(T20), T21)
div1_in_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_gaaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
U3_gaaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
div1_in_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_gaaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
U4_gaaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_gaaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
U5_gaaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_gaaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
U6_gaaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
U7_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, X94)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_gaaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_gaaa(s(T62), s(T63), T64, s(T62)) → div1_out_gaaa(s(T62), s(T63), T64, s(T62))
div1_in_gaaa(T65, T66, T67, T65) → div1_out_gaaa(T65, T66, T67, T65)
U9_gaaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U9_ggaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U6_ggaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
U5_ggaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
U4_ggaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
U3_ggaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
U2_ggaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_ggaa(s(s(T27)), s(s(0)), s(T20), T21)
U1_ggaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_ggaa(s(T24), s(0), s(T20), T21)
DIV1_IN_GGAA(s(T24), s(0), s(T20), T21) → U1_GGAA(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
DIV1_IN_GGAA(s(T24), s(0), s(T20), T21) → DIV1_IN_GGAA(T24, s(0), T20, T21)
DIV1_IN_GGAA(s(s(T27)), s(s(0)), s(T20), T21) → U2_GGAA(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
DIV1_IN_GGAA(s(s(T27)), s(s(0)), s(T20), T21) → DIV1_IN_GGAA(T27, s(s(0)), T20, T21)
DIV1_IN_GGAA(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_GGAA(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
DIV1_IN_GGAA(s(s(s(T30))), s(s(s(0))), s(T20), T21) → DIV1_IN_GGAA(T30, s(s(s(0))), T20, T21)
DIV1_IN_GGAA(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_GGAA(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
DIV1_IN_GGAA(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → DIV1_IN_GGAA(T33, s(s(s(s(0)))), T20, T21)
DIV1_IN_GGAA(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_GGAA(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
DIV1_IN_GGAA(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → DIV1_IN_GGAA(T36, s(s(s(s(s(0))))), T20, T21)
DIV1_IN_GGAA(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_GGAA(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
DIV1_IN_GGAA(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → DIV1_IN_GGAA(T39, s(s(s(s(s(s(0)))))), T20, T21)
DIV1_IN_GGAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_GGAA(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
DIV1_IN_GGAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → MINUS61_IN_GGA(T40, T41, X94)
MINUS61_IN_GGA(s(T45), s(T46), X104) → U10_GGA(T45, T46, X104, minus61_in_gga(T45, T46, X104))
MINUS61_IN_GGA(s(T45), s(T46), X104) → MINUS61_IN_GGA(T45, T46, X104)
DIV1_IN_GGAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_GGAA(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_GGAA(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_GGAA(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
U8_GGAA(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → DIV1_IN_GAAA(T43, s(T42), T20, T21)
DIV1_IN_GAAA(s(T24), s(0), s(T20), T21) → U1_GAAA(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
DIV1_IN_GAAA(s(T24), s(0), s(T20), T21) → DIV1_IN_GGAA(T24, s(0), T20, T21)
DIV1_IN_GAAA(s(s(T27)), s(s(0)), s(T20), T21) → U2_GAAA(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
DIV1_IN_GAAA(s(s(T27)), s(s(0)), s(T20), T21) → DIV1_IN_GGAA(T27, s(s(0)), T20, T21)
DIV1_IN_GAAA(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_GAAA(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
DIV1_IN_GAAA(s(s(s(T30))), s(s(s(0))), s(T20), T21) → DIV1_IN_GGAA(T30, s(s(s(0))), T20, T21)
DIV1_IN_GAAA(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_GAAA(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
DIV1_IN_GAAA(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → DIV1_IN_GGAA(T33, s(s(s(s(0)))), T20, T21)
DIV1_IN_GAAA(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_GAAA(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
DIV1_IN_GAAA(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → DIV1_IN_GGAA(T36, s(s(s(s(s(0))))), T20, T21)
DIV1_IN_GAAA(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_GAAA(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
DIV1_IN_GAAA(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → DIV1_IN_GGAA(T39, s(s(s(s(s(s(0)))))), T20, T21)
DIV1_IN_GAAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_GAAA(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
DIV1_IN_GAAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → MINUS61_IN_GAA(T40, T41, X94)
MINUS61_IN_GAA(s(T45), s(T46), X104) → U10_GAA(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
MINUS61_IN_GAA(s(T45), s(T46), X104) → MINUS61_IN_GAA(T45, T46, X104)
DIV1_IN_GAAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_GAAA(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_GAAA(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_GAAA(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
U8_GAAA(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → DIV1_IN_GAAA(T43, s(T42), T20, T21)
div1_in_ggaa(0, T8, 0, 0) → div1_out_ggaa(0, T8, 0, 0)
div1_in_ggaa(s(T24), s(0), s(T20), T21) → U1_ggaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_ggaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
div1_in_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_ggaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
div1_in_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_ggaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
div1_in_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_ggaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_ggaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
minus61_in_gga(T44, 0, T44) → minus61_out_gga(T44, 0, T44)
minus61_in_gga(s(T45), s(T46), X104) → U10_gga(T45, T46, X104, minus61_in_gga(T45, T46, X104))
U10_gga(T45, T46, X104, minus61_out_gga(T45, T46, X104)) → minus61_out_gga(s(T45), s(T46), X104)
U7_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, X94)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_ggaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(0, T8, 0, 0) → div1_out_gaaa(0, T8, 0, 0)
div1_in_gaaa(s(T24), s(0), s(T20), T21) → U1_gaaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_ggaa(s(T62), s(T63), T64, s(T62)) → div1_out_ggaa(s(T62), s(T63), T64, s(T62))
div1_in_ggaa(T65, T66, T67, T65) → div1_out_ggaa(T65, T66, T67, T65)
U1_gaaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_gaaa(s(T24), s(0), s(T20), T21)
div1_in_gaaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_gaaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
U2_gaaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_gaaa(s(s(T27)), s(s(0)), s(T20), T21)
div1_in_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_gaaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
U3_gaaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
div1_in_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_gaaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
U4_gaaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_gaaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
U5_gaaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_gaaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
U6_gaaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
U7_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, X94)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_gaaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_gaaa(s(T62), s(T63), T64, s(T62)) → div1_out_gaaa(s(T62), s(T63), T64, s(T62))
div1_in_gaaa(T65, T66, T67, T65) → div1_out_gaaa(T65, T66, T67, T65)
U9_gaaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U9_ggaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U6_ggaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
U5_ggaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
U4_ggaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
U3_ggaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
U2_ggaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_ggaa(s(s(T27)), s(s(0)), s(T20), T21)
U1_ggaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_ggaa(s(T24), s(0), s(T20), T21)
MINUS61_IN_GAA(s(T45), s(T46), X104) → MINUS61_IN_GAA(T45, T46, X104)
div1_in_ggaa(0, T8, 0, 0) → div1_out_ggaa(0, T8, 0, 0)
div1_in_ggaa(s(T24), s(0), s(T20), T21) → U1_ggaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_ggaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
div1_in_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_ggaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
div1_in_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_ggaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
div1_in_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_ggaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_ggaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
minus61_in_gga(T44, 0, T44) → minus61_out_gga(T44, 0, T44)
minus61_in_gga(s(T45), s(T46), X104) → U10_gga(T45, T46, X104, minus61_in_gga(T45, T46, X104))
U10_gga(T45, T46, X104, minus61_out_gga(T45, T46, X104)) → minus61_out_gga(s(T45), s(T46), X104)
U7_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, X94)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_ggaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(0, T8, 0, 0) → div1_out_gaaa(0, T8, 0, 0)
div1_in_gaaa(s(T24), s(0), s(T20), T21) → U1_gaaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_ggaa(s(T62), s(T63), T64, s(T62)) → div1_out_ggaa(s(T62), s(T63), T64, s(T62))
div1_in_ggaa(T65, T66, T67, T65) → div1_out_ggaa(T65, T66, T67, T65)
U1_gaaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_gaaa(s(T24), s(0), s(T20), T21)
div1_in_gaaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_gaaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
U2_gaaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_gaaa(s(s(T27)), s(s(0)), s(T20), T21)
div1_in_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_gaaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
U3_gaaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
div1_in_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_gaaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
U4_gaaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_gaaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
U5_gaaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_gaaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
U6_gaaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
U7_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, X94)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_gaaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_gaaa(s(T62), s(T63), T64, s(T62)) → div1_out_gaaa(s(T62), s(T63), T64, s(T62))
div1_in_gaaa(T65, T66, T67, T65) → div1_out_gaaa(T65, T66, T67, T65)
U9_gaaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U9_ggaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U6_ggaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
U5_ggaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
U4_ggaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
U3_ggaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
U2_ggaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_ggaa(s(s(T27)), s(s(0)), s(T20), T21)
U1_ggaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_ggaa(s(T24), s(0), s(T20), T21)
MINUS61_IN_GAA(s(T45), s(T46), X104) → MINUS61_IN_GAA(T45, T46, X104)
MINUS61_IN_GAA(s(T45)) → MINUS61_IN_GAA(T45)
From the DPs we obtained the following set of size-change graphs:
MINUS61_IN_GGA(s(T45), s(T46), X104) → MINUS61_IN_GGA(T45, T46, X104)
div1_in_ggaa(0, T8, 0, 0) → div1_out_ggaa(0, T8, 0, 0)
div1_in_ggaa(s(T24), s(0), s(T20), T21) → U1_ggaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_ggaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
div1_in_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_ggaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
div1_in_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_ggaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
div1_in_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_ggaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_ggaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
minus61_in_gga(T44, 0, T44) → minus61_out_gga(T44, 0, T44)
minus61_in_gga(s(T45), s(T46), X104) → U10_gga(T45, T46, X104, minus61_in_gga(T45, T46, X104))
U10_gga(T45, T46, X104, minus61_out_gga(T45, T46, X104)) → minus61_out_gga(s(T45), s(T46), X104)
U7_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, X94)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_ggaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(0, T8, 0, 0) → div1_out_gaaa(0, T8, 0, 0)
div1_in_gaaa(s(T24), s(0), s(T20), T21) → U1_gaaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_ggaa(s(T62), s(T63), T64, s(T62)) → div1_out_ggaa(s(T62), s(T63), T64, s(T62))
div1_in_ggaa(T65, T66, T67, T65) → div1_out_ggaa(T65, T66, T67, T65)
U1_gaaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_gaaa(s(T24), s(0), s(T20), T21)
div1_in_gaaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_gaaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
U2_gaaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_gaaa(s(s(T27)), s(s(0)), s(T20), T21)
div1_in_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_gaaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
U3_gaaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
div1_in_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_gaaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
U4_gaaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_gaaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
U5_gaaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_gaaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
U6_gaaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
U7_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, X94)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_gaaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_gaaa(s(T62), s(T63), T64, s(T62)) → div1_out_gaaa(s(T62), s(T63), T64, s(T62))
div1_in_gaaa(T65, T66, T67, T65) → div1_out_gaaa(T65, T66, T67, T65)
U9_gaaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U9_ggaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U6_ggaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
U5_ggaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
U4_ggaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
U3_ggaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
U2_ggaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_ggaa(s(s(T27)), s(s(0)), s(T20), T21)
U1_ggaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_ggaa(s(T24), s(0), s(T20), T21)
MINUS61_IN_GGA(s(T45), s(T46), X104) → MINUS61_IN_GGA(T45, T46, X104)
MINUS61_IN_GGA(s(T45), s(T46)) → MINUS61_IN_GGA(T45, T46)
From the DPs we obtained the following set of size-change graphs:
DIV1_IN_GGAA(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → DIV1_IN_GGAA(T39, s(s(s(s(s(s(0)))))), T20, T21)
div1_in_ggaa(0, T8, 0, 0) → div1_out_ggaa(0, T8, 0, 0)
div1_in_ggaa(s(T24), s(0), s(T20), T21) → U1_ggaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_ggaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
div1_in_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_ggaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
div1_in_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_ggaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
div1_in_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_ggaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_ggaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
minus61_in_gga(T44, 0, T44) → minus61_out_gga(T44, 0, T44)
minus61_in_gga(s(T45), s(T46), X104) → U10_gga(T45, T46, X104, minus61_in_gga(T45, T46, X104))
U10_gga(T45, T46, X104, minus61_out_gga(T45, T46, X104)) → minus61_out_gga(s(T45), s(T46), X104)
U7_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, X94)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_ggaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(0, T8, 0, 0) → div1_out_gaaa(0, T8, 0, 0)
div1_in_gaaa(s(T24), s(0), s(T20), T21) → U1_gaaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_ggaa(s(T62), s(T63), T64, s(T62)) → div1_out_ggaa(s(T62), s(T63), T64, s(T62))
div1_in_ggaa(T65, T66, T67, T65) → div1_out_ggaa(T65, T66, T67, T65)
U1_gaaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_gaaa(s(T24), s(0), s(T20), T21)
div1_in_gaaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_gaaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
U2_gaaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_gaaa(s(s(T27)), s(s(0)), s(T20), T21)
div1_in_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_gaaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
U3_gaaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
div1_in_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_gaaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
U4_gaaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_gaaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
U5_gaaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_gaaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
U6_gaaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
U7_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, X94)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_gaaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_gaaa(s(T62), s(T63), T64, s(T62)) → div1_out_gaaa(s(T62), s(T63), T64, s(T62))
div1_in_gaaa(T65, T66, T67, T65) → div1_out_gaaa(T65, T66, T67, T65)
U9_gaaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U9_ggaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U6_ggaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
U5_ggaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
U4_ggaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
U3_ggaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
U2_ggaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_ggaa(s(s(T27)), s(s(0)), s(T20), T21)
U1_ggaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_ggaa(s(T24), s(0), s(T20), T21)
DIV1_IN_GGAA(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → DIV1_IN_GGAA(T39, s(s(s(s(s(s(0)))))), T20, T21)
DIV1_IN_GGAA(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0))))))) → DIV1_IN_GGAA(T39, s(s(s(s(s(s(0)))))))
From the DPs we obtained the following set of size-change graphs:
DIV1_IN_GGAA(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → DIV1_IN_GGAA(T36, s(s(s(s(s(0))))), T20, T21)
div1_in_ggaa(0, T8, 0, 0) → div1_out_ggaa(0, T8, 0, 0)
div1_in_ggaa(s(T24), s(0), s(T20), T21) → U1_ggaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_ggaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
div1_in_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_ggaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
div1_in_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_ggaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
div1_in_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_ggaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_ggaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
minus61_in_gga(T44, 0, T44) → minus61_out_gga(T44, 0, T44)
minus61_in_gga(s(T45), s(T46), X104) → U10_gga(T45, T46, X104, minus61_in_gga(T45, T46, X104))
U10_gga(T45, T46, X104, minus61_out_gga(T45, T46, X104)) → minus61_out_gga(s(T45), s(T46), X104)
U7_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, X94)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_ggaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(0, T8, 0, 0) → div1_out_gaaa(0, T8, 0, 0)
div1_in_gaaa(s(T24), s(0), s(T20), T21) → U1_gaaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_ggaa(s(T62), s(T63), T64, s(T62)) → div1_out_ggaa(s(T62), s(T63), T64, s(T62))
div1_in_ggaa(T65, T66, T67, T65) → div1_out_ggaa(T65, T66, T67, T65)
U1_gaaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_gaaa(s(T24), s(0), s(T20), T21)
div1_in_gaaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_gaaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
U2_gaaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_gaaa(s(s(T27)), s(s(0)), s(T20), T21)
div1_in_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_gaaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
U3_gaaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
div1_in_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_gaaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
U4_gaaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_gaaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
U5_gaaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_gaaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
U6_gaaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
U7_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, X94)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_gaaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_gaaa(s(T62), s(T63), T64, s(T62)) → div1_out_gaaa(s(T62), s(T63), T64, s(T62))
div1_in_gaaa(T65, T66, T67, T65) → div1_out_gaaa(T65, T66, T67, T65)
U9_gaaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U9_ggaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U6_ggaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
U5_ggaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
U4_ggaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
U3_ggaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
U2_ggaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_ggaa(s(s(T27)), s(s(0)), s(T20), T21)
U1_ggaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_ggaa(s(T24), s(0), s(T20), T21)
DIV1_IN_GGAA(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → DIV1_IN_GGAA(T36, s(s(s(s(s(0))))), T20, T21)
DIV1_IN_GGAA(s(s(s(s(s(T36))))), s(s(s(s(s(0)))))) → DIV1_IN_GGAA(T36, s(s(s(s(s(0))))))
From the DPs we obtained the following set of size-change graphs:
DIV1_IN_GGAA(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → DIV1_IN_GGAA(T33, s(s(s(s(0)))), T20, T21)
div1_in_ggaa(0, T8, 0, 0) → div1_out_ggaa(0, T8, 0, 0)
div1_in_ggaa(s(T24), s(0), s(T20), T21) → U1_ggaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_ggaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
div1_in_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_ggaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
div1_in_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_ggaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
div1_in_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_ggaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_ggaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
minus61_in_gga(T44, 0, T44) → minus61_out_gga(T44, 0, T44)
minus61_in_gga(s(T45), s(T46), X104) → U10_gga(T45, T46, X104, minus61_in_gga(T45, T46, X104))
U10_gga(T45, T46, X104, minus61_out_gga(T45, T46, X104)) → minus61_out_gga(s(T45), s(T46), X104)
U7_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, X94)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_ggaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(0, T8, 0, 0) → div1_out_gaaa(0, T8, 0, 0)
div1_in_gaaa(s(T24), s(0), s(T20), T21) → U1_gaaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_ggaa(s(T62), s(T63), T64, s(T62)) → div1_out_ggaa(s(T62), s(T63), T64, s(T62))
div1_in_ggaa(T65, T66, T67, T65) → div1_out_ggaa(T65, T66, T67, T65)
U1_gaaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_gaaa(s(T24), s(0), s(T20), T21)
div1_in_gaaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_gaaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
U2_gaaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_gaaa(s(s(T27)), s(s(0)), s(T20), T21)
div1_in_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_gaaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
U3_gaaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
div1_in_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_gaaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
U4_gaaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_gaaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
U5_gaaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_gaaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
U6_gaaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
U7_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, X94)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_gaaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_gaaa(s(T62), s(T63), T64, s(T62)) → div1_out_gaaa(s(T62), s(T63), T64, s(T62))
div1_in_gaaa(T65, T66, T67, T65) → div1_out_gaaa(T65, T66, T67, T65)
U9_gaaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U9_ggaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U6_ggaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
U5_ggaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
U4_ggaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
U3_ggaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
U2_ggaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_ggaa(s(s(T27)), s(s(0)), s(T20), T21)
U1_ggaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_ggaa(s(T24), s(0), s(T20), T21)
DIV1_IN_GGAA(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → DIV1_IN_GGAA(T33, s(s(s(s(0)))), T20, T21)
DIV1_IN_GGAA(s(s(s(s(T33)))), s(s(s(s(0))))) → DIV1_IN_GGAA(T33, s(s(s(s(0)))))
From the DPs we obtained the following set of size-change graphs:
DIV1_IN_GGAA(s(s(s(T30))), s(s(s(0))), s(T20), T21) → DIV1_IN_GGAA(T30, s(s(s(0))), T20, T21)
div1_in_ggaa(0, T8, 0, 0) → div1_out_ggaa(0, T8, 0, 0)
div1_in_ggaa(s(T24), s(0), s(T20), T21) → U1_ggaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_ggaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
div1_in_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_ggaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
div1_in_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_ggaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
div1_in_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_ggaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_ggaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
minus61_in_gga(T44, 0, T44) → minus61_out_gga(T44, 0, T44)
minus61_in_gga(s(T45), s(T46), X104) → U10_gga(T45, T46, X104, minus61_in_gga(T45, T46, X104))
U10_gga(T45, T46, X104, minus61_out_gga(T45, T46, X104)) → minus61_out_gga(s(T45), s(T46), X104)
U7_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, X94)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_ggaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(0, T8, 0, 0) → div1_out_gaaa(0, T8, 0, 0)
div1_in_gaaa(s(T24), s(0), s(T20), T21) → U1_gaaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_ggaa(s(T62), s(T63), T64, s(T62)) → div1_out_ggaa(s(T62), s(T63), T64, s(T62))
div1_in_ggaa(T65, T66, T67, T65) → div1_out_ggaa(T65, T66, T67, T65)
U1_gaaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_gaaa(s(T24), s(0), s(T20), T21)
div1_in_gaaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_gaaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
U2_gaaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_gaaa(s(s(T27)), s(s(0)), s(T20), T21)
div1_in_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_gaaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
U3_gaaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
div1_in_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_gaaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
U4_gaaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_gaaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
U5_gaaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_gaaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
U6_gaaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
U7_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, X94)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_gaaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_gaaa(s(T62), s(T63), T64, s(T62)) → div1_out_gaaa(s(T62), s(T63), T64, s(T62))
div1_in_gaaa(T65, T66, T67, T65) → div1_out_gaaa(T65, T66, T67, T65)
U9_gaaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U9_ggaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U6_ggaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
U5_ggaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
U4_ggaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
U3_ggaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
U2_ggaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_ggaa(s(s(T27)), s(s(0)), s(T20), T21)
U1_ggaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_ggaa(s(T24), s(0), s(T20), T21)
DIV1_IN_GGAA(s(s(s(T30))), s(s(s(0))), s(T20), T21) → DIV1_IN_GGAA(T30, s(s(s(0))), T20, T21)
DIV1_IN_GGAA(s(s(s(T30))), s(s(s(0)))) → DIV1_IN_GGAA(T30, s(s(s(0))))
From the DPs we obtained the following set of size-change graphs:
DIV1_IN_GGAA(s(s(T27)), s(s(0)), s(T20), T21) → DIV1_IN_GGAA(T27, s(s(0)), T20, T21)
div1_in_ggaa(0, T8, 0, 0) → div1_out_ggaa(0, T8, 0, 0)
div1_in_ggaa(s(T24), s(0), s(T20), T21) → U1_ggaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_ggaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
div1_in_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_ggaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
div1_in_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_ggaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
div1_in_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_ggaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_ggaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
minus61_in_gga(T44, 0, T44) → minus61_out_gga(T44, 0, T44)
minus61_in_gga(s(T45), s(T46), X104) → U10_gga(T45, T46, X104, minus61_in_gga(T45, T46, X104))
U10_gga(T45, T46, X104, minus61_out_gga(T45, T46, X104)) → minus61_out_gga(s(T45), s(T46), X104)
U7_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, X94)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_ggaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(0, T8, 0, 0) → div1_out_gaaa(0, T8, 0, 0)
div1_in_gaaa(s(T24), s(0), s(T20), T21) → U1_gaaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_ggaa(s(T62), s(T63), T64, s(T62)) → div1_out_ggaa(s(T62), s(T63), T64, s(T62))
div1_in_ggaa(T65, T66, T67, T65) → div1_out_ggaa(T65, T66, T67, T65)
U1_gaaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_gaaa(s(T24), s(0), s(T20), T21)
div1_in_gaaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_gaaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
U2_gaaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_gaaa(s(s(T27)), s(s(0)), s(T20), T21)
div1_in_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_gaaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
U3_gaaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
div1_in_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_gaaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
U4_gaaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_gaaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
U5_gaaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_gaaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
U6_gaaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
U7_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, X94)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_gaaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_gaaa(s(T62), s(T63), T64, s(T62)) → div1_out_gaaa(s(T62), s(T63), T64, s(T62))
div1_in_gaaa(T65, T66, T67, T65) → div1_out_gaaa(T65, T66, T67, T65)
U9_gaaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U9_ggaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U6_ggaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
U5_ggaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
U4_ggaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
U3_ggaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
U2_ggaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_ggaa(s(s(T27)), s(s(0)), s(T20), T21)
U1_ggaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_ggaa(s(T24), s(0), s(T20), T21)
DIV1_IN_GGAA(s(s(T27)), s(s(0)), s(T20), T21) → DIV1_IN_GGAA(T27, s(s(0)), T20, T21)
DIV1_IN_GGAA(s(s(T27)), s(s(0))) → DIV1_IN_GGAA(T27, s(s(0)))
From the DPs we obtained the following set of size-change graphs:
DIV1_IN_GGAA(s(T24), s(0), s(T20), T21) → DIV1_IN_GGAA(T24, s(0), T20, T21)
div1_in_ggaa(0, T8, 0, 0) → div1_out_ggaa(0, T8, 0, 0)
div1_in_ggaa(s(T24), s(0), s(T20), T21) → U1_ggaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_ggaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
div1_in_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_ggaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
div1_in_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_ggaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
div1_in_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_ggaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_ggaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
minus61_in_gga(T44, 0, T44) → minus61_out_gga(T44, 0, T44)
minus61_in_gga(s(T45), s(T46), X104) → U10_gga(T45, T46, X104, minus61_in_gga(T45, T46, X104))
U10_gga(T45, T46, X104, minus61_out_gga(T45, T46, X104)) → minus61_out_gga(s(T45), s(T46), X104)
U7_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, X94)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_ggaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(0, T8, 0, 0) → div1_out_gaaa(0, T8, 0, 0)
div1_in_gaaa(s(T24), s(0), s(T20), T21) → U1_gaaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_ggaa(s(T62), s(T63), T64, s(T62)) → div1_out_ggaa(s(T62), s(T63), T64, s(T62))
div1_in_ggaa(T65, T66, T67, T65) → div1_out_ggaa(T65, T66, T67, T65)
U1_gaaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_gaaa(s(T24), s(0), s(T20), T21)
div1_in_gaaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_gaaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
U2_gaaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_gaaa(s(s(T27)), s(s(0)), s(T20), T21)
div1_in_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_gaaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
U3_gaaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
div1_in_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_gaaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
U4_gaaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_gaaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
U5_gaaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_gaaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
U6_gaaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
U7_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, X94)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_gaaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_gaaa(s(T62), s(T63), T64, s(T62)) → div1_out_gaaa(s(T62), s(T63), T64, s(T62))
div1_in_gaaa(T65, T66, T67, T65) → div1_out_gaaa(T65, T66, T67, T65)
U9_gaaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U9_ggaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U6_ggaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
U5_ggaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
U4_ggaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
U3_ggaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
U2_ggaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_ggaa(s(s(T27)), s(s(0)), s(T20), T21)
U1_ggaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_ggaa(s(T24), s(0), s(T20), T21)
DIV1_IN_GGAA(s(T24), s(0), s(T20), T21) → DIV1_IN_GGAA(T24, s(0), T20, T21)
DIV1_IN_GGAA(s(T24), s(0)) → DIV1_IN_GGAA(T24, s(0))
From the DPs we obtained the following set of size-change graphs:
DIV1_IN_GAAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_GAAA(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_GAAA(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → DIV1_IN_GAAA(T43, s(T42), T20, T21)
div1_in_ggaa(0, T8, 0, 0) → div1_out_ggaa(0, T8, 0, 0)
div1_in_ggaa(s(T24), s(0), s(T20), T21) → U1_ggaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_ggaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
div1_in_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_ggaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
div1_in_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_ggaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
div1_in_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_ggaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_ggaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, X94))
minus61_in_gga(T44, 0, T44) → minus61_out_gga(T44, 0, T44)
minus61_in_gga(s(T45), s(T46), X104) → U10_gga(T45, T46, X104, minus61_in_gga(T45, T46, X104))
U10_gga(T45, T46, X104, minus61_out_gga(T45, T46, X104)) → minus61_out_gga(s(T45), s(T46), X104)
U7_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, X94)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_ggaa(T40, T41, T20, T21, minus61_in_gga(T40, T41, T43))
U8_ggaa(T40, T41, T20, T21, minus61_out_gga(T40, T41, T43)) → U9_ggaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(0, T8, 0, 0) → div1_out_gaaa(0, T8, 0, 0)
div1_in_gaaa(s(T24), s(0), s(T20), T21) → U1_gaaa(T24, T20, T21, div1_in_ggaa(T24, s(0), T20, T21))
div1_in_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_ggaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_ggaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_ggaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_ggaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_ggaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_ggaa(s(T62), s(T63), T64, s(T62)) → div1_out_ggaa(s(T62), s(T63), T64, s(T62))
div1_in_ggaa(T65, T66, T67, T65) → div1_out_ggaa(T65, T66, T67, T65)
U1_gaaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_gaaa(s(T24), s(0), s(T20), T21)
div1_in_gaaa(s(s(T27)), s(s(0)), s(T20), T21) → U2_gaaa(T27, T20, T21, div1_in_ggaa(T27, s(s(0)), T20, T21))
U2_gaaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_gaaa(s(s(T27)), s(s(0)), s(T20), T21)
div1_in_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21) → U3_gaaa(T30, T20, T21, div1_in_ggaa(T30, s(s(s(0))), T20, T21))
U3_gaaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_gaaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
div1_in_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21) → U4_gaaa(T33, T20, T21, div1_in_ggaa(T33, s(s(s(s(0)))), T20, T21))
U4_gaaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_gaaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21) → U5_gaaa(T36, T20, T21, div1_in_ggaa(T36, s(s(s(s(s(0))))), T20, T21))
U5_gaaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21) → U6_gaaa(T39, T20, T21, div1_in_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21))
U6_gaaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U7_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, X94))
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
U7_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, X94)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
div1_in_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_gaaa(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_gaaa(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → U9_gaaa(T40, T41, T20, T21, div1_in_gaaa(T43, s(T42), T20, T21))
div1_in_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47))))))) → div1_out_gaaa(s(s(s(s(s(s(T47)))))), s(s(s(s(s(s(T48)))))), T49, s(s(s(s(s(s(T47)))))))
div1_in_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50)))))) → div1_out_gaaa(s(s(s(s(s(T50))))), s(s(s(s(s(T51))))), T52, s(s(s(s(s(T50))))))
div1_in_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53))))) → div1_out_gaaa(s(s(s(s(T53)))), s(s(s(s(T54)))), T55, s(s(s(s(T53)))))
div1_in_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56)))) → div1_out_gaaa(s(s(s(T56))), s(s(s(T57))), T58, s(s(s(T56))))
div1_in_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59))) → div1_out_gaaa(s(s(T59)), s(s(T60)), T61, s(s(T59)))
div1_in_gaaa(s(T62), s(T63), T64, s(T62)) → div1_out_gaaa(s(T62), s(T63), T64, s(T62))
div1_in_gaaa(T65, T66, T67, T65) → div1_out_gaaa(T65, T66, T67, T65)
U9_gaaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_gaaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U9_ggaa(T40, T41, T20, T21, div1_out_gaaa(T43, s(T42), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21)
U6_ggaa(T39, T20, T21, div1_out_ggaa(T39, s(s(s(s(s(s(0)))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(s(T39)))))), s(s(s(s(s(s(0)))))), s(T20), T21)
U5_ggaa(T36, T20, T21, div1_out_ggaa(T36, s(s(s(s(s(0))))), T20, T21)) → div1_out_ggaa(s(s(s(s(s(T36))))), s(s(s(s(s(0))))), s(T20), T21)
U4_ggaa(T33, T20, T21, div1_out_ggaa(T33, s(s(s(s(0)))), T20, T21)) → div1_out_ggaa(s(s(s(s(T33)))), s(s(s(s(0)))), s(T20), T21)
U3_ggaa(T30, T20, T21, div1_out_ggaa(T30, s(s(s(0))), T20, T21)) → div1_out_ggaa(s(s(s(T30))), s(s(s(0))), s(T20), T21)
U2_ggaa(T27, T20, T21, div1_out_ggaa(T27, s(s(0)), T20, T21)) → div1_out_ggaa(s(s(T27)), s(s(0)), s(T20), T21)
U1_ggaa(T24, T20, T21, div1_out_ggaa(T24, s(0), T20, T21)) → div1_out_ggaa(s(T24), s(0), s(T20), T21)
DIV1_IN_GAAA(s(s(s(s(s(s(s(T40))))))), s(s(s(s(s(s(s(T41))))))), s(T20), T21) → U8_GAAA(T40, T41, T20, T21, minus61_in_gaa(T40, T41, T43))
U8_GAAA(T40, T41, T20, T21, minus61_out_gaa(T40, T41, T43)) → DIV1_IN_GAAA(T43, s(T42), T20, T21)
minus61_in_gaa(T44, 0, T44) → minus61_out_gaa(T44, 0, T44)
minus61_in_gaa(s(T45), s(T46), X104) → U10_gaa(T45, T46, X104, minus61_in_gaa(T45, T46, X104))
U10_gaa(T45, T46, X104, minus61_out_gaa(T45, T46, X104)) → minus61_out_gaa(s(T45), s(T46), X104)
DIV1_IN_GAAA(s(s(s(s(s(s(s(T40)))))))) → U8_GAAA(minus61_in_gaa(T40))
U8_GAAA(minus61_out_gaa(T41, T43)) → DIV1_IN_GAAA(T43)
minus61_in_gaa(T44) → minus61_out_gaa(0, T44)
minus61_in_gaa(s(T45)) → U10_gaa(minus61_in_gaa(T45))
U10_gaa(minus61_out_gaa(T46, X104)) → minus61_out_gaa(s(T46), X104)
minus61_in_gaa(x0)
U10_gaa(x0)
DIV1_IN_GAAA(s(s(s(s(s(s(s(T40)))))))) → U8_GAAA(minus61_in_gaa(T40))
U8_GAAA(minus61_out_gaa(T41, T43)) → DIV1_IN_GAAA(T43)
minus61_in_gaa(T44) → minus61_out_gaa(0, T44)
POL(0) = 0
POL(DIV1_IN_GAAA(x1)) = x1
POL(U10_gaa(x1)) = 1 + x1
POL(U8_GAAA(x1)) = x1
POL(minus61_in_gaa(x1)) = 2 + x1
POL(minus61_out_gaa(x1, x2)) = 1 + x1 + x2
POL(s(x1)) = 1 + x1
minus61_in_gaa(s(T45)) → U10_gaa(minus61_in_gaa(T45))
U10_gaa(minus61_out_gaa(T46, X104)) → minus61_out_gaa(s(T46), X104)
minus61_in_gaa(x0)
U10_gaa(x0)