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 Narrowing (⇐)
↳15 QDP
↳16 NonTerminationProof (⇔)
↳17 NO
↳18 PiDP
↳19 UsableRulesProof (⇔)
↳20 PiDP
↳21 PiDPToQDPProof (⇐)
↳22 QDP
↳23 NonTerminationProof (⇔)
↳24 NO
↳25 PiDP
↳26 UsableRulesProof (⇔)
↳27 PiDP
↳28 PiDPToQDPProof (⇐)
↳29 QDP
↳30 QDPSizeChangeProof (⇔)
↳31 YES
↳32 PiDP
↳33 UsableRulesProof (⇔)
↳34 PiDP
↳35 PiDPToQDPProof (⇐)
↳36 QDP
↳37 QDPSizeChangeProof (⇔)
↳38 YES
↳39 PiDP
↳40 UsableRulesProof (⇔)
↳41 PiDP
↳42 PiDPToQDPProof (⇐)
↳43 QDP
↳44 QDPSizeChangeProof (⇔)
↳45 YES
↳46 PiDP
↳47 UsableRulesProof (⇔)
↳48 PiDP
↳49 PiDPToQDPProof (⇐)
↳50 QDP
↳51 QDPSizeChangeProof (⇔)
↳52 YES
↳53 PrologToPiTRSProof (⇐)
↳54 PiTRS
↳55 DependencyPairsProof (⇔)
↳56 PiDP
↳57 DependencyGraphProof (⇔)
↳58 AND
↳59 PiDP
↳60 UsableRulesProof (⇔)
↳61 PiDP
↳62 PiDPToQDPProof (⇐)
↳63 QDP
↳64 Narrowing (⇐)
↳65 QDP
↳66 NonTerminationProof (⇔)
↳67 NO
↳68 PiDP
↳69 UsableRulesProof (⇔)
↳70 PiDP
↳71 PiDPToQDPProof (⇐)
↳72 QDP
↳73 NonTerminationProof (⇔)
↳74 NO
↳75 PiDP
↳76 UsableRulesProof (⇔)
↳77 PiDP
↳78 PiDPToQDPProof (⇐)
↳79 QDP
↳80 QDPSizeChangeProof (⇔)
↳81 YES
↳82 PiDP
↳83 UsableRulesProof (⇔)
↳84 PiDP
↳85 PiDPToQDPProof (⇐)
↳86 QDP
↳87 QDPSizeChangeProof (⇔)
↳88 YES
↳89 PiDP
↳90 UsableRulesProof (⇔)
↳91 PiDP
↳92 PiDPToQDPProof (⇐)
↳93 QDP
↳94 QDPSizeChangeProof (⇔)
↳95 YES
↳96 PiDP
↳97 UsableRulesProof (⇔)
↳98 PiDP
↳99 PiDPToQDPProof (⇐)
↳100 QDP
↳101 QDPSizeChangeProof (⇔)
↳102 YES
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P1_IN_AG(d(d(T10)), const(1)) → U54_AG(T10, p9_in_aa(T10, X14))
P1_IN_AG(d(d(T10)), const(1)) → P9_IN_AA(T10, X14)
P9_IN_AA(e(t), const(1)) → U6_AA(p1_in_gg(d(e(const(1))), const(1)))
P9_IN_AA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(1))
P1_IN_GG(d(d(T10)), const(1)) → U54_GG(T10, p9_in_ga(T10, X14))
P1_IN_GG(d(d(T10)), const(1)) → P9_IN_GA(T10, X14)
P9_IN_GA(e(t), const(1)) → U6_GA(p1_in_gg(d(e(const(1))), const(1)))
P9_IN_GA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(1))
P1_IN_GG(d(d(T135)), const(0)) → U55_GG(T135, p90_in_ga(T135, X334))
P1_IN_GG(d(d(T135)), const(0)) → P90_IN_GA(T135, X334)
P90_IN_GA(e(t), const(1)) → U28_GA(p1_in_gg(d(e(const(1))), const(0)))
P90_IN_GA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(0))
P1_IN_GG(d(e(+(t, T197))), +(const(1), T194)) → U56_GG(T197, T194, p1_in_gg(d(e(T197)), T194))
P1_IN_GG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_GG(d(e(T197)), T194)
P1_IN_GG(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_GG(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
P1_IN_GG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_GG(d(e(T203)), T194)
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_GG(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194)
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → U45_GGGGGG(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_GG(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGGG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGGG(T224, T222, T227, T223, T228, T194) → U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_GG(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T228, T194) → U48_GGGG(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
P137_IN_GGGG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P1_IN_GG(d(d(T280)), +(T278, T279)) → U61_GG(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
P1_IN_GG(d(d(T280)), +(T278, T279)) → P150_IN_GAGG(T280, X551, T278, T279)
P150_IN_GAGG(T280, X551, T278, T279) → U51_GAGG(T280, X551, T278, T279, p60_in_ga(T280, X551))
P150_IN_GAGG(T280, X551, T278, T279) → P60_IN_GA(T280, X551)
P60_IN_GA(e(+(T108, T109)), +(X266, X267)) → U23_GA(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
P60_IN_GA(e(+(T108, T109)), +(X266, X267)) → P39_IN_GAGA(T108, X266, T109, X267)
P39_IN_GAGA(T45, X117, T46, X118) → U3_GAGA(T45, X117, T46, X118, p24_in_ga(T45, X117))
P39_IN_GAGA(T45, X117, T46, X118) → P24_IN_GA(T45, X117)
P24_IN_GA(+(T45, T46), +(X117, X118)) → U1_GA(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
P24_IN_GA(+(T45, T46), +(X117, X118)) → P39_IN_GAGA(T45, X117, T46, X118)
P39_IN_GAGA(T45, T47, T48, X118) → U4_GAGA(T45, T47, T48, X118, p24_in_ga(T45, T47))
P24_IN_GA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_GA(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
P24_IN_GA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_GAGA(T59, X152, T60, X151)
U4_GAGA(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_GAGA(T45, T47, T48, X118, p24_in_ga(T48, X118))
U4_GAGA(T45, T47, T48, X118, p24_out_ga(T45, T47)) → P24_IN_GA(T48, X118)
P60_IN_GA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_GA(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
P60_IN_GA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → P39_IN_GAGA(T120, X301, T121, X300)
P60_IN_GA(d(T125), X316) → U25_GA(T125, X316, p60_in_ga(T125, X315))
P60_IN_GA(d(T125), X316) → P60_IN_GA(T125, X315)
P60_IN_GA(d(T125), X316) → U26_GA(T125, X316, p60_in_ga(T125, T126))
U26_GA(T125, X316, p60_out_ga(T125, T126)) → U27_GA(T125, X316, p24_in_aa(T126, X316))
U26_GA(T125, X316, p60_out_ga(T125, T126)) → P24_IN_AA(T126, X316)
P24_IN_AA(+(T45, T46), +(X117, X118)) → U1_AA(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
P24_IN_AA(+(T45, T46), +(X117, X118)) → P39_IN_AAAA(T45, X117, T46, X118)
P39_IN_AAAA(T45, X117, T46, X118) → U3_AAAA(T45, X117, T46, X118, p24_in_aa(T45, X117))
P39_IN_AAAA(T45, X117, T46, X118) → P24_IN_AA(T45, X117)
P24_IN_AA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_AA(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
P24_IN_AA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_AAAA(T59, X152, T60, X151)
P39_IN_AAAA(T45, T47, T48, X118) → U4_AAAA(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_AAAA(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_AAAA(T45, T47, T48, X118, p24_in_aa(T48, X118))
U4_AAAA(T45, T47, T48, X118, p24_out_aa(T45, T47)) → P24_IN_AA(T48, X118)
P150_IN_GAGG(T280, T281, T278, T279) → U52_GAGG(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_GAGG(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_GAGG(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
U52_GAGG(T280, T281, T278, T279, p60_out_ga(T280, T281)) → P1_IN_AG(d(e(T281)), +(T278, T279))
P1_IN_AG(d(d(T135)), const(0)) → U55_AG(T135, p90_in_aa(T135, X334))
P1_IN_AG(d(d(T135)), const(0)) → P90_IN_AA(T135, X334)
P90_IN_AA(e(t), const(1)) → U28_AA(p1_in_gg(d(e(const(1))), const(0)))
P90_IN_AA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(0))
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_GG(T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_GG(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_GG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_GG(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_GG(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
P1_IN_GG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_GG(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
P1_IN_GG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → P150_IN_GAGG(T356, X635, *(T352, T353), *(T354, T355))
P1_IN_GG(d(d(e(t))), T360) → U67_GG(T360, p1_in_gg(d(e(const(1))), T360))
P1_IN_GG(d(d(e(t))), T360) → P1_IN_GG(d(e(const(1))), T360)
P1_IN_GG(d(d(e(const(T366)))), T360) → U68_GG(T366, T360, p1_in_gg(d(e(const(0))), T360))
P1_IN_GG(d(d(e(const(T366)))), T360) → P1_IN_GG(d(e(const(0))), T360)
P1_IN_GG(d(d(e(+(T377, T378)))), T360) → U69_GG(T377, T378, T360, p24_in_ga(T377, X683))
P1_IN_GG(d(d(e(+(T377, T378)))), T360) → P24_IN_GA(T377, X683)
P1_IN_GG(d(d(e(+(T377, T380)))), T360) → U70_GG(T377, T380, T360, p24_in_ga(T377, T379))
U70_GG(T377, T380, T360, p24_out_ga(T377, T379)) → U71_GG(T377, T380, T360, p24_in_ga(T380, X684))
U70_GG(T377, T380, T360, p24_out_ga(T377, T379)) → P24_IN_GA(T380, X684)
P1_IN_GG(d(d(e(+(T377, T380)))), T360) → U72_GG(T377, T380, T360, p24_in_ga(T377, T392))
U72_GG(T377, T380, T360, p24_out_ga(T377, T392)) → U73_GG(T377, T380, T360, T392, p24_in_ga(T380, T391))
U72_GG(T377, T380, T360, p24_out_ga(T377, T392)) → P24_IN_GA(T380, T391)
U73_GG(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_GG(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
U73_GG(T377, T380, T360, T392, p24_out_ga(T380, T391)) → P1_IN_AG(d(e(+(T392, T391))), T360)
P1_IN_AG(d(e(+(t, T197))), +(const(1), T194)) → U56_AG(T197, T194, p1_in_ag(d(e(T197)), T194))
P1_IN_AG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_AG(d(e(T197)), T194)
P1_IN_AG(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_AG(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
P1_IN_AG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_AG(d(e(T203)), T194)
P1_IN_AG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_AG(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
P1_IN_AG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194)
P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194) → U45_AGAGAG(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194) → P1_IN_AG(d(e(T224)), T222)
P1_IN_AG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_AG(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
P1_IN_AG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGAG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGAG(T224, T222, T225, T223, T226, T194) → U45_GGGGAG(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
P134_IN_GGGGAG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(d(e(*(T417, T418)))), T360) → U75_GG(T417, T418, T360, p24_in_ga(T417, X724))
P1_IN_GG(d(d(e(*(T417, T418)))), T360) → P24_IN_GA(T417, X724)
P1_IN_GG(d(d(e(*(T421, T420)))), T360) → U76_GG(T421, T420, T360, p24_in_ga(T421, T419))
U76_GG(T421, T420, T360, p24_out_ga(T421, T419)) → U77_GG(T421, T420, T360, p24_in_ga(T420, X723))
U76_GG(T421, T420, T360, p24_out_ga(T421, T419)) → P24_IN_GA(T420, X723)
P1_IN_GG(d(d(e(*(T433, T434)))), T360) → U78_GG(T433, T434, T360, p24_in_ga(T433, T435))
U78_GG(T433, T434, T360, p24_out_ga(T433, T435)) → U79_GG(T433, T434, T360, T435, p24_in_ga(T434, T432))
U78_GG(T433, T434, T360, p24_out_ga(T433, T435)) → P24_IN_GA(T434, T432)
U79_GG(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_GG(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
U79_GG(T433, T434, T360, T435, p24_out_ga(T434, T432)) → P1_IN_AG(d(e(+(*(T433, T432), *(T434, T435)))), T360)
P1_IN_AG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_AG(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
P1_IN_AG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T229, T194) → U49_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
P1_IN_GG(d(d(d(T455))), T360) → U81_GG(T455, T360, p60_in_ga(T455, X744))
P1_IN_GG(d(d(d(T455))), T360) → P60_IN_GA(T455, X744)
P1_IN_GG(d(d(d(T455))), T360) → U82_GG(T455, T360, p60_in_ga(T455, T456))
U82_GG(T455, T360, p60_out_ga(T455, T456)) → U83_GG(T455, T360, p24_in_aa(T456, X745))
U82_GG(T455, T360, p60_out_ga(T455, T456)) → P24_IN_AA(T456, X745)
U82_GG(T455, T360, p60_out_ga(T455, T456)) → U84_GG(T455, T360, p24_in_aa(T456, T467))
U84_GG(T455, T360, p24_out_aa(T456, T467)) → U85_GG(T455, T360, p1_in_ag(d(e(T467)), T360))
U84_GG(T455, T360, p24_out_aa(T456, T467)) → P1_IN_AG(d(e(T467)), T360)
P1_IN_AG(d(d(T280)), +(T278, T279)) → U61_AG(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
P1_IN_AG(d(d(T280)), +(T278, T279)) → P150_IN_AAGG(T280, X551, T278, T279)
P150_IN_AAGG(T280, X551, T278, T279) → U51_AAGG(T280, X551, T278, T279, p60_in_aa(T280, X551))
P150_IN_AAGG(T280, X551, T278, T279) → P60_IN_AA(T280, X551)
P60_IN_AA(e(+(T108, T109)), +(X266, X267)) → U23_AA(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
P60_IN_AA(e(+(T108, T109)), +(X266, X267)) → P39_IN_AAAA(T108, X266, T109, X267)
P60_IN_AA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_AA(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
P60_IN_AA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → P39_IN_AAAA(T120, X301, T121, X300)
P60_IN_AA(d(T125), X316) → U25_AA(T125, X316, p60_in_aa(T125, X315))
P60_IN_AA(d(T125), X316) → P60_IN_AA(T125, X315)
P60_IN_AA(d(T125), X316) → U26_AA(T125, X316, p60_in_aa(T125, T126))
U26_AA(T125, X316, p60_out_aa(T125, T126)) → U27_AA(T125, X316, p24_in_aa(T126, X316))
U26_AA(T125, X316, p60_out_aa(T125, T126)) → P24_IN_AA(T126, X316)
P150_IN_AAGG(T280, T281, T278, T279) → U52_AAGG(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_AAGG(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_AAGG(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
U52_AAGG(T280, T281, T278, T279, p60_out_aa(T280, T281)) → P1_IN_AG(d(e(T281)), +(T278, T279))
P1_IN_AG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_AG(T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_AG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_AG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_AG(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_AG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_AG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_AG(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
P1_IN_AG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_AG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_AG(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
P1_IN_AG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
P1_IN_AG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_AG(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
P1_IN_AG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → P150_IN_AAGG(T356, X635, *(T352, T353), *(T354, T355))
P1_IN_AG(d(d(e(t))), T360) → U67_AG(T360, p1_in_gg(d(e(const(1))), T360))
P1_IN_AG(d(d(e(t))), T360) → P1_IN_GG(d(e(const(1))), T360)
P1_IN_AG(d(d(e(const(T366)))), T360) → U68_AG(T366, T360, p1_in_gg(d(e(const(0))), T360))
P1_IN_AG(d(d(e(const(T366)))), T360) → P1_IN_GG(d(e(const(0))), T360)
P1_IN_AG(d(d(e(+(T377, T378)))), T360) → U69_AG(T377, T378, T360, p24_in_aa(T377, X683))
P1_IN_AG(d(d(e(+(T377, T378)))), T360) → P24_IN_AA(T377, X683)
P1_IN_AG(d(d(e(+(T377, T380)))), T360) → U70_AG(T377, T380, T360, p24_in_aa(T377, T379))
U70_AG(T377, T380, T360, p24_out_aa(T377, T379)) → U71_AG(T377, T380, T360, p24_in_aa(T380, X684))
U70_AG(T377, T380, T360, p24_out_aa(T377, T379)) → P24_IN_AA(T380, X684)
P1_IN_AG(d(d(e(+(T377, T380)))), T360) → U72_AG(T377, T380, T360, p24_in_aa(T377, T392))
U72_AG(T377, T380, T360, p24_out_aa(T377, T392)) → U73_AG(T377, T380, T360, T392, p24_in_aa(T380, T391))
U72_AG(T377, T380, T360, p24_out_aa(T377, T392)) → P24_IN_AA(T380, T391)
U73_AG(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_AG(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
U73_AG(T377, T380, T360, T392, p24_out_aa(T380, T391)) → P1_IN_AG(d(e(+(T392, T391))), T360)
P1_IN_AG(d(d(e(*(T417, T418)))), T360) → U75_AG(T417, T418, T360, p24_in_aa(T417, X724))
P1_IN_AG(d(d(e(*(T417, T418)))), T360) → P24_IN_AA(T417, X724)
P1_IN_AG(d(d(e(*(T421, T420)))), T360) → U76_AG(T421, T420, T360, p24_in_aa(T421, T419))
U76_AG(T421, T420, T360, p24_out_aa(T421, T419)) → U77_AG(T421, T420, T360, p24_in_aa(T420, X723))
U76_AG(T421, T420, T360, p24_out_aa(T421, T419)) → P24_IN_AA(T420, X723)
P1_IN_AG(d(d(e(*(T433, T434)))), T360) → U78_AG(T433, T434, T360, p24_in_aa(T433, T435))
U78_AG(T433, T434, T360, p24_out_aa(T433, T435)) → U79_AG(T433, T434, T360, T435, p24_in_aa(T434, T432))
U78_AG(T433, T434, T360, p24_out_aa(T433, T435)) → P24_IN_AA(T434, T432)
U79_AG(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_AG(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
U79_AG(T433, T434, T360, T435, p24_out_aa(T434, T432)) → P1_IN_AG(d(e(+(*(T433, T432), *(T434, T435)))), T360)
P1_IN_AG(d(d(d(T455))), T360) → U81_AG(T455, T360, p60_in_aa(T455, X744))
P1_IN_AG(d(d(d(T455))), T360) → P60_IN_AA(T455, X744)
P1_IN_AG(d(d(d(T455))), T360) → U82_AG(T455, T360, p60_in_aa(T455, T456))
U82_AG(T455, T360, p60_out_aa(T455, T456)) → U83_AG(T455, T360, p24_in_aa(T456, X745))
U82_AG(T455, T360, p60_out_aa(T455, T456)) → P24_IN_AA(T456, X745)
U82_AG(T455, T360, p60_out_aa(T455, T456)) → U84_AG(T455, T360, p24_in_aa(T456, T467))
U84_AG(T455, T360, p24_out_aa(T456, T467)) → U85_AG(T455, T360, p1_in_ag(d(e(T467)), T360))
U84_AG(T455, T360, p24_out_aa(T456, T467)) → P1_IN_AG(d(e(T467)), T360)
U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_GG(d(e(T229)), T194)
P134_IN_GGGGAG(T224, T222, T227, T223, T228, T194) → U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_GGGGAG(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGAG(T227, T223, T228, T194)
P137_IN_GGAG(T227, T223, T228, T194) → U48_GGAG(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
P137_IN_GGAG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P137_IN_GGAG(T227, T223, T229, T194) → U49_GGAG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGAG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_GGAG(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U49_GGAG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
P134_IN_AGAGAG(T224, T222, T227, T223, T228, T194) → U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_AGAGAG(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → P137_IN_AGAG(T227, T223, T228, T194)
P137_IN_AGAG(T227, T223, T228, T194) → U48_AGAG(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
P137_IN_AGAG(T227, T223, T228, T194) → P1_IN_AG(d(e(T227)), T223)
P137_IN_AGAG(T227, T223, T229, T194) → U49_AGAG(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_AGAG(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_AGAG(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U49_AGAG(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
P90_IN_AA(e(const(T140)), const(0)) → U29_AA(T140, p1_in_gg(d(e(const(0))), const(0)))
P90_IN_AA(e(const(T140)), const(0)) → P1_IN_GG(d(e(const(0))), const(0))
P90_IN_AA(e(+(T151, T152)), +(X373, X374)) → U30_AA(T151, T152, X373, X374, p24_in_aa(T151, X373))
P90_IN_AA(e(+(T151, T152)), +(X373, X374)) → P24_IN_AA(T151, X373)
P90_IN_AA(e(+(T151, T154)), +(T153, X374)) → U31_AA(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_AA(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_AA(T151, T154, T153, X374, p24_in_aa(T154, X374))
U31_AA(T151, T154, T153, X374, p24_out_aa(T151, T153)) → P24_IN_AA(T154, X374)
P90_IN_AA(e(+(T151, T154)), +(T156, T155)) → U33_AA(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_AA(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_AA(T151, T154, T156, T155, p24_in_aa(T154, T155))
U33_AA(T151, T154, T156, T155, p24_out_aa(T151, T156)) → P24_IN_AA(T154, T155)
U34_AA(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_AA(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U34_AA(T151, T154, T156, T155, p24_out_aa(T154, T155)) → P1_IN_AG(d(e(+(T156, T155))), const(0))
P90_IN_AA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_AA(T169, T170, X420, X421, p24_in_aa(T169, X421))
P90_IN_AA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → P24_IN_AA(T169, X421)
P90_IN_AA(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_AA(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_AA(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_AA(T173, T172, X420, T171, p24_in_aa(T172, X420))
U37_AA(T173, T172, X420, T171, p24_out_aa(T173, T171)) → P24_IN_AA(T172, X420)
P90_IN_AA(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_AA(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_AA(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_AA(T175, T176, T174, T177, p24_in_aa(T176, T174))
U39_AA(T175, T176, T174, T177, p24_out_aa(T175, T177)) → P24_IN_AA(T176, T174)
U40_AA(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_AA(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U40_AA(T175, T176, T174, T177, p24_out_aa(T176, T174)) → P1_IN_AG(d(e(+(*(T175, T174), *(T176, T177)))), const(0))
P90_IN_AA(d(T185), X449) → U42_AA(T185, X449, p60_in_aa(T185, X448))
P90_IN_AA(d(T185), X449) → P60_IN_AA(T185, X448)
P90_IN_AA(d(T185), X449) → U43_AA(T185, X449, p60_in_aa(T185, T186))
U43_AA(T185, X449, p60_out_aa(T185, T186)) → U44_AA(T185, X449, p90_in_aa(e(T186), X449))
U43_AA(T185, X449, p60_out_aa(T185, T186)) → P90_IN_AA(e(T186), X449)
U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_GGGGGG(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGGG(T227, T223, T228, T194)
P90_IN_GA(e(const(T140)), const(0)) → U29_GA(T140, p1_in_gg(d(e(const(0))), const(0)))
P90_IN_GA(e(const(T140)), const(0)) → P1_IN_GG(d(e(const(0))), const(0))
P90_IN_GA(e(+(T151, T152)), +(X373, X374)) → U30_GA(T151, T152, X373, X374, p24_in_ga(T151, X373))
P90_IN_GA(e(+(T151, T152)), +(X373, X374)) → P24_IN_GA(T151, X373)
P90_IN_GA(e(+(T151, T154)), +(T153, X374)) → U31_GA(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_GA(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_GA(T151, T154, T153, X374, p24_in_ga(T154, X374))
U31_GA(T151, T154, T153, X374, p24_out_ga(T151, T153)) → P24_IN_GA(T154, X374)
P90_IN_GA(e(+(T151, T154)), +(T156, T155)) → U33_GA(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_GA(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_GA(T151, T154, T156, T155, p24_in_ga(T154, T155))
U33_GA(T151, T154, T156, T155, p24_out_ga(T151, T156)) → P24_IN_GA(T154, T155)
U34_GA(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_GA(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U34_GA(T151, T154, T156, T155, p24_out_ga(T154, T155)) → P1_IN_AG(d(e(+(T156, T155))), const(0))
P90_IN_GA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_GA(T169, T170, X420, X421, p24_in_ga(T169, X421))
P90_IN_GA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → P24_IN_GA(T169, X421)
P90_IN_GA(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_GA(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_GA(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_GA(T173, T172, X420, T171, p24_in_ga(T172, X420))
U37_GA(T173, T172, X420, T171, p24_out_ga(T173, T171)) → P24_IN_GA(T172, X420)
P90_IN_GA(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_GA(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_GA(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_GA(T175, T176, T174, T177, p24_in_ga(T176, T174))
U39_GA(T175, T176, T174, T177, p24_out_ga(T175, T177)) → P24_IN_GA(T176, T174)
U40_GA(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_GA(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U40_GA(T175, T176, T174, T177, p24_out_ga(T176, T174)) → P1_IN_AG(d(e(+(*(T175, T174), *(T176, T177)))), const(0))
P90_IN_GA(d(T185), X449) → U42_GA(T185, X449, p60_in_ga(T185, X448))
P90_IN_GA(d(T185), X449) → P60_IN_GA(T185, X448)
P90_IN_GA(d(T185), X449) → U43_GA(T185, X449, p60_in_ga(T185, T186))
U43_GA(T185, X449, p60_out_ga(T185, T186)) → U44_GA(T185, X449, p90_in_aa(e(T186), X449))
U43_GA(T185, X449, p60_out_ga(T185, T186)) → P90_IN_AA(e(T186), X449)
P9_IN_GA(e(const(T15)), const(0)) → U7_GA(T15, p1_in_gg(d(e(const(0))), const(1)))
P9_IN_GA(e(const(T15)), const(0)) → P1_IN_GG(d(e(const(0))), const(1))
P9_IN_GA(e(+(T26, T27)), +(X77, X78)) → U8_GA(T26, T27, X77, X78, p24_in_ga(T26, X77))
P9_IN_GA(e(+(T26, T27)), +(X77, X78)) → P24_IN_GA(T26, X77)
P9_IN_GA(e(+(T26, T29)), +(T28, X78)) → U9_GA(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_GA(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_GA(T26, T29, T28, X78, p24_in_ga(T29, X78))
U9_GA(T26, T29, T28, X78, p24_out_ga(T26, T28)) → P24_IN_GA(T29, X78)
P9_IN_GA(e(+(T26, T29)), +(T62, T61)) → U11_GA(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_GA(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_GA(T26, T29, T62, T61, p24_in_ga(T29, T61))
U11_GA(T26, T29, T62, T61, p24_out_ga(T26, T62)) → P24_IN_GA(T29, T61)
U12_GA(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_GA(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U12_GA(T26, T29, T62, T61, p24_out_ga(T29, T61)) → P1_IN_AG(d(e(+(T62, T61))), const(1))
P9_IN_GA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_GA(T75, T76, X200, X201, p24_in_ga(T75, X201))
P9_IN_GA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → P24_IN_GA(T75, X201)
P9_IN_GA(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_GA(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_GA(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_GA(T79, T78, X200, T77, p24_in_ga(T78, X200))
U15_GA(T79, T78, X200, T77, p24_out_ga(T79, T77)) → P24_IN_GA(T78, X200)
P9_IN_GA(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_GA(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_GA(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_GA(T81, T82, T80, T83, p24_in_ga(T82, T80))
U17_GA(T81, T82, T80, T83, p24_out_ga(T81, T83)) → P24_IN_GA(T82, T80)
U18_GA(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_GA(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U18_GA(T81, T82, T80, T83, p24_out_ga(T82, T80)) → P1_IN_AG(d(e(+(*(T81, T80), *(T82, T83)))), const(1))
P9_IN_GA(d(T91), X229) → U20_GA(T91, X229, p60_in_ga(T91, X228))
P9_IN_GA(d(T91), X229) → P60_IN_GA(T91, X228)
P9_IN_GA(d(T91), X229) → U21_GA(T91, X229, p60_in_ga(T91, T92))
U21_GA(T91, X229, p60_out_ga(T91, T92)) → U22_GA(T91, X229, p9_in_aa(e(T92), X229))
U21_GA(T91, X229, p60_out_ga(T91, T92)) → P9_IN_AA(e(T92), X229)
P9_IN_AA(e(const(T15)), const(0)) → U7_AA(T15, p1_in_gg(d(e(const(0))), const(1)))
P9_IN_AA(e(const(T15)), const(0)) → P1_IN_GG(d(e(const(0))), const(1))
P9_IN_AA(e(+(T26, T27)), +(X77, X78)) → U8_AA(T26, T27, X77, X78, p24_in_aa(T26, X77))
P9_IN_AA(e(+(T26, T27)), +(X77, X78)) → P24_IN_AA(T26, X77)
P9_IN_AA(e(+(T26, T29)), +(T28, X78)) → U9_AA(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_AA(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_AA(T26, T29, T28, X78, p24_in_aa(T29, X78))
U9_AA(T26, T29, T28, X78, p24_out_aa(T26, T28)) → P24_IN_AA(T29, X78)
P9_IN_AA(e(+(T26, T29)), +(T62, T61)) → U11_AA(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_AA(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_AA(T26, T29, T62, T61, p24_in_aa(T29, T61))
U11_AA(T26, T29, T62, T61, p24_out_aa(T26, T62)) → P24_IN_AA(T29, T61)
U12_AA(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_AA(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U12_AA(T26, T29, T62, T61, p24_out_aa(T29, T61)) → P1_IN_AG(d(e(+(T62, T61))), const(1))
P9_IN_AA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_AA(T75, T76, X200, X201, p24_in_aa(T75, X201))
P9_IN_AA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → P24_IN_AA(T75, X201)
P9_IN_AA(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_AA(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_AA(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_AA(T79, T78, X200, T77, p24_in_aa(T78, X200))
U15_AA(T79, T78, X200, T77, p24_out_aa(T79, T77)) → P24_IN_AA(T78, X200)
P9_IN_AA(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_AA(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_AA(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_AA(T81, T82, T80, T83, p24_in_aa(T82, T80))
U17_AA(T81, T82, T80, T83, p24_out_aa(T81, T83)) → P24_IN_AA(T82, T80)
U18_AA(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_AA(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U18_AA(T81, T82, T80, T83, p24_out_aa(T82, T80)) → P1_IN_AG(d(e(+(*(T81, T80), *(T82, T83)))), const(1))
P9_IN_AA(d(T91), X229) → U20_AA(T91, X229, p60_in_aa(T91, X228))
P9_IN_AA(d(T91), X229) → P60_IN_AA(T91, X228)
P9_IN_AA(d(T91), X229) → U21_AA(T91, X229, p60_in_aa(T91, T92))
U21_AA(T91, X229, p60_out_aa(T91, T92)) → U22_AA(T91, X229, p9_in_aa(e(T92), X229))
U21_AA(T91, X229, p60_out_aa(T91, T92)) → P9_IN_AA(e(T92), X229)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P1_IN_AG(d(d(T10)), const(1)) → U54_AG(T10, p9_in_aa(T10, X14))
P1_IN_AG(d(d(T10)), const(1)) → P9_IN_AA(T10, X14)
P9_IN_AA(e(t), const(1)) → U6_AA(p1_in_gg(d(e(const(1))), const(1)))
P9_IN_AA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(1))
P1_IN_GG(d(d(T10)), const(1)) → U54_GG(T10, p9_in_ga(T10, X14))
P1_IN_GG(d(d(T10)), const(1)) → P9_IN_GA(T10, X14)
P9_IN_GA(e(t), const(1)) → U6_GA(p1_in_gg(d(e(const(1))), const(1)))
P9_IN_GA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(1))
P1_IN_GG(d(d(T135)), const(0)) → U55_GG(T135, p90_in_ga(T135, X334))
P1_IN_GG(d(d(T135)), const(0)) → P90_IN_GA(T135, X334)
P90_IN_GA(e(t), const(1)) → U28_GA(p1_in_gg(d(e(const(1))), const(0)))
P90_IN_GA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(0))
P1_IN_GG(d(e(+(t, T197))), +(const(1), T194)) → U56_GG(T197, T194, p1_in_gg(d(e(T197)), T194))
P1_IN_GG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_GG(d(e(T197)), T194)
P1_IN_GG(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_GG(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
P1_IN_GG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_GG(d(e(T203)), T194)
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_GG(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194)
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → U45_GGGGGG(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_GG(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGGG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGGG(T224, T222, T227, T223, T228, T194) → U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_GG(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T228, T194) → U48_GGGG(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
P137_IN_GGGG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P1_IN_GG(d(d(T280)), +(T278, T279)) → U61_GG(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
P1_IN_GG(d(d(T280)), +(T278, T279)) → P150_IN_GAGG(T280, X551, T278, T279)
P150_IN_GAGG(T280, X551, T278, T279) → U51_GAGG(T280, X551, T278, T279, p60_in_ga(T280, X551))
P150_IN_GAGG(T280, X551, T278, T279) → P60_IN_GA(T280, X551)
P60_IN_GA(e(+(T108, T109)), +(X266, X267)) → U23_GA(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
P60_IN_GA(e(+(T108, T109)), +(X266, X267)) → P39_IN_GAGA(T108, X266, T109, X267)
P39_IN_GAGA(T45, X117, T46, X118) → U3_GAGA(T45, X117, T46, X118, p24_in_ga(T45, X117))
P39_IN_GAGA(T45, X117, T46, X118) → P24_IN_GA(T45, X117)
P24_IN_GA(+(T45, T46), +(X117, X118)) → U1_GA(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
P24_IN_GA(+(T45, T46), +(X117, X118)) → P39_IN_GAGA(T45, X117, T46, X118)
P39_IN_GAGA(T45, T47, T48, X118) → U4_GAGA(T45, T47, T48, X118, p24_in_ga(T45, T47))
P24_IN_GA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_GA(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
P24_IN_GA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_GAGA(T59, X152, T60, X151)
U4_GAGA(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_GAGA(T45, T47, T48, X118, p24_in_ga(T48, X118))
U4_GAGA(T45, T47, T48, X118, p24_out_ga(T45, T47)) → P24_IN_GA(T48, X118)
P60_IN_GA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_GA(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
P60_IN_GA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → P39_IN_GAGA(T120, X301, T121, X300)
P60_IN_GA(d(T125), X316) → U25_GA(T125, X316, p60_in_ga(T125, X315))
P60_IN_GA(d(T125), X316) → P60_IN_GA(T125, X315)
P60_IN_GA(d(T125), X316) → U26_GA(T125, X316, p60_in_ga(T125, T126))
U26_GA(T125, X316, p60_out_ga(T125, T126)) → U27_GA(T125, X316, p24_in_aa(T126, X316))
U26_GA(T125, X316, p60_out_ga(T125, T126)) → P24_IN_AA(T126, X316)
P24_IN_AA(+(T45, T46), +(X117, X118)) → U1_AA(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
P24_IN_AA(+(T45, T46), +(X117, X118)) → P39_IN_AAAA(T45, X117, T46, X118)
P39_IN_AAAA(T45, X117, T46, X118) → U3_AAAA(T45, X117, T46, X118, p24_in_aa(T45, X117))
P39_IN_AAAA(T45, X117, T46, X118) → P24_IN_AA(T45, X117)
P24_IN_AA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_AA(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
P24_IN_AA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_AAAA(T59, X152, T60, X151)
P39_IN_AAAA(T45, T47, T48, X118) → U4_AAAA(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_AAAA(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_AAAA(T45, T47, T48, X118, p24_in_aa(T48, X118))
U4_AAAA(T45, T47, T48, X118, p24_out_aa(T45, T47)) → P24_IN_AA(T48, X118)
P150_IN_GAGG(T280, T281, T278, T279) → U52_GAGG(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_GAGG(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_GAGG(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
U52_GAGG(T280, T281, T278, T279, p60_out_ga(T280, T281)) → P1_IN_AG(d(e(T281)), +(T278, T279))
P1_IN_AG(d(d(T135)), const(0)) → U55_AG(T135, p90_in_aa(T135, X334))
P1_IN_AG(d(d(T135)), const(0)) → P90_IN_AA(T135, X334)
P90_IN_AA(e(t), const(1)) → U28_AA(p1_in_gg(d(e(const(1))), const(0)))
P90_IN_AA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(0))
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_GG(T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_GG(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_GG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_GG(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_GG(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
P1_IN_GG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_GG(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
P1_IN_GG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → P150_IN_GAGG(T356, X635, *(T352, T353), *(T354, T355))
P1_IN_GG(d(d(e(t))), T360) → U67_GG(T360, p1_in_gg(d(e(const(1))), T360))
P1_IN_GG(d(d(e(t))), T360) → P1_IN_GG(d(e(const(1))), T360)
P1_IN_GG(d(d(e(const(T366)))), T360) → U68_GG(T366, T360, p1_in_gg(d(e(const(0))), T360))
P1_IN_GG(d(d(e(const(T366)))), T360) → P1_IN_GG(d(e(const(0))), T360)
P1_IN_GG(d(d(e(+(T377, T378)))), T360) → U69_GG(T377, T378, T360, p24_in_ga(T377, X683))
P1_IN_GG(d(d(e(+(T377, T378)))), T360) → P24_IN_GA(T377, X683)
P1_IN_GG(d(d(e(+(T377, T380)))), T360) → U70_GG(T377, T380, T360, p24_in_ga(T377, T379))
U70_GG(T377, T380, T360, p24_out_ga(T377, T379)) → U71_GG(T377, T380, T360, p24_in_ga(T380, X684))
U70_GG(T377, T380, T360, p24_out_ga(T377, T379)) → P24_IN_GA(T380, X684)
P1_IN_GG(d(d(e(+(T377, T380)))), T360) → U72_GG(T377, T380, T360, p24_in_ga(T377, T392))
U72_GG(T377, T380, T360, p24_out_ga(T377, T392)) → U73_GG(T377, T380, T360, T392, p24_in_ga(T380, T391))
U72_GG(T377, T380, T360, p24_out_ga(T377, T392)) → P24_IN_GA(T380, T391)
U73_GG(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_GG(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
U73_GG(T377, T380, T360, T392, p24_out_ga(T380, T391)) → P1_IN_AG(d(e(+(T392, T391))), T360)
P1_IN_AG(d(e(+(t, T197))), +(const(1), T194)) → U56_AG(T197, T194, p1_in_ag(d(e(T197)), T194))
P1_IN_AG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_AG(d(e(T197)), T194)
P1_IN_AG(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_AG(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
P1_IN_AG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_AG(d(e(T203)), T194)
P1_IN_AG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_AG(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
P1_IN_AG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194)
P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194) → U45_AGAGAG(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194) → P1_IN_AG(d(e(T224)), T222)
P1_IN_AG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_AG(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
P1_IN_AG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGAG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGAG(T224, T222, T225, T223, T226, T194) → U45_GGGGAG(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
P134_IN_GGGGAG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(d(e(*(T417, T418)))), T360) → U75_GG(T417, T418, T360, p24_in_ga(T417, X724))
P1_IN_GG(d(d(e(*(T417, T418)))), T360) → P24_IN_GA(T417, X724)
P1_IN_GG(d(d(e(*(T421, T420)))), T360) → U76_GG(T421, T420, T360, p24_in_ga(T421, T419))
U76_GG(T421, T420, T360, p24_out_ga(T421, T419)) → U77_GG(T421, T420, T360, p24_in_ga(T420, X723))
U76_GG(T421, T420, T360, p24_out_ga(T421, T419)) → P24_IN_GA(T420, X723)
P1_IN_GG(d(d(e(*(T433, T434)))), T360) → U78_GG(T433, T434, T360, p24_in_ga(T433, T435))
U78_GG(T433, T434, T360, p24_out_ga(T433, T435)) → U79_GG(T433, T434, T360, T435, p24_in_ga(T434, T432))
U78_GG(T433, T434, T360, p24_out_ga(T433, T435)) → P24_IN_GA(T434, T432)
U79_GG(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_GG(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
U79_GG(T433, T434, T360, T435, p24_out_ga(T434, T432)) → P1_IN_AG(d(e(+(*(T433, T432), *(T434, T435)))), T360)
P1_IN_AG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_AG(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
P1_IN_AG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T229, T194) → U49_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
P1_IN_GG(d(d(d(T455))), T360) → U81_GG(T455, T360, p60_in_ga(T455, X744))
P1_IN_GG(d(d(d(T455))), T360) → P60_IN_GA(T455, X744)
P1_IN_GG(d(d(d(T455))), T360) → U82_GG(T455, T360, p60_in_ga(T455, T456))
U82_GG(T455, T360, p60_out_ga(T455, T456)) → U83_GG(T455, T360, p24_in_aa(T456, X745))
U82_GG(T455, T360, p60_out_ga(T455, T456)) → P24_IN_AA(T456, X745)
U82_GG(T455, T360, p60_out_ga(T455, T456)) → U84_GG(T455, T360, p24_in_aa(T456, T467))
U84_GG(T455, T360, p24_out_aa(T456, T467)) → U85_GG(T455, T360, p1_in_ag(d(e(T467)), T360))
U84_GG(T455, T360, p24_out_aa(T456, T467)) → P1_IN_AG(d(e(T467)), T360)
P1_IN_AG(d(d(T280)), +(T278, T279)) → U61_AG(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
P1_IN_AG(d(d(T280)), +(T278, T279)) → P150_IN_AAGG(T280, X551, T278, T279)
P150_IN_AAGG(T280, X551, T278, T279) → U51_AAGG(T280, X551, T278, T279, p60_in_aa(T280, X551))
P150_IN_AAGG(T280, X551, T278, T279) → P60_IN_AA(T280, X551)
P60_IN_AA(e(+(T108, T109)), +(X266, X267)) → U23_AA(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
P60_IN_AA(e(+(T108, T109)), +(X266, X267)) → P39_IN_AAAA(T108, X266, T109, X267)
P60_IN_AA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_AA(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
P60_IN_AA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → P39_IN_AAAA(T120, X301, T121, X300)
P60_IN_AA(d(T125), X316) → U25_AA(T125, X316, p60_in_aa(T125, X315))
P60_IN_AA(d(T125), X316) → P60_IN_AA(T125, X315)
P60_IN_AA(d(T125), X316) → U26_AA(T125, X316, p60_in_aa(T125, T126))
U26_AA(T125, X316, p60_out_aa(T125, T126)) → U27_AA(T125, X316, p24_in_aa(T126, X316))
U26_AA(T125, X316, p60_out_aa(T125, T126)) → P24_IN_AA(T126, X316)
P150_IN_AAGG(T280, T281, T278, T279) → U52_AAGG(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_AAGG(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_AAGG(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
U52_AAGG(T280, T281, T278, T279, p60_out_aa(T280, T281)) → P1_IN_AG(d(e(T281)), +(T278, T279))
P1_IN_AG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_AG(T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_AG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_AG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_AG(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_AG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_AG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_AG(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
P1_IN_AG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_AG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_AG(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
P1_IN_AG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
P1_IN_AG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_AG(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
P1_IN_AG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → P150_IN_AAGG(T356, X635, *(T352, T353), *(T354, T355))
P1_IN_AG(d(d(e(t))), T360) → U67_AG(T360, p1_in_gg(d(e(const(1))), T360))
P1_IN_AG(d(d(e(t))), T360) → P1_IN_GG(d(e(const(1))), T360)
P1_IN_AG(d(d(e(const(T366)))), T360) → U68_AG(T366, T360, p1_in_gg(d(e(const(0))), T360))
P1_IN_AG(d(d(e(const(T366)))), T360) → P1_IN_GG(d(e(const(0))), T360)
P1_IN_AG(d(d(e(+(T377, T378)))), T360) → U69_AG(T377, T378, T360, p24_in_aa(T377, X683))
P1_IN_AG(d(d(e(+(T377, T378)))), T360) → P24_IN_AA(T377, X683)
P1_IN_AG(d(d(e(+(T377, T380)))), T360) → U70_AG(T377, T380, T360, p24_in_aa(T377, T379))
U70_AG(T377, T380, T360, p24_out_aa(T377, T379)) → U71_AG(T377, T380, T360, p24_in_aa(T380, X684))
U70_AG(T377, T380, T360, p24_out_aa(T377, T379)) → P24_IN_AA(T380, X684)
P1_IN_AG(d(d(e(+(T377, T380)))), T360) → U72_AG(T377, T380, T360, p24_in_aa(T377, T392))
U72_AG(T377, T380, T360, p24_out_aa(T377, T392)) → U73_AG(T377, T380, T360, T392, p24_in_aa(T380, T391))
U72_AG(T377, T380, T360, p24_out_aa(T377, T392)) → P24_IN_AA(T380, T391)
U73_AG(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_AG(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
U73_AG(T377, T380, T360, T392, p24_out_aa(T380, T391)) → P1_IN_AG(d(e(+(T392, T391))), T360)
P1_IN_AG(d(d(e(*(T417, T418)))), T360) → U75_AG(T417, T418, T360, p24_in_aa(T417, X724))
P1_IN_AG(d(d(e(*(T417, T418)))), T360) → P24_IN_AA(T417, X724)
P1_IN_AG(d(d(e(*(T421, T420)))), T360) → U76_AG(T421, T420, T360, p24_in_aa(T421, T419))
U76_AG(T421, T420, T360, p24_out_aa(T421, T419)) → U77_AG(T421, T420, T360, p24_in_aa(T420, X723))
U76_AG(T421, T420, T360, p24_out_aa(T421, T419)) → P24_IN_AA(T420, X723)
P1_IN_AG(d(d(e(*(T433, T434)))), T360) → U78_AG(T433, T434, T360, p24_in_aa(T433, T435))
U78_AG(T433, T434, T360, p24_out_aa(T433, T435)) → U79_AG(T433, T434, T360, T435, p24_in_aa(T434, T432))
U78_AG(T433, T434, T360, p24_out_aa(T433, T435)) → P24_IN_AA(T434, T432)
U79_AG(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_AG(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
U79_AG(T433, T434, T360, T435, p24_out_aa(T434, T432)) → P1_IN_AG(d(e(+(*(T433, T432), *(T434, T435)))), T360)
P1_IN_AG(d(d(d(T455))), T360) → U81_AG(T455, T360, p60_in_aa(T455, X744))
P1_IN_AG(d(d(d(T455))), T360) → P60_IN_AA(T455, X744)
P1_IN_AG(d(d(d(T455))), T360) → U82_AG(T455, T360, p60_in_aa(T455, T456))
U82_AG(T455, T360, p60_out_aa(T455, T456)) → U83_AG(T455, T360, p24_in_aa(T456, X745))
U82_AG(T455, T360, p60_out_aa(T455, T456)) → P24_IN_AA(T456, X745)
U82_AG(T455, T360, p60_out_aa(T455, T456)) → U84_AG(T455, T360, p24_in_aa(T456, T467))
U84_AG(T455, T360, p24_out_aa(T456, T467)) → U85_AG(T455, T360, p1_in_ag(d(e(T467)), T360))
U84_AG(T455, T360, p24_out_aa(T456, T467)) → P1_IN_AG(d(e(T467)), T360)
U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_GG(d(e(T229)), T194)
P134_IN_GGGGAG(T224, T222, T227, T223, T228, T194) → U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_GGGGAG(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGAG(T227, T223, T228, T194)
P137_IN_GGAG(T227, T223, T228, T194) → U48_GGAG(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
P137_IN_GGAG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P137_IN_GGAG(T227, T223, T229, T194) → U49_GGAG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGAG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_GGAG(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U49_GGAG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
P134_IN_AGAGAG(T224, T222, T227, T223, T228, T194) → U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_AGAGAG(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → P137_IN_AGAG(T227, T223, T228, T194)
P137_IN_AGAG(T227, T223, T228, T194) → U48_AGAG(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
P137_IN_AGAG(T227, T223, T228, T194) → P1_IN_AG(d(e(T227)), T223)
P137_IN_AGAG(T227, T223, T229, T194) → U49_AGAG(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_AGAG(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_AGAG(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U49_AGAG(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
P90_IN_AA(e(const(T140)), const(0)) → U29_AA(T140, p1_in_gg(d(e(const(0))), const(0)))
P90_IN_AA(e(const(T140)), const(0)) → P1_IN_GG(d(e(const(0))), const(0))
P90_IN_AA(e(+(T151, T152)), +(X373, X374)) → U30_AA(T151, T152, X373, X374, p24_in_aa(T151, X373))
P90_IN_AA(e(+(T151, T152)), +(X373, X374)) → P24_IN_AA(T151, X373)
P90_IN_AA(e(+(T151, T154)), +(T153, X374)) → U31_AA(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_AA(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_AA(T151, T154, T153, X374, p24_in_aa(T154, X374))
U31_AA(T151, T154, T153, X374, p24_out_aa(T151, T153)) → P24_IN_AA(T154, X374)
P90_IN_AA(e(+(T151, T154)), +(T156, T155)) → U33_AA(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_AA(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_AA(T151, T154, T156, T155, p24_in_aa(T154, T155))
U33_AA(T151, T154, T156, T155, p24_out_aa(T151, T156)) → P24_IN_AA(T154, T155)
U34_AA(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_AA(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U34_AA(T151, T154, T156, T155, p24_out_aa(T154, T155)) → P1_IN_AG(d(e(+(T156, T155))), const(0))
P90_IN_AA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_AA(T169, T170, X420, X421, p24_in_aa(T169, X421))
P90_IN_AA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → P24_IN_AA(T169, X421)
P90_IN_AA(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_AA(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_AA(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_AA(T173, T172, X420, T171, p24_in_aa(T172, X420))
U37_AA(T173, T172, X420, T171, p24_out_aa(T173, T171)) → P24_IN_AA(T172, X420)
P90_IN_AA(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_AA(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_AA(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_AA(T175, T176, T174, T177, p24_in_aa(T176, T174))
U39_AA(T175, T176, T174, T177, p24_out_aa(T175, T177)) → P24_IN_AA(T176, T174)
U40_AA(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_AA(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U40_AA(T175, T176, T174, T177, p24_out_aa(T176, T174)) → P1_IN_AG(d(e(+(*(T175, T174), *(T176, T177)))), const(0))
P90_IN_AA(d(T185), X449) → U42_AA(T185, X449, p60_in_aa(T185, X448))
P90_IN_AA(d(T185), X449) → P60_IN_AA(T185, X448)
P90_IN_AA(d(T185), X449) → U43_AA(T185, X449, p60_in_aa(T185, T186))
U43_AA(T185, X449, p60_out_aa(T185, T186)) → U44_AA(T185, X449, p90_in_aa(e(T186), X449))
U43_AA(T185, X449, p60_out_aa(T185, T186)) → P90_IN_AA(e(T186), X449)
U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_GGGGGG(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGGG(T227, T223, T228, T194)
P90_IN_GA(e(const(T140)), const(0)) → U29_GA(T140, p1_in_gg(d(e(const(0))), const(0)))
P90_IN_GA(e(const(T140)), const(0)) → P1_IN_GG(d(e(const(0))), const(0))
P90_IN_GA(e(+(T151, T152)), +(X373, X374)) → U30_GA(T151, T152, X373, X374, p24_in_ga(T151, X373))
P90_IN_GA(e(+(T151, T152)), +(X373, X374)) → P24_IN_GA(T151, X373)
P90_IN_GA(e(+(T151, T154)), +(T153, X374)) → U31_GA(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_GA(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_GA(T151, T154, T153, X374, p24_in_ga(T154, X374))
U31_GA(T151, T154, T153, X374, p24_out_ga(T151, T153)) → P24_IN_GA(T154, X374)
P90_IN_GA(e(+(T151, T154)), +(T156, T155)) → U33_GA(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_GA(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_GA(T151, T154, T156, T155, p24_in_ga(T154, T155))
U33_GA(T151, T154, T156, T155, p24_out_ga(T151, T156)) → P24_IN_GA(T154, T155)
U34_GA(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_GA(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U34_GA(T151, T154, T156, T155, p24_out_ga(T154, T155)) → P1_IN_AG(d(e(+(T156, T155))), const(0))
P90_IN_GA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_GA(T169, T170, X420, X421, p24_in_ga(T169, X421))
P90_IN_GA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → P24_IN_GA(T169, X421)
P90_IN_GA(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_GA(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_GA(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_GA(T173, T172, X420, T171, p24_in_ga(T172, X420))
U37_GA(T173, T172, X420, T171, p24_out_ga(T173, T171)) → P24_IN_GA(T172, X420)
P90_IN_GA(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_GA(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_GA(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_GA(T175, T176, T174, T177, p24_in_ga(T176, T174))
U39_GA(T175, T176, T174, T177, p24_out_ga(T175, T177)) → P24_IN_GA(T176, T174)
U40_GA(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_GA(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U40_GA(T175, T176, T174, T177, p24_out_ga(T176, T174)) → P1_IN_AG(d(e(+(*(T175, T174), *(T176, T177)))), const(0))
P90_IN_GA(d(T185), X449) → U42_GA(T185, X449, p60_in_ga(T185, X448))
P90_IN_GA(d(T185), X449) → P60_IN_GA(T185, X448)
P90_IN_GA(d(T185), X449) → U43_GA(T185, X449, p60_in_ga(T185, T186))
U43_GA(T185, X449, p60_out_ga(T185, T186)) → U44_GA(T185, X449, p90_in_aa(e(T186), X449))
U43_GA(T185, X449, p60_out_ga(T185, T186)) → P90_IN_AA(e(T186), X449)
P9_IN_GA(e(const(T15)), const(0)) → U7_GA(T15, p1_in_gg(d(e(const(0))), const(1)))
P9_IN_GA(e(const(T15)), const(0)) → P1_IN_GG(d(e(const(0))), const(1))
P9_IN_GA(e(+(T26, T27)), +(X77, X78)) → U8_GA(T26, T27, X77, X78, p24_in_ga(T26, X77))
P9_IN_GA(e(+(T26, T27)), +(X77, X78)) → P24_IN_GA(T26, X77)
P9_IN_GA(e(+(T26, T29)), +(T28, X78)) → U9_GA(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_GA(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_GA(T26, T29, T28, X78, p24_in_ga(T29, X78))
U9_GA(T26, T29, T28, X78, p24_out_ga(T26, T28)) → P24_IN_GA(T29, X78)
P9_IN_GA(e(+(T26, T29)), +(T62, T61)) → U11_GA(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_GA(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_GA(T26, T29, T62, T61, p24_in_ga(T29, T61))
U11_GA(T26, T29, T62, T61, p24_out_ga(T26, T62)) → P24_IN_GA(T29, T61)
U12_GA(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_GA(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U12_GA(T26, T29, T62, T61, p24_out_ga(T29, T61)) → P1_IN_AG(d(e(+(T62, T61))), const(1))
P9_IN_GA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_GA(T75, T76, X200, X201, p24_in_ga(T75, X201))
P9_IN_GA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → P24_IN_GA(T75, X201)
P9_IN_GA(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_GA(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_GA(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_GA(T79, T78, X200, T77, p24_in_ga(T78, X200))
U15_GA(T79, T78, X200, T77, p24_out_ga(T79, T77)) → P24_IN_GA(T78, X200)
P9_IN_GA(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_GA(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_GA(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_GA(T81, T82, T80, T83, p24_in_ga(T82, T80))
U17_GA(T81, T82, T80, T83, p24_out_ga(T81, T83)) → P24_IN_GA(T82, T80)
U18_GA(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_GA(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U18_GA(T81, T82, T80, T83, p24_out_ga(T82, T80)) → P1_IN_AG(d(e(+(*(T81, T80), *(T82, T83)))), const(1))
P9_IN_GA(d(T91), X229) → U20_GA(T91, X229, p60_in_ga(T91, X228))
P9_IN_GA(d(T91), X229) → P60_IN_GA(T91, X228)
P9_IN_GA(d(T91), X229) → U21_GA(T91, X229, p60_in_ga(T91, T92))
U21_GA(T91, X229, p60_out_ga(T91, T92)) → U22_GA(T91, X229, p9_in_aa(e(T92), X229))
U21_GA(T91, X229, p60_out_ga(T91, T92)) → P9_IN_AA(e(T92), X229)
P9_IN_AA(e(const(T15)), const(0)) → U7_AA(T15, p1_in_gg(d(e(const(0))), const(1)))
P9_IN_AA(e(const(T15)), const(0)) → P1_IN_GG(d(e(const(0))), const(1))
P9_IN_AA(e(+(T26, T27)), +(X77, X78)) → U8_AA(T26, T27, X77, X78, p24_in_aa(T26, X77))
P9_IN_AA(e(+(T26, T27)), +(X77, X78)) → P24_IN_AA(T26, X77)
P9_IN_AA(e(+(T26, T29)), +(T28, X78)) → U9_AA(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_AA(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_AA(T26, T29, T28, X78, p24_in_aa(T29, X78))
U9_AA(T26, T29, T28, X78, p24_out_aa(T26, T28)) → P24_IN_AA(T29, X78)
P9_IN_AA(e(+(T26, T29)), +(T62, T61)) → U11_AA(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_AA(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_AA(T26, T29, T62, T61, p24_in_aa(T29, T61))
U11_AA(T26, T29, T62, T61, p24_out_aa(T26, T62)) → P24_IN_AA(T29, T61)
U12_AA(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_AA(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U12_AA(T26, T29, T62, T61, p24_out_aa(T29, T61)) → P1_IN_AG(d(e(+(T62, T61))), const(1))
P9_IN_AA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_AA(T75, T76, X200, X201, p24_in_aa(T75, X201))
P9_IN_AA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → P24_IN_AA(T75, X201)
P9_IN_AA(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_AA(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_AA(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_AA(T79, T78, X200, T77, p24_in_aa(T78, X200))
U15_AA(T79, T78, X200, T77, p24_out_aa(T79, T77)) → P24_IN_AA(T78, X200)
P9_IN_AA(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_AA(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_AA(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_AA(T81, T82, T80, T83, p24_in_aa(T82, T80))
U17_AA(T81, T82, T80, T83, p24_out_aa(T81, T83)) → P24_IN_AA(T82, T80)
U18_AA(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_AA(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U18_AA(T81, T82, T80, T83, p24_out_aa(T82, T80)) → P1_IN_AG(d(e(+(*(T81, T80), *(T82, T83)))), const(1))
P9_IN_AA(d(T91), X229) → U20_AA(T91, X229, p60_in_aa(T91, X228))
P9_IN_AA(d(T91), X229) → P60_IN_AA(T91, X228)
P9_IN_AA(d(T91), X229) → U21_AA(T91, X229, p60_in_aa(T91, T92))
U21_AA(T91, X229, p60_out_aa(T91, T92)) → U22_AA(T91, X229, p9_in_aa(e(T92), X229))
U21_AA(T91, X229, p60_out_aa(T91, T92)) → P9_IN_AA(e(T92), X229)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P24_IN_AA(+(T45, T46), +(X117, X118)) → P39_IN_AAAA(T45, X117, T46, X118)
P39_IN_AAAA(T45, X117, T46, X118) → P24_IN_AA(T45, X117)
P24_IN_AA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_AAAA(T59, X152, T60, X151)
P39_IN_AAAA(T45, T47, T48, X118) → U4_AAAA(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_AAAA(T45, T47, T48, X118, p24_out_aa(T45, T47)) → P24_IN_AA(T48, X118)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P24_IN_AA(+(T45, T46), +(X117, X118)) → P39_IN_AAAA(T45, X117, T46, X118)
P39_IN_AAAA(T45, X117, T46, X118) → P24_IN_AA(T45, X117)
P24_IN_AA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_AAAA(T59, X152, T60, X151)
P39_IN_AAAA(T45, T47, T48, X118) → U4_AAAA(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_AAAA(T45, T47, T48, X118, p24_out_aa(T45, T47)) → P24_IN_AA(T48, X118)
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
P24_IN_AA → P39_IN_AAAA
P39_IN_AAAA → P24_IN_AA
P39_IN_AAAA → U4_AAAA(p24_in_aa)
U4_AAAA(p24_out_aa) → P24_IN_AA
p24_in_aa → p24_out_aa
p24_in_aa → U1_aa(p39_in_aaaa)
p24_in_aa → U2_aa(p39_in_aaaa)
U1_aa(p39_out_aaaa) → p24_out_aa
U2_aa(p39_out_aaaa) → p24_out_aa
p39_in_aaaa → U3_aaaa(p24_in_aa)
p39_in_aaaa → U4_aaaa(p24_in_aa)
U3_aaaa(p24_out_aa) → p39_out_aaaa
U4_aaaa(p24_out_aa) → U5_aaaa(p24_in_aa)
U5_aaaa(p24_out_aa) → p39_out_aaaa
p24_in_aa
U1_aa(x0)
U2_aa(x0)
p39_in_aaaa
U3_aaaa(x0)
U4_aaaa(x0)
U5_aaaa(x0)
P39_IN_AAAA → U4_AAAA(p24_out_aa)
P39_IN_AAAA → U4_AAAA(U1_aa(p39_in_aaaa))
P39_IN_AAAA → U4_AAAA(U2_aa(p39_in_aaaa))
P24_IN_AA → P39_IN_AAAA
P39_IN_AAAA → P24_IN_AA
U4_AAAA(p24_out_aa) → P24_IN_AA
P39_IN_AAAA → U4_AAAA(p24_out_aa)
P39_IN_AAAA → U4_AAAA(U1_aa(p39_in_aaaa))
P39_IN_AAAA → U4_AAAA(U2_aa(p39_in_aaaa))
p24_in_aa → p24_out_aa
p24_in_aa → U1_aa(p39_in_aaaa)
p24_in_aa → U2_aa(p39_in_aaaa)
U1_aa(p39_out_aaaa) → p24_out_aa
U2_aa(p39_out_aaaa) → p24_out_aa
p39_in_aaaa → U3_aaaa(p24_in_aa)
p39_in_aaaa → U4_aaaa(p24_in_aa)
U3_aaaa(p24_out_aa) → p39_out_aaaa
U4_aaaa(p24_out_aa) → U5_aaaa(p24_in_aa)
U5_aaaa(p24_out_aa) → p39_out_aaaa
p24_in_aa
U1_aa(x0)
U2_aa(x0)
p39_in_aaaa
U3_aaaa(x0)
U4_aaaa(x0)
U5_aaaa(x0)
P60_IN_AA(d(T125), X316) → P60_IN_AA(T125, X315)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P60_IN_AA(d(T125), X316) → P60_IN_AA(T125, X315)
P60_IN_AA → P60_IN_AA
P39_IN_GAGA(T45, X117, T46, X118) → P24_IN_GA(T45, X117)
P24_IN_GA(+(T45, T46), +(X117, X118)) → P39_IN_GAGA(T45, X117, T46, X118)
P39_IN_GAGA(T45, T47, T48, X118) → U4_GAGA(T45, T47, T48, X118, p24_in_ga(T45, T47))
U4_GAGA(T45, T47, T48, X118, p24_out_ga(T45, T47)) → P24_IN_GA(T48, X118)
P24_IN_GA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_GAGA(T59, X152, T60, X151)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P39_IN_GAGA(T45, X117, T46, X118) → P24_IN_GA(T45, X117)
P24_IN_GA(+(T45, T46), +(X117, X118)) → P39_IN_GAGA(T45, X117, T46, X118)
P39_IN_GAGA(T45, T47, T48, X118) → U4_GAGA(T45, T47, T48, X118, p24_in_ga(T45, T47))
U4_GAGA(T45, T47, T48, X118, p24_out_ga(T45, T47)) → P24_IN_GA(T48, X118)
P24_IN_GA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_GAGA(T59, X152, T60, X151)
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
P39_IN_GAGA(T45, T46) → P24_IN_GA(T45)
P24_IN_GA(+(T45, T46)) → P39_IN_GAGA(T45, T46)
P39_IN_GAGA(T45, T48) → U4_GAGA(T45, T48, p24_in_ga(T45))
U4_GAGA(T45, T48, p24_out_ga(T45)) → P24_IN_GA(T48)
P24_IN_GA(*(T59, T60)) → P39_IN_GAGA(T59, T60)
p24_in_ga(t) → p24_out_ga(t)
p24_in_ga(const) → p24_out_ga(const)
p24_in_ga(+(T45, T46)) → U1_ga(T45, T46, p39_in_gaga(T45, T46))
p24_in_ga(*(T59, T60)) → U2_ga(T59, T60, p39_in_gaga(T59, T60))
U1_ga(T45, T46, p39_out_gaga(T45, T46)) → p24_out_ga(+(T45, T46))
U2_ga(T59, T60, p39_out_gaga(T59, T60)) → p24_out_ga(*(T59, T60))
p39_in_gaga(T45, T46) → U3_gaga(T45, T46, p24_in_ga(T45))
p39_in_gaga(T45, T48) → U4_gaga(T45, T48, p24_in_ga(T45))
U3_gaga(T45, T46, p24_out_ga(T45)) → p39_out_gaga(T45, T46)
U4_gaga(T45, T48, p24_out_ga(T45)) → U5_gaga(T45, T48, p24_in_ga(T48))
U5_gaga(T45, T48, p24_out_ga(T48)) → p39_out_gaga(T45, T48)
p24_in_ga(x0)
U1_ga(x0, x1, x2)
U2_ga(x0, x1, x2)
p39_in_gaga(x0, x1)
U3_gaga(x0, x1, x2)
U4_gaga(x0, x1, x2)
U5_gaga(x0, x1, x2)
From the DPs we obtained the following set of size-change graphs:
P60_IN_GA(d(T125), X316) → P60_IN_GA(T125, X315)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P60_IN_GA(d(T125), X316) → P60_IN_GA(T125, X315)
P60_IN_GA(d(T125)) → P60_IN_GA(T125)
From the DPs we obtained the following set of size-change graphs:
P1_IN_GG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_GG(d(e(T203)), T194)
P1_IN_GG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_GG(d(e(T197)), T194)
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194)
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGGG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGGG(T224, T222, T227, T223, T228, T194) → U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGGG(T227, T223, T228, T194)
P137_IN_GGGG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T229, T194) → U49_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_GG(d(e(T229)), T194)
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P1_IN_GG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_GG(d(e(T203)), T194)
P1_IN_GG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_GG(d(e(T197)), T194)
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194)
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGGG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGGG(T224, T222, T227, T223, T228, T194) → U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGGG(T227, T223, T228, T194)
P137_IN_GGGG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T229, T194) → U49_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_GG(d(e(T229)), T194)
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
P1_IN_GG(d(e(+(const, T203))), +(const, T194)) → P1_IN_GG(d(e(T203)), T194)
P1_IN_GG(d(e(+(t, T197))), +(const, T194)) → P1_IN_GG(d(e(T197)), T194)
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194)
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGGG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGGG(T224, T222, T227, T223, T228, T194) → U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGGG(T227, T223, T228, T194)
P137_IN_GGGG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T229, T194) → U49_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_GG(d(e(T229)), T194)
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(const, T293))), +(*(const, T294), *(T293, const))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
p1_in_gg(d(e(t)), const) → p1_out_gg(d(e(t)), const)
p1_in_gg(d(e(const)), const) → p1_out_gg(d(e(const)), const)
p1_in_gg(d(e(+(t, T197))), +(const, T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const, T203))), +(const, T194)) → U57_gg(T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const, T293))), +(*(const, T294), *(T293, const))) → U63_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const, T194))
U57_gg(T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const, T203))), +(const, T194))
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const)))
U63_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const, T293))), +(*(const, T294), *(T293, const)))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
p1_in_gg(x0, x1)
U56_gg(x0, x1, x2)
U57_gg(x0, x1, x2)
U58_gg(x0, x1, x2, x3, x4, x5, x6)
U59_gg(x0, x1, x2, x3, x4, x5, x6)
U60_gg(x0, x1, x2, x3, x4)
U62_gg(x0, x1, x2)
U63_gg(x0, x1, x2)
U64_gg(x0, x1, x2, x3, x4, x5, x6)
U65_gg(x0, x1, x2, x3, x4, x5, x6)
p134_in_gggggg(x0, x1, x2, x3, x4, x5)
p137_in_gggg(x0, x1, x2, x3)
U45_gggggg(x0, x1, x2, x3, x4, x5, x6)
U46_gggggg(x0, x1, x2, x3, x4, x5, x6)
U48_gggg(x0, x1, x2, x3, x4)
U49_gggg(x0, x1, x2, x3, x4)
U47_gggggg(x0, x1, x2, x3, x4, x5, x6)
U50_gggg(x0, x1, x2, x3, x4)
From the DPs we obtained the following set of size-change graphs:
P134_IN_GGGGAG(T224, T222, T227, T223, T228, T194) → U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGAG(T227, T223, T228, T194)
P137_IN_GGAG(T227, T223, T229, T194) → U49_GGAG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGAG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
P1_IN_AG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_AG(d(e(T197)), T194)
P1_IN_AG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_AG(d(e(T203)), T194)
P1_IN_AG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194)
P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194) → P1_IN_AG(d(e(T224)), T222)
P1_IN_AG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGAG(T246, T249, T247, T248, T250, T194)
P134_IN_AGAGAG(T224, T222, T227, T223, T228, T194) → U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → P137_IN_AGAG(T227, T223, T228, T194)
P137_IN_AGAG(T227, T223, T228, T194) → P1_IN_AG(d(e(T227)), T223)
P137_IN_AGAG(T227, T223, T229, T194) → U49_AGAG(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_AGAG(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P134_IN_GGGGAG(T224, T222, T227, T223, T228, T194) → U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGAG(T227, T223, T228, T194)
P137_IN_GGAG(T227, T223, T229, T194) → U49_GGAG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGAG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
P1_IN_AG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_AG(d(e(T197)), T194)
P1_IN_AG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_AG(d(e(T203)), T194)
P1_IN_AG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194)
P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194) → P1_IN_AG(d(e(T224)), T222)
P1_IN_AG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGAG(T246, T249, T247, T248, T250, T194)
P134_IN_AGAGAG(T224, T222, T227, T223, T228, T194) → U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → P137_IN_AGAG(T227, T223, T228, T194)
P137_IN_AGAG(T227, T223, T228, T194) → P1_IN_AG(d(e(T227)), T223)
P137_IN_AGAG(T227, T223, T229, T194) → U49_AGAG(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_AGAG(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
P134_IN_GGGGAG(T224, T222, T227, T223, T194) → U46_GGGGAG(T224, T222, T227, T223, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGAG(T224, T222, T227, T223, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGAG(T227, T223, T194)
P137_IN_GGAG(T227, T223, T194) → U49_GGAG(T227, T223, T194, p1_in_gg(d(e(T227)), T223))
U49_GGAG(T227, T223, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_AG(T194)
P1_IN_AG(+(const, T194)) → P1_IN_AG(T194)
P1_IN_AG(+(+(T222, T223), T194)) → P134_IN_AGAGAG(T222, T223, T194)
P134_IN_AGAGAG(T222, T223, T194) → P1_IN_AG(T222)
P1_IN_AG(+(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGAG(T246, T249, T247, T248, T194)
P134_IN_AGAGAG(T222, T223, T194) → U46_AGAGAG(T222, T223, T194, p1_in_ag(T222))
U46_AGAGAG(T222, T223, T194, p1_out_ag(T222)) → P137_IN_AGAG(T223, T194)
P137_IN_AGAG(T223, T194) → P1_IN_AG(T223)
P137_IN_AGAG(T223, T194) → U49_AGAG(T223, T194, p1_in_ag(T223))
U49_AGAG(T223, T194, p1_out_ag(T223)) → P1_IN_AG(T194)
p1_in_gg(d(e(t)), const) → p1_out_gg(d(e(t)), const)
p1_in_gg(d(e(const)), const) → p1_out_gg(d(e(const)), const)
p1_in_gg(d(e(+(t, T197))), +(const, T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const, T203))), +(const, T194)) → U57_gg(T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const, T293))), +(*(const, T294), *(T293, const))) → U63_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
p1_in_ag(const) → p1_out_ag(const)
p1_in_ag(+(const, T194)) → U56_ag(T194, p1_in_ag(T194))
p1_in_ag(+(const, T194)) → U57_ag(T194, p1_in_ag(T194))
p1_in_ag(+(+(T222, T223), T194)) → U58_ag(T222, T223, T194, p134_in_agagag(T222, T223, T194))
p1_in_ag(+(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T194))
p1_in_ag(+(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p1_in_ag(+(*(t, T294), *(T293, const))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_ag(+(*(const, T294), *(T293, const))) → U63_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_ag(+(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
p1_in_ag(+(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const, T194))
U57_gg(T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const, T203))), +(const, T194))
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const)))
U63_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const, T293))), +(*(const, T294), *(T293, const)))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
U56_ag(T194, p1_out_ag(T194)) → p1_out_ag(+(const, T194))
U57_ag(T194, p1_out_ag(T194)) → p1_out_ag(+(const, T194))
U58_ag(T222, T223, T194, p134_out_agagag(T222, T223, T194)) → p1_out_ag(+(+(T222, T223), T194))
U59_ag(T246, T247, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T194)) → p1_out_ag(+(+(*(T246, T248), *(T247, T249)), T194))
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(+(*(T267, T269), *(T268, T270)))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(+(*(t, T294), *(T293, const)))
U63_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(+(*(const, T294), *(T293, const)))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(+(*(+(T317, T318), T294), *(T293, +(T319, T320))))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(+(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p134_in_agagag(T222, T223, T194) → U45_agagag(T222, T223, T194, p1_in_ag(T222))
p134_in_agagag(T222, T223, T194) → U46_agagag(T222, T223, T194, p1_in_ag(T222))
p134_in_ggggag(T224, T222, T225, T223, T194) → U45_ggggag(T224, T222, T225, T223, T194, p1_in_gg(d(e(T224)), T222))
p134_in_ggggag(T224, T222, T227, T223, T194) → U46_ggggag(T224, T222, T227, T223, T194, p1_in_gg(d(e(T224)), T222))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U45_agagag(T222, T223, T194, p1_out_ag(T222)) → p134_out_agagag(T222, T223, T194)
U46_agagag(T222, T223, T194, p1_out_ag(T222)) → U47_agagag(T222, T223, T194, p137_in_agag(T223, T194))
U45_ggggag(T224, T222, T225, T223, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T194)
U46_ggggag(T224, T222, T227, T223, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T194, p137_in_ggag(T227, T223, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U47_agagag(T222, T223, T194, p137_out_agag(T223, T194)) → p134_out_agagag(T222, T223, T194)
U47_ggggag(T224, T222, T227, T223, T194, p137_out_ggag(T227, T223, T194)) → p134_out_ggggag(T224, T222, T227, T223, T194)
p137_in_agag(T223, T194) → U48_agag(T223, T194, p1_in_ag(T223))
p137_in_agag(T223, T194) → U49_agag(T223, T194, p1_in_ag(T223))
p137_in_ggag(T227, T223, T194) → U48_ggag(T227, T223, T194, p1_in_gg(d(e(T227)), T223))
p137_in_ggag(T227, T223, T194) → U49_ggag(T227, T223, T194, p1_in_gg(d(e(T227)), T223))
U48_agag(T223, T194, p1_out_ag(T223)) → p137_out_agag(T223, T194)
U49_agag(T223, T194, p1_out_ag(T223)) → U50_agag(T223, T194, p1_in_ag(T194))
U48_ggag(T227, T223, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T194)
U49_ggag(T227, T223, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T194, p1_in_ag(T194))
U50_agag(T223, T194, p1_out_ag(T194)) → p137_out_agag(T223, T194)
U50_ggag(T227, T223, T194, p1_out_ag(T194)) → p137_out_ggag(T227, T223, T194)
p1_in_gg(x0, x1)
p1_in_ag(x0)
U56_gg(x0, x1, x2)
U57_gg(x0, x1, x2)
U58_gg(x0, x1, x2, x3, x4, x5, x6)
U59_gg(x0, x1, x2, x3, x4, x5, x6)
U60_gg(x0, x1, x2, x3, x4)
U62_gg(x0, x1, x2)
U63_gg(x0, x1, x2)
U64_gg(x0, x1, x2, x3, x4, x5, x6)
U65_gg(x0, x1, x2, x3, x4, x5, x6)
U56_ag(x0, x1)
U57_ag(x0, x1)
U58_ag(x0, x1, x2, x3)
U59_ag(x0, x1, x2, x3, x4, x5)
U60_ag(x0, x1, x2, x3, x4)
U62_ag(x0, x1, x2)
U63_ag(x0, x1, x2)
U64_ag(x0, x1, x2, x3, x4, x5, x6)
U65_ag(x0, x1, x2, x3, x4, x5, x6)
p134_in_gggggg(x0, x1, x2, x3, x4, x5)
p137_in_gggg(x0, x1, x2, x3)
p134_in_agagag(x0, x1, x2)
p134_in_ggggag(x0, x1, x2, x3, x4)
U45_gggggg(x0, x1, x2, x3, x4, x5, x6)
U46_gggggg(x0, x1, x2, x3, x4, x5, x6)
U48_gggg(x0, x1, x2, x3, x4)
U49_gggg(x0, x1, x2, x3, x4)
U45_agagag(x0, x1, x2, x3)
U46_agagag(x0, x1, x2, x3)
U45_ggggag(x0, x1, x2, x3, x4, x5)
U46_ggggag(x0, x1, x2, x3, x4, x5)
U47_gggggg(x0, x1, x2, x3, x4, x5, x6)
U50_gggg(x0, x1, x2, x3, x4)
U47_agagag(x0, x1, x2, x3)
U47_ggggag(x0, x1, x2, x3, x4, x5)
p137_in_agag(x0, x1)
p137_in_ggag(x0, x1, x2)
U48_agag(x0, x1, x2)
U49_agag(x0, x1, x2)
U48_ggag(x0, x1, x2, x3)
U49_ggag(x0, x1, x2, x3)
U50_agag(x0, x1, x2)
U50_ggag(x0, x1, x2, x3)
From the DPs we obtained the following set of size-change graphs:
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P1_IN_AG(d(d(T10)), const(1)) → U54_AG(T10, p9_in_aa(T10, X14))
P1_IN_AG(d(d(T10)), const(1)) → P9_IN_AA(T10, X14)
P9_IN_AA(e(t), const(1)) → U6_AA(p1_in_gg(d(e(const(1))), const(1)))
P9_IN_AA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(1))
P1_IN_GG(d(d(T10)), const(1)) → U54_GG(T10, p9_in_ga(T10, X14))
P1_IN_GG(d(d(T10)), const(1)) → P9_IN_GA(T10, X14)
P9_IN_GA(e(t), const(1)) → U6_GA(p1_in_gg(d(e(const(1))), const(1)))
P9_IN_GA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(1))
P1_IN_GG(d(d(T135)), const(0)) → U55_GG(T135, p90_in_ga(T135, X334))
P1_IN_GG(d(d(T135)), const(0)) → P90_IN_GA(T135, X334)
P90_IN_GA(e(t), const(1)) → U28_GA(p1_in_gg(d(e(const(1))), const(0)))
P90_IN_GA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(0))
P1_IN_GG(d(e(+(t, T197))), +(const(1), T194)) → U56_GG(T197, T194, p1_in_gg(d(e(T197)), T194))
P1_IN_GG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_GG(d(e(T197)), T194)
P1_IN_GG(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_GG(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
P1_IN_GG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_GG(d(e(T203)), T194)
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_GG(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194)
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → U45_GGGGGG(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_GG(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGGG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGGG(T224, T222, T227, T223, T228, T194) → U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_GG(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T228, T194) → U48_GGGG(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
P137_IN_GGGG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P1_IN_GG(d(d(T280)), +(T278, T279)) → U61_GG(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
P1_IN_GG(d(d(T280)), +(T278, T279)) → P150_IN_GAGG(T280, X551, T278, T279)
P150_IN_GAGG(T280, X551, T278, T279) → U51_GAGG(T280, X551, T278, T279, p60_in_ga(T280, X551))
P150_IN_GAGG(T280, X551, T278, T279) → P60_IN_GA(T280, X551)
P60_IN_GA(e(+(T108, T109)), +(X266, X267)) → U23_GA(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
P60_IN_GA(e(+(T108, T109)), +(X266, X267)) → P39_IN_GAGA(T108, X266, T109, X267)
P39_IN_GAGA(T45, X117, T46, X118) → U3_GAGA(T45, X117, T46, X118, p24_in_ga(T45, X117))
P39_IN_GAGA(T45, X117, T46, X118) → P24_IN_GA(T45, X117)
P24_IN_GA(+(T45, T46), +(X117, X118)) → U1_GA(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
P24_IN_GA(+(T45, T46), +(X117, X118)) → P39_IN_GAGA(T45, X117, T46, X118)
P39_IN_GAGA(T45, T47, T48, X118) → U4_GAGA(T45, T47, T48, X118, p24_in_ga(T45, T47))
P24_IN_GA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_GA(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
P24_IN_GA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_GAGA(T59, X152, T60, X151)
U4_GAGA(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_GAGA(T45, T47, T48, X118, p24_in_ga(T48, X118))
U4_GAGA(T45, T47, T48, X118, p24_out_ga(T45, T47)) → P24_IN_GA(T48, X118)
P60_IN_GA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_GA(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
P60_IN_GA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → P39_IN_GAGA(T120, X301, T121, X300)
P60_IN_GA(d(T125), X316) → U25_GA(T125, X316, p60_in_ga(T125, X315))
P60_IN_GA(d(T125), X316) → P60_IN_GA(T125, X315)
P60_IN_GA(d(T125), X316) → U26_GA(T125, X316, p60_in_ga(T125, T126))
U26_GA(T125, X316, p60_out_ga(T125, T126)) → U27_GA(T125, X316, p24_in_aa(T126, X316))
U26_GA(T125, X316, p60_out_ga(T125, T126)) → P24_IN_AA(T126, X316)
P24_IN_AA(+(T45, T46), +(X117, X118)) → U1_AA(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
P24_IN_AA(+(T45, T46), +(X117, X118)) → P39_IN_AAAA(T45, X117, T46, X118)
P39_IN_AAAA(T45, X117, T46, X118) → U3_AAAA(T45, X117, T46, X118, p24_in_aa(T45, X117))
P39_IN_AAAA(T45, X117, T46, X118) → P24_IN_AA(T45, X117)
P24_IN_AA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_AA(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
P24_IN_AA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_AAAA(T59, X152, T60, X151)
P39_IN_AAAA(T45, T47, T48, X118) → U4_AAAA(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_AAAA(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_AAAA(T45, T47, T48, X118, p24_in_aa(T48, X118))
U4_AAAA(T45, T47, T48, X118, p24_out_aa(T45, T47)) → P24_IN_AA(T48, X118)
P150_IN_GAGG(T280, T281, T278, T279) → U52_GAGG(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_GAGG(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_GAGG(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
U52_GAGG(T280, T281, T278, T279, p60_out_ga(T280, T281)) → P1_IN_AG(d(e(T281)), +(T278, T279))
P1_IN_AG(d(d(T135)), const(0)) → U55_AG(T135, p90_in_aa(T135, X334))
P1_IN_AG(d(d(T135)), const(0)) → P90_IN_AA(T135, X334)
P90_IN_AA(e(t), const(1)) → U28_AA(p1_in_gg(d(e(const(1))), const(0)))
P90_IN_AA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(0))
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_GG(T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_GG(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_GG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_GG(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_GG(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
P1_IN_GG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_GG(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
P1_IN_GG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → P150_IN_GAGG(T356, X635, *(T352, T353), *(T354, T355))
P1_IN_GG(d(d(e(t))), T360) → U67_GG(T360, p1_in_gg(d(e(const(1))), T360))
P1_IN_GG(d(d(e(t))), T360) → P1_IN_GG(d(e(const(1))), T360)
P1_IN_GG(d(d(e(const(T366)))), T360) → U68_GG(T366, T360, p1_in_gg(d(e(const(0))), T360))
P1_IN_GG(d(d(e(const(T366)))), T360) → P1_IN_GG(d(e(const(0))), T360)
P1_IN_GG(d(d(e(+(T377, T378)))), T360) → U69_GG(T377, T378, T360, p24_in_ga(T377, X683))
P1_IN_GG(d(d(e(+(T377, T378)))), T360) → P24_IN_GA(T377, X683)
P1_IN_GG(d(d(e(+(T377, T380)))), T360) → U70_GG(T377, T380, T360, p24_in_ga(T377, T379))
U70_GG(T377, T380, T360, p24_out_ga(T377, T379)) → U71_GG(T377, T380, T360, p24_in_ga(T380, X684))
U70_GG(T377, T380, T360, p24_out_ga(T377, T379)) → P24_IN_GA(T380, X684)
P1_IN_GG(d(d(e(+(T377, T380)))), T360) → U72_GG(T377, T380, T360, p24_in_ga(T377, T392))
U72_GG(T377, T380, T360, p24_out_ga(T377, T392)) → U73_GG(T377, T380, T360, T392, p24_in_ga(T380, T391))
U72_GG(T377, T380, T360, p24_out_ga(T377, T392)) → P24_IN_GA(T380, T391)
U73_GG(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_GG(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
U73_GG(T377, T380, T360, T392, p24_out_ga(T380, T391)) → P1_IN_AG(d(e(+(T392, T391))), T360)
P1_IN_AG(d(e(+(t, T197))), +(const(1), T194)) → U56_AG(T197, T194, p1_in_ag(d(e(T197)), T194))
P1_IN_AG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_AG(d(e(T197)), T194)
P1_IN_AG(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_AG(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
P1_IN_AG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_AG(d(e(T203)), T194)
P1_IN_AG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_AG(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
P1_IN_AG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194)
P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194) → U45_AGAGAG(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194) → P1_IN_AG(d(e(T224)), T222)
P1_IN_AG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_AG(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
P1_IN_AG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGAG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGAG(T224, T222, T225, T223, T226, T194) → U45_GGGGAG(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
P134_IN_GGGGAG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(d(e(*(T417, T418)))), T360) → U75_GG(T417, T418, T360, p24_in_ga(T417, X724))
P1_IN_GG(d(d(e(*(T417, T418)))), T360) → P24_IN_GA(T417, X724)
P1_IN_GG(d(d(e(*(T421, T420)))), T360) → U76_GG(T421, T420, T360, p24_in_ga(T421, T419))
U76_GG(T421, T420, T360, p24_out_ga(T421, T419)) → U77_GG(T421, T420, T360, p24_in_ga(T420, X723))
U76_GG(T421, T420, T360, p24_out_ga(T421, T419)) → P24_IN_GA(T420, X723)
P1_IN_GG(d(d(e(*(T433, T434)))), T360) → U78_GG(T433, T434, T360, p24_in_ga(T433, T435))
U78_GG(T433, T434, T360, p24_out_ga(T433, T435)) → U79_GG(T433, T434, T360, T435, p24_in_ga(T434, T432))
U78_GG(T433, T434, T360, p24_out_ga(T433, T435)) → P24_IN_GA(T434, T432)
U79_GG(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_GG(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
U79_GG(T433, T434, T360, T435, p24_out_ga(T434, T432)) → P1_IN_AG(d(e(+(*(T433, T432), *(T434, T435)))), T360)
P1_IN_AG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_AG(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
P1_IN_AG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T229, T194) → U49_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
P1_IN_GG(d(d(d(T455))), T360) → U81_GG(T455, T360, p60_in_ga(T455, X744))
P1_IN_GG(d(d(d(T455))), T360) → P60_IN_GA(T455, X744)
P1_IN_GG(d(d(d(T455))), T360) → U82_GG(T455, T360, p60_in_ga(T455, T456))
U82_GG(T455, T360, p60_out_ga(T455, T456)) → U83_GG(T455, T360, p24_in_aa(T456, X745))
U82_GG(T455, T360, p60_out_ga(T455, T456)) → P24_IN_AA(T456, X745)
U82_GG(T455, T360, p60_out_ga(T455, T456)) → U84_GG(T455, T360, p24_in_aa(T456, T467))
U84_GG(T455, T360, p24_out_aa(T456, T467)) → U85_GG(T455, T360, p1_in_ag(d(e(T467)), T360))
U84_GG(T455, T360, p24_out_aa(T456, T467)) → P1_IN_AG(d(e(T467)), T360)
P1_IN_AG(d(d(T280)), +(T278, T279)) → U61_AG(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
P1_IN_AG(d(d(T280)), +(T278, T279)) → P150_IN_AAGG(T280, X551, T278, T279)
P150_IN_AAGG(T280, X551, T278, T279) → U51_AAGG(T280, X551, T278, T279, p60_in_aa(T280, X551))
P150_IN_AAGG(T280, X551, T278, T279) → P60_IN_AA(T280, X551)
P60_IN_AA(e(+(T108, T109)), +(X266, X267)) → U23_AA(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
P60_IN_AA(e(+(T108, T109)), +(X266, X267)) → P39_IN_AAAA(T108, X266, T109, X267)
P60_IN_AA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_AA(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
P60_IN_AA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → P39_IN_AAAA(T120, X301, T121, X300)
P60_IN_AA(d(T125), X316) → U25_AA(T125, X316, p60_in_aa(T125, X315))
P60_IN_AA(d(T125), X316) → P60_IN_AA(T125, X315)
P60_IN_AA(d(T125), X316) → U26_AA(T125, X316, p60_in_aa(T125, T126))
U26_AA(T125, X316, p60_out_aa(T125, T126)) → U27_AA(T125, X316, p24_in_aa(T126, X316))
U26_AA(T125, X316, p60_out_aa(T125, T126)) → P24_IN_AA(T126, X316)
P150_IN_AAGG(T280, T281, T278, T279) → U52_AAGG(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_AAGG(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_AAGG(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
U52_AAGG(T280, T281, T278, T279, p60_out_aa(T280, T281)) → P1_IN_AG(d(e(T281)), +(T278, T279))
P1_IN_AG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_AG(T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_AG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_AG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_AG(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_AG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_AG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_AG(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
P1_IN_AG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_AG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_AG(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
P1_IN_AG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
P1_IN_AG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_AG(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
P1_IN_AG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → P150_IN_AAGG(T356, X635, *(T352, T353), *(T354, T355))
P1_IN_AG(d(d(e(t))), T360) → U67_AG(T360, p1_in_gg(d(e(const(1))), T360))
P1_IN_AG(d(d(e(t))), T360) → P1_IN_GG(d(e(const(1))), T360)
P1_IN_AG(d(d(e(const(T366)))), T360) → U68_AG(T366, T360, p1_in_gg(d(e(const(0))), T360))
P1_IN_AG(d(d(e(const(T366)))), T360) → P1_IN_GG(d(e(const(0))), T360)
P1_IN_AG(d(d(e(+(T377, T378)))), T360) → U69_AG(T377, T378, T360, p24_in_aa(T377, X683))
P1_IN_AG(d(d(e(+(T377, T378)))), T360) → P24_IN_AA(T377, X683)
P1_IN_AG(d(d(e(+(T377, T380)))), T360) → U70_AG(T377, T380, T360, p24_in_aa(T377, T379))
U70_AG(T377, T380, T360, p24_out_aa(T377, T379)) → U71_AG(T377, T380, T360, p24_in_aa(T380, X684))
U70_AG(T377, T380, T360, p24_out_aa(T377, T379)) → P24_IN_AA(T380, X684)
P1_IN_AG(d(d(e(+(T377, T380)))), T360) → U72_AG(T377, T380, T360, p24_in_aa(T377, T392))
U72_AG(T377, T380, T360, p24_out_aa(T377, T392)) → U73_AG(T377, T380, T360, T392, p24_in_aa(T380, T391))
U72_AG(T377, T380, T360, p24_out_aa(T377, T392)) → P24_IN_AA(T380, T391)
U73_AG(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_AG(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
U73_AG(T377, T380, T360, T392, p24_out_aa(T380, T391)) → P1_IN_AG(d(e(+(T392, T391))), T360)
P1_IN_AG(d(d(e(*(T417, T418)))), T360) → U75_AG(T417, T418, T360, p24_in_aa(T417, X724))
P1_IN_AG(d(d(e(*(T417, T418)))), T360) → P24_IN_AA(T417, X724)
P1_IN_AG(d(d(e(*(T421, T420)))), T360) → U76_AG(T421, T420, T360, p24_in_aa(T421, T419))
U76_AG(T421, T420, T360, p24_out_aa(T421, T419)) → U77_AG(T421, T420, T360, p24_in_aa(T420, X723))
U76_AG(T421, T420, T360, p24_out_aa(T421, T419)) → P24_IN_AA(T420, X723)
P1_IN_AG(d(d(e(*(T433, T434)))), T360) → U78_AG(T433, T434, T360, p24_in_aa(T433, T435))
U78_AG(T433, T434, T360, p24_out_aa(T433, T435)) → U79_AG(T433, T434, T360, T435, p24_in_aa(T434, T432))
U78_AG(T433, T434, T360, p24_out_aa(T433, T435)) → P24_IN_AA(T434, T432)
U79_AG(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_AG(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
U79_AG(T433, T434, T360, T435, p24_out_aa(T434, T432)) → P1_IN_AG(d(e(+(*(T433, T432), *(T434, T435)))), T360)
P1_IN_AG(d(d(d(T455))), T360) → U81_AG(T455, T360, p60_in_aa(T455, X744))
P1_IN_AG(d(d(d(T455))), T360) → P60_IN_AA(T455, X744)
P1_IN_AG(d(d(d(T455))), T360) → U82_AG(T455, T360, p60_in_aa(T455, T456))
U82_AG(T455, T360, p60_out_aa(T455, T456)) → U83_AG(T455, T360, p24_in_aa(T456, X745))
U82_AG(T455, T360, p60_out_aa(T455, T456)) → P24_IN_AA(T456, X745)
U82_AG(T455, T360, p60_out_aa(T455, T456)) → U84_AG(T455, T360, p24_in_aa(T456, T467))
U84_AG(T455, T360, p24_out_aa(T456, T467)) → U85_AG(T455, T360, p1_in_ag(d(e(T467)), T360))
U84_AG(T455, T360, p24_out_aa(T456, T467)) → P1_IN_AG(d(e(T467)), T360)
U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_GG(d(e(T229)), T194)
P134_IN_GGGGAG(T224, T222, T227, T223, T228, T194) → U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_GGGGAG(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGAG(T227, T223, T228, T194)
P137_IN_GGAG(T227, T223, T228, T194) → U48_GGAG(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
P137_IN_GGAG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P137_IN_GGAG(T227, T223, T229, T194) → U49_GGAG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGAG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_GGAG(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U49_GGAG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
P134_IN_AGAGAG(T224, T222, T227, T223, T228, T194) → U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_AGAGAG(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → P137_IN_AGAG(T227, T223, T228, T194)
P137_IN_AGAG(T227, T223, T228, T194) → U48_AGAG(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
P137_IN_AGAG(T227, T223, T228, T194) → P1_IN_AG(d(e(T227)), T223)
P137_IN_AGAG(T227, T223, T229, T194) → U49_AGAG(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_AGAG(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_AGAG(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U49_AGAG(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
P90_IN_AA(e(const(T140)), const(0)) → U29_AA(T140, p1_in_gg(d(e(const(0))), const(0)))
P90_IN_AA(e(const(T140)), const(0)) → P1_IN_GG(d(e(const(0))), const(0))
P90_IN_AA(e(+(T151, T152)), +(X373, X374)) → U30_AA(T151, T152, X373, X374, p24_in_aa(T151, X373))
P90_IN_AA(e(+(T151, T152)), +(X373, X374)) → P24_IN_AA(T151, X373)
P90_IN_AA(e(+(T151, T154)), +(T153, X374)) → U31_AA(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_AA(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_AA(T151, T154, T153, X374, p24_in_aa(T154, X374))
U31_AA(T151, T154, T153, X374, p24_out_aa(T151, T153)) → P24_IN_AA(T154, X374)
P90_IN_AA(e(+(T151, T154)), +(T156, T155)) → U33_AA(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_AA(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_AA(T151, T154, T156, T155, p24_in_aa(T154, T155))
U33_AA(T151, T154, T156, T155, p24_out_aa(T151, T156)) → P24_IN_AA(T154, T155)
U34_AA(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_AA(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U34_AA(T151, T154, T156, T155, p24_out_aa(T154, T155)) → P1_IN_AG(d(e(+(T156, T155))), const(0))
P90_IN_AA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_AA(T169, T170, X420, X421, p24_in_aa(T169, X421))
P90_IN_AA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → P24_IN_AA(T169, X421)
P90_IN_AA(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_AA(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_AA(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_AA(T173, T172, X420, T171, p24_in_aa(T172, X420))
U37_AA(T173, T172, X420, T171, p24_out_aa(T173, T171)) → P24_IN_AA(T172, X420)
P90_IN_AA(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_AA(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_AA(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_AA(T175, T176, T174, T177, p24_in_aa(T176, T174))
U39_AA(T175, T176, T174, T177, p24_out_aa(T175, T177)) → P24_IN_AA(T176, T174)
U40_AA(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_AA(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U40_AA(T175, T176, T174, T177, p24_out_aa(T176, T174)) → P1_IN_AG(d(e(+(*(T175, T174), *(T176, T177)))), const(0))
P90_IN_AA(d(T185), X449) → U42_AA(T185, X449, p60_in_aa(T185, X448))
P90_IN_AA(d(T185), X449) → P60_IN_AA(T185, X448)
P90_IN_AA(d(T185), X449) → U43_AA(T185, X449, p60_in_aa(T185, T186))
U43_AA(T185, X449, p60_out_aa(T185, T186)) → U44_AA(T185, X449, p90_in_aa(e(T186), X449))
U43_AA(T185, X449, p60_out_aa(T185, T186)) → P90_IN_AA(e(T186), X449)
U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_GGGGGG(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGGG(T227, T223, T228, T194)
P90_IN_GA(e(const(T140)), const(0)) → U29_GA(T140, p1_in_gg(d(e(const(0))), const(0)))
P90_IN_GA(e(const(T140)), const(0)) → P1_IN_GG(d(e(const(0))), const(0))
P90_IN_GA(e(+(T151, T152)), +(X373, X374)) → U30_GA(T151, T152, X373, X374, p24_in_ga(T151, X373))
P90_IN_GA(e(+(T151, T152)), +(X373, X374)) → P24_IN_GA(T151, X373)
P90_IN_GA(e(+(T151, T154)), +(T153, X374)) → U31_GA(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_GA(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_GA(T151, T154, T153, X374, p24_in_ga(T154, X374))
U31_GA(T151, T154, T153, X374, p24_out_ga(T151, T153)) → P24_IN_GA(T154, X374)
P90_IN_GA(e(+(T151, T154)), +(T156, T155)) → U33_GA(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_GA(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_GA(T151, T154, T156, T155, p24_in_ga(T154, T155))
U33_GA(T151, T154, T156, T155, p24_out_ga(T151, T156)) → P24_IN_GA(T154, T155)
U34_GA(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_GA(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U34_GA(T151, T154, T156, T155, p24_out_ga(T154, T155)) → P1_IN_AG(d(e(+(T156, T155))), const(0))
P90_IN_GA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_GA(T169, T170, X420, X421, p24_in_ga(T169, X421))
P90_IN_GA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → P24_IN_GA(T169, X421)
P90_IN_GA(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_GA(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_GA(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_GA(T173, T172, X420, T171, p24_in_ga(T172, X420))
U37_GA(T173, T172, X420, T171, p24_out_ga(T173, T171)) → P24_IN_GA(T172, X420)
P90_IN_GA(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_GA(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_GA(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_GA(T175, T176, T174, T177, p24_in_ga(T176, T174))
U39_GA(T175, T176, T174, T177, p24_out_ga(T175, T177)) → P24_IN_GA(T176, T174)
U40_GA(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_GA(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U40_GA(T175, T176, T174, T177, p24_out_ga(T176, T174)) → P1_IN_AG(d(e(+(*(T175, T174), *(T176, T177)))), const(0))
P90_IN_GA(d(T185), X449) → U42_GA(T185, X449, p60_in_ga(T185, X448))
P90_IN_GA(d(T185), X449) → P60_IN_GA(T185, X448)
P90_IN_GA(d(T185), X449) → U43_GA(T185, X449, p60_in_ga(T185, T186))
U43_GA(T185, X449, p60_out_ga(T185, T186)) → U44_GA(T185, X449, p90_in_aa(e(T186), X449))
U43_GA(T185, X449, p60_out_ga(T185, T186)) → P90_IN_AA(e(T186), X449)
P9_IN_GA(e(const(T15)), const(0)) → U7_GA(T15, p1_in_gg(d(e(const(0))), const(1)))
P9_IN_GA(e(const(T15)), const(0)) → P1_IN_GG(d(e(const(0))), const(1))
P9_IN_GA(e(+(T26, T27)), +(X77, X78)) → U8_GA(T26, T27, X77, X78, p24_in_ga(T26, X77))
P9_IN_GA(e(+(T26, T27)), +(X77, X78)) → P24_IN_GA(T26, X77)
P9_IN_GA(e(+(T26, T29)), +(T28, X78)) → U9_GA(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_GA(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_GA(T26, T29, T28, X78, p24_in_ga(T29, X78))
U9_GA(T26, T29, T28, X78, p24_out_ga(T26, T28)) → P24_IN_GA(T29, X78)
P9_IN_GA(e(+(T26, T29)), +(T62, T61)) → U11_GA(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_GA(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_GA(T26, T29, T62, T61, p24_in_ga(T29, T61))
U11_GA(T26, T29, T62, T61, p24_out_ga(T26, T62)) → P24_IN_GA(T29, T61)
U12_GA(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_GA(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U12_GA(T26, T29, T62, T61, p24_out_ga(T29, T61)) → P1_IN_AG(d(e(+(T62, T61))), const(1))
P9_IN_GA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_GA(T75, T76, X200, X201, p24_in_ga(T75, X201))
P9_IN_GA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → P24_IN_GA(T75, X201)
P9_IN_GA(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_GA(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_GA(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_GA(T79, T78, X200, T77, p24_in_ga(T78, X200))
U15_GA(T79, T78, X200, T77, p24_out_ga(T79, T77)) → P24_IN_GA(T78, X200)
P9_IN_GA(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_GA(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_GA(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_GA(T81, T82, T80, T83, p24_in_ga(T82, T80))
U17_GA(T81, T82, T80, T83, p24_out_ga(T81, T83)) → P24_IN_GA(T82, T80)
U18_GA(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_GA(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U18_GA(T81, T82, T80, T83, p24_out_ga(T82, T80)) → P1_IN_AG(d(e(+(*(T81, T80), *(T82, T83)))), const(1))
P9_IN_GA(d(T91), X229) → U20_GA(T91, X229, p60_in_ga(T91, X228))
P9_IN_GA(d(T91), X229) → P60_IN_GA(T91, X228)
P9_IN_GA(d(T91), X229) → U21_GA(T91, X229, p60_in_ga(T91, T92))
U21_GA(T91, X229, p60_out_ga(T91, T92)) → U22_GA(T91, X229, p9_in_aa(e(T92), X229))
U21_GA(T91, X229, p60_out_ga(T91, T92)) → P9_IN_AA(e(T92), X229)
P9_IN_AA(e(const(T15)), const(0)) → U7_AA(T15, p1_in_gg(d(e(const(0))), const(1)))
P9_IN_AA(e(const(T15)), const(0)) → P1_IN_GG(d(e(const(0))), const(1))
P9_IN_AA(e(+(T26, T27)), +(X77, X78)) → U8_AA(T26, T27, X77, X78, p24_in_aa(T26, X77))
P9_IN_AA(e(+(T26, T27)), +(X77, X78)) → P24_IN_AA(T26, X77)
P9_IN_AA(e(+(T26, T29)), +(T28, X78)) → U9_AA(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_AA(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_AA(T26, T29, T28, X78, p24_in_aa(T29, X78))
U9_AA(T26, T29, T28, X78, p24_out_aa(T26, T28)) → P24_IN_AA(T29, X78)
P9_IN_AA(e(+(T26, T29)), +(T62, T61)) → U11_AA(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_AA(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_AA(T26, T29, T62, T61, p24_in_aa(T29, T61))
U11_AA(T26, T29, T62, T61, p24_out_aa(T26, T62)) → P24_IN_AA(T29, T61)
U12_AA(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_AA(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U12_AA(T26, T29, T62, T61, p24_out_aa(T29, T61)) → P1_IN_AG(d(e(+(T62, T61))), const(1))
P9_IN_AA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_AA(T75, T76, X200, X201, p24_in_aa(T75, X201))
P9_IN_AA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → P24_IN_AA(T75, X201)
P9_IN_AA(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_AA(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_AA(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_AA(T79, T78, X200, T77, p24_in_aa(T78, X200))
U15_AA(T79, T78, X200, T77, p24_out_aa(T79, T77)) → P24_IN_AA(T78, X200)
P9_IN_AA(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_AA(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_AA(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_AA(T81, T82, T80, T83, p24_in_aa(T82, T80))
U17_AA(T81, T82, T80, T83, p24_out_aa(T81, T83)) → P24_IN_AA(T82, T80)
U18_AA(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_AA(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U18_AA(T81, T82, T80, T83, p24_out_aa(T82, T80)) → P1_IN_AG(d(e(+(*(T81, T80), *(T82, T83)))), const(1))
P9_IN_AA(d(T91), X229) → U20_AA(T91, X229, p60_in_aa(T91, X228))
P9_IN_AA(d(T91), X229) → P60_IN_AA(T91, X228)
P9_IN_AA(d(T91), X229) → U21_AA(T91, X229, p60_in_aa(T91, T92))
U21_AA(T91, X229, p60_out_aa(T91, T92)) → U22_AA(T91, X229, p9_in_aa(e(T92), X229))
U21_AA(T91, X229, p60_out_aa(T91, T92)) → P9_IN_AA(e(T92), X229)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P1_IN_AG(d(d(T10)), const(1)) → U54_AG(T10, p9_in_aa(T10, X14))
P1_IN_AG(d(d(T10)), const(1)) → P9_IN_AA(T10, X14)
P9_IN_AA(e(t), const(1)) → U6_AA(p1_in_gg(d(e(const(1))), const(1)))
P9_IN_AA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(1))
P1_IN_GG(d(d(T10)), const(1)) → U54_GG(T10, p9_in_ga(T10, X14))
P1_IN_GG(d(d(T10)), const(1)) → P9_IN_GA(T10, X14)
P9_IN_GA(e(t), const(1)) → U6_GA(p1_in_gg(d(e(const(1))), const(1)))
P9_IN_GA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(1))
P1_IN_GG(d(d(T135)), const(0)) → U55_GG(T135, p90_in_ga(T135, X334))
P1_IN_GG(d(d(T135)), const(0)) → P90_IN_GA(T135, X334)
P90_IN_GA(e(t), const(1)) → U28_GA(p1_in_gg(d(e(const(1))), const(0)))
P90_IN_GA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(0))
P1_IN_GG(d(e(+(t, T197))), +(const(1), T194)) → U56_GG(T197, T194, p1_in_gg(d(e(T197)), T194))
P1_IN_GG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_GG(d(e(T197)), T194)
P1_IN_GG(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_GG(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
P1_IN_GG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_GG(d(e(T203)), T194)
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_GG(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194)
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → U45_GGGGGG(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_GG(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGGG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGGG(T224, T222, T227, T223, T228, T194) → U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_GG(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T228, T194) → U48_GGGG(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
P137_IN_GGGG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P1_IN_GG(d(d(T280)), +(T278, T279)) → U61_GG(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
P1_IN_GG(d(d(T280)), +(T278, T279)) → P150_IN_GAGG(T280, X551, T278, T279)
P150_IN_GAGG(T280, X551, T278, T279) → U51_GAGG(T280, X551, T278, T279, p60_in_ga(T280, X551))
P150_IN_GAGG(T280, X551, T278, T279) → P60_IN_GA(T280, X551)
P60_IN_GA(e(+(T108, T109)), +(X266, X267)) → U23_GA(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
P60_IN_GA(e(+(T108, T109)), +(X266, X267)) → P39_IN_GAGA(T108, X266, T109, X267)
P39_IN_GAGA(T45, X117, T46, X118) → U3_GAGA(T45, X117, T46, X118, p24_in_ga(T45, X117))
P39_IN_GAGA(T45, X117, T46, X118) → P24_IN_GA(T45, X117)
P24_IN_GA(+(T45, T46), +(X117, X118)) → U1_GA(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
P24_IN_GA(+(T45, T46), +(X117, X118)) → P39_IN_GAGA(T45, X117, T46, X118)
P39_IN_GAGA(T45, T47, T48, X118) → U4_GAGA(T45, T47, T48, X118, p24_in_ga(T45, T47))
P24_IN_GA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_GA(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
P24_IN_GA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_GAGA(T59, X152, T60, X151)
U4_GAGA(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_GAGA(T45, T47, T48, X118, p24_in_ga(T48, X118))
U4_GAGA(T45, T47, T48, X118, p24_out_ga(T45, T47)) → P24_IN_GA(T48, X118)
P60_IN_GA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_GA(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
P60_IN_GA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → P39_IN_GAGA(T120, X301, T121, X300)
P60_IN_GA(d(T125), X316) → U25_GA(T125, X316, p60_in_ga(T125, X315))
P60_IN_GA(d(T125), X316) → P60_IN_GA(T125, X315)
P60_IN_GA(d(T125), X316) → U26_GA(T125, X316, p60_in_ga(T125, T126))
U26_GA(T125, X316, p60_out_ga(T125, T126)) → U27_GA(T125, X316, p24_in_aa(T126, X316))
U26_GA(T125, X316, p60_out_ga(T125, T126)) → P24_IN_AA(T126, X316)
P24_IN_AA(+(T45, T46), +(X117, X118)) → U1_AA(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
P24_IN_AA(+(T45, T46), +(X117, X118)) → P39_IN_AAAA(T45, X117, T46, X118)
P39_IN_AAAA(T45, X117, T46, X118) → U3_AAAA(T45, X117, T46, X118, p24_in_aa(T45, X117))
P39_IN_AAAA(T45, X117, T46, X118) → P24_IN_AA(T45, X117)
P24_IN_AA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_AA(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
P24_IN_AA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_AAAA(T59, X152, T60, X151)
P39_IN_AAAA(T45, T47, T48, X118) → U4_AAAA(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_AAAA(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_AAAA(T45, T47, T48, X118, p24_in_aa(T48, X118))
U4_AAAA(T45, T47, T48, X118, p24_out_aa(T45, T47)) → P24_IN_AA(T48, X118)
P150_IN_GAGG(T280, T281, T278, T279) → U52_GAGG(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_GAGG(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_GAGG(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
U52_GAGG(T280, T281, T278, T279, p60_out_ga(T280, T281)) → P1_IN_AG(d(e(T281)), +(T278, T279))
P1_IN_AG(d(d(T135)), const(0)) → U55_AG(T135, p90_in_aa(T135, X334))
P1_IN_AG(d(d(T135)), const(0)) → P90_IN_AA(T135, X334)
P90_IN_AA(e(t), const(1)) → U28_AA(p1_in_gg(d(e(const(1))), const(0)))
P90_IN_AA(e(t), const(1)) → P1_IN_GG(d(e(const(1))), const(0))
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_GG(T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_GG(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_GG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_GG(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_GG(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
P1_IN_GG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_GG(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
P1_IN_GG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → P150_IN_GAGG(T356, X635, *(T352, T353), *(T354, T355))
P1_IN_GG(d(d(e(t))), T360) → U67_GG(T360, p1_in_gg(d(e(const(1))), T360))
P1_IN_GG(d(d(e(t))), T360) → P1_IN_GG(d(e(const(1))), T360)
P1_IN_GG(d(d(e(const(T366)))), T360) → U68_GG(T366, T360, p1_in_gg(d(e(const(0))), T360))
P1_IN_GG(d(d(e(const(T366)))), T360) → P1_IN_GG(d(e(const(0))), T360)
P1_IN_GG(d(d(e(+(T377, T378)))), T360) → U69_GG(T377, T378, T360, p24_in_ga(T377, X683))
P1_IN_GG(d(d(e(+(T377, T378)))), T360) → P24_IN_GA(T377, X683)
P1_IN_GG(d(d(e(+(T377, T380)))), T360) → U70_GG(T377, T380, T360, p24_in_ga(T377, T379))
U70_GG(T377, T380, T360, p24_out_ga(T377, T379)) → U71_GG(T377, T380, T360, p24_in_ga(T380, X684))
U70_GG(T377, T380, T360, p24_out_ga(T377, T379)) → P24_IN_GA(T380, X684)
P1_IN_GG(d(d(e(+(T377, T380)))), T360) → U72_GG(T377, T380, T360, p24_in_ga(T377, T392))
U72_GG(T377, T380, T360, p24_out_ga(T377, T392)) → U73_GG(T377, T380, T360, T392, p24_in_ga(T380, T391))
U72_GG(T377, T380, T360, p24_out_ga(T377, T392)) → P24_IN_GA(T380, T391)
U73_GG(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_GG(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
U73_GG(T377, T380, T360, T392, p24_out_ga(T380, T391)) → P1_IN_AG(d(e(+(T392, T391))), T360)
P1_IN_AG(d(e(+(t, T197))), +(const(1), T194)) → U56_AG(T197, T194, p1_in_ag(d(e(T197)), T194))
P1_IN_AG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_AG(d(e(T197)), T194)
P1_IN_AG(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_AG(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
P1_IN_AG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_AG(d(e(T203)), T194)
P1_IN_AG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_AG(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
P1_IN_AG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194)
P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194) → U45_AGAGAG(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194) → P1_IN_AG(d(e(T224)), T222)
P1_IN_AG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_AG(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
P1_IN_AG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGAG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGAG(T224, T222, T225, T223, T226, T194) → U45_GGGGAG(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
P134_IN_GGGGAG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(d(e(*(T417, T418)))), T360) → U75_GG(T417, T418, T360, p24_in_ga(T417, X724))
P1_IN_GG(d(d(e(*(T417, T418)))), T360) → P24_IN_GA(T417, X724)
P1_IN_GG(d(d(e(*(T421, T420)))), T360) → U76_GG(T421, T420, T360, p24_in_ga(T421, T419))
U76_GG(T421, T420, T360, p24_out_ga(T421, T419)) → U77_GG(T421, T420, T360, p24_in_ga(T420, X723))
U76_GG(T421, T420, T360, p24_out_ga(T421, T419)) → P24_IN_GA(T420, X723)
P1_IN_GG(d(d(e(*(T433, T434)))), T360) → U78_GG(T433, T434, T360, p24_in_ga(T433, T435))
U78_GG(T433, T434, T360, p24_out_ga(T433, T435)) → U79_GG(T433, T434, T360, T435, p24_in_ga(T434, T432))
U78_GG(T433, T434, T360, p24_out_ga(T433, T435)) → P24_IN_GA(T434, T432)
U79_GG(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_GG(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
U79_GG(T433, T434, T360, T435, p24_out_ga(T434, T432)) → P1_IN_AG(d(e(+(*(T433, T432), *(T434, T435)))), T360)
P1_IN_AG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_AG(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
P1_IN_AG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T229, T194) → U49_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
P1_IN_GG(d(d(d(T455))), T360) → U81_GG(T455, T360, p60_in_ga(T455, X744))
P1_IN_GG(d(d(d(T455))), T360) → P60_IN_GA(T455, X744)
P1_IN_GG(d(d(d(T455))), T360) → U82_GG(T455, T360, p60_in_ga(T455, T456))
U82_GG(T455, T360, p60_out_ga(T455, T456)) → U83_GG(T455, T360, p24_in_aa(T456, X745))
U82_GG(T455, T360, p60_out_ga(T455, T456)) → P24_IN_AA(T456, X745)
U82_GG(T455, T360, p60_out_ga(T455, T456)) → U84_GG(T455, T360, p24_in_aa(T456, T467))
U84_GG(T455, T360, p24_out_aa(T456, T467)) → U85_GG(T455, T360, p1_in_ag(d(e(T467)), T360))
U84_GG(T455, T360, p24_out_aa(T456, T467)) → P1_IN_AG(d(e(T467)), T360)
P1_IN_AG(d(d(T280)), +(T278, T279)) → U61_AG(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
P1_IN_AG(d(d(T280)), +(T278, T279)) → P150_IN_AAGG(T280, X551, T278, T279)
P150_IN_AAGG(T280, X551, T278, T279) → U51_AAGG(T280, X551, T278, T279, p60_in_aa(T280, X551))
P150_IN_AAGG(T280, X551, T278, T279) → P60_IN_AA(T280, X551)
P60_IN_AA(e(+(T108, T109)), +(X266, X267)) → U23_AA(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
P60_IN_AA(e(+(T108, T109)), +(X266, X267)) → P39_IN_AAAA(T108, X266, T109, X267)
P60_IN_AA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_AA(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
P60_IN_AA(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → P39_IN_AAAA(T120, X301, T121, X300)
P60_IN_AA(d(T125), X316) → U25_AA(T125, X316, p60_in_aa(T125, X315))
P60_IN_AA(d(T125), X316) → P60_IN_AA(T125, X315)
P60_IN_AA(d(T125), X316) → U26_AA(T125, X316, p60_in_aa(T125, T126))
U26_AA(T125, X316, p60_out_aa(T125, T126)) → U27_AA(T125, X316, p24_in_aa(T126, X316))
U26_AA(T125, X316, p60_out_aa(T125, T126)) → P24_IN_AA(T126, X316)
P150_IN_AAGG(T280, T281, T278, T279) → U52_AAGG(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_AAGG(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_AAGG(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
U52_AAGG(T280, T281, T278, T279, p60_out_aa(T280, T281)) → P1_IN_AG(d(e(T281)), +(T278, T279))
P1_IN_AG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_AG(T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_AG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_AG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_AG(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
P1_IN_AG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_AG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_AG(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
P1_IN_AG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_AG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_AG(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
P1_IN_AG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
P1_IN_AG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_AG(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
P1_IN_AG(d(d(T356)), +(*(T352, T353), *(T354, T355))) → P150_IN_AAGG(T356, X635, *(T352, T353), *(T354, T355))
P1_IN_AG(d(d(e(t))), T360) → U67_AG(T360, p1_in_gg(d(e(const(1))), T360))
P1_IN_AG(d(d(e(t))), T360) → P1_IN_GG(d(e(const(1))), T360)
P1_IN_AG(d(d(e(const(T366)))), T360) → U68_AG(T366, T360, p1_in_gg(d(e(const(0))), T360))
P1_IN_AG(d(d(e(const(T366)))), T360) → P1_IN_GG(d(e(const(0))), T360)
P1_IN_AG(d(d(e(+(T377, T378)))), T360) → U69_AG(T377, T378, T360, p24_in_aa(T377, X683))
P1_IN_AG(d(d(e(+(T377, T378)))), T360) → P24_IN_AA(T377, X683)
P1_IN_AG(d(d(e(+(T377, T380)))), T360) → U70_AG(T377, T380, T360, p24_in_aa(T377, T379))
U70_AG(T377, T380, T360, p24_out_aa(T377, T379)) → U71_AG(T377, T380, T360, p24_in_aa(T380, X684))
U70_AG(T377, T380, T360, p24_out_aa(T377, T379)) → P24_IN_AA(T380, X684)
P1_IN_AG(d(d(e(+(T377, T380)))), T360) → U72_AG(T377, T380, T360, p24_in_aa(T377, T392))
U72_AG(T377, T380, T360, p24_out_aa(T377, T392)) → U73_AG(T377, T380, T360, T392, p24_in_aa(T380, T391))
U72_AG(T377, T380, T360, p24_out_aa(T377, T392)) → P24_IN_AA(T380, T391)
U73_AG(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_AG(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
U73_AG(T377, T380, T360, T392, p24_out_aa(T380, T391)) → P1_IN_AG(d(e(+(T392, T391))), T360)
P1_IN_AG(d(d(e(*(T417, T418)))), T360) → U75_AG(T417, T418, T360, p24_in_aa(T417, X724))
P1_IN_AG(d(d(e(*(T417, T418)))), T360) → P24_IN_AA(T417, X724)
P1_IN_AG(d(d(e(*(T421, T420)))), T360) → U76_AG(T421, T420, T360, p24_in_aa(T421, T419))
U76_AG(T421, T420, T360, p24_out_aa(T421, T419)) → U77_AG(T421, T420, T360, p24_in_aa(T420, X723))
U76_AG(T421, T420, T360, p24_out_aa(T421, T419)) → P24_IN_AA(T420, X723)
P1_IN_AG(d(d(e(*(T433, T434)))), T360) → U78_AG(T433, T434, T360, p24_in_aa(T433, T435))
U78_AG(T433, T434, T360, p24_out_aa(T433, T435)) → U79_AG(T433, T434, T360, T435, p24_in_aa(T434, T432))
U78_AG(T433, T434, T360, p24_out_aa(T433, T435)) → P24_IN_AA(T434, T432)
U79_AG(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_AG(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
U79_AG(T433, T434, T360, T435, p24_out_aa(T434, T432)) → P1_IN_AG(d(e(+(*(T433, T432), *(T434, T435)))), T360)
P1_IN_AG(d(d(d(T455))), T360) → U81_AG(T455, T360, p60_in_aa(T455, X744))
P1_IN_AG(d(d(d(T455))), T360) → P60_IN_AA(T455, X744)
P1_IN_AG(d(d(d(T455))), T360) → U82_AG(T455, T360, p60_in_aa(T455, T456))
U82_AG(T455, T360, p60_out_aa(T455, T456)) → U83_AG(T455, T360, p24_in_aa(T456, X745))
U82_AG(T455, T360, p60_out_aa(T455, T456)) → P24_IN_AA(T456, X745)
U82_AG(T455, T360, p60_out_aa(T455, T456)) → U84_AG(T455, T360, p24_in_aa(T456, T467))
U84_AG(T455, T360, p24_out_aa(T456, T467)) → U85_AG(T455, T360, p1_in_ag(d(e(T467)), T360))
U84_AG(T455, T360, p24_out_aa(T456, T467)) → P1_IN_AG(d(e(T467)), T360)
U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_GG(d(e(T229)), T194)
P134_IN_GGGGAG(T224, T222, T227, T223, T228, T194) → U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_GGGGAG(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGAG(T227, T223, T228, T194)
P137_IN_GGAG(T227, T223, T228, T194) → U48_GGAG(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
P137_IN_GGAG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P137_IN_GGAG(T227, T223, T229, T194) → U49_GGAG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGAG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_GGAG(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U49_GGAG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
P134_IN_AGAGAG(T224, T222, T227, T223, T228, T194) → U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_AGAGAG(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → P137_IN_AGAG(T227, T223, T228, T194)
P137_IN_AGAG(T227, T223, T228, T194) → U48_AGAG(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
P137_IN_AGAG(T227, T223, T228, T194) → P1_IN_AG(d(e(T227)), T223)
P137_IN_AGAG(T227, T223, T229, T194) → U49_AGAG(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_AGAG(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_AGAG(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U49_AGAG(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
P90_IN_AA(e(const(T140)), const(0)) → U29_AA(T140, p1_in_gg(d(e(const(0))), const(0)))
P90_IN_AA(e(const(T140)), const(0)) → P1_IN_GG(d(e(const(0))), const(0))
P90_IN_AA(e(+(T151, T152)), +(X373, X374)) → U30_AA(T151, T152, X373, X374, p24_in_aa(T151, X373))
P90_IN_AA(e(+(T151, T152)), +(X373, X374)) → P24_IN_AA(T151, X373)
P90_IN_AA(e(+(T151, T154)), +(T153, X374)) → U31_AA(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_AA(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_AA(T151, T154, T153, X374, p24_in_aa(T154, X374))
U31_AA(T151, T154, T153, X374, p24_out_aa(T151, T153)) → P24_IN_AA(T154, X374)
P90_IN_AA(e(+(T151, T154)), +(T156, T155)) → U33_AA(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_AA(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_AA(T151, T154, T156, T155, p24_in_aa(T154, T155))
U33_AA(T151, T154, T156, T155, p24_out_aa(T151, T156)) → P24_IN_AA(T154, T155)
U34_AA(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_AA(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U34_AA(T151, T154, T156, T155, p24_out_aa(T154, T155)) → P1_IN_AG(d(e(+(T156, T155))), const(0))
P90_IN_AA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_AA(T169, T170, X420, X421, p24_in_aa(T169, X421))
P90_IN_AA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → P24_IN_AA(T169, X421)
P90_IN_AA(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_AA(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_AA(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_AA(T173, T172, X420, T171, p24_in_aa(T172, X420))
U37_AA(T173, T172, X420, T171, p24_out_aa(T173, T171)) → P24_IN_AA(T172, X420)
P90_IN_AA(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_AA(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_AA(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_AA(T175, T176, T174, T177, p24_in_aa(T176, T174))
U39_AA(T175, T176, T174, T177, p24_out_aa(T175, T177)) → P24_IN_AA(T176, T174)
U40_AA(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_AA(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U40_AA(T175, T176, T174, T177, p24_out_aa(T176, T174)) → P1_IN_AG(d(e(+(*(T175, T174), *(T176, T177)))), const(0))
P90_IN_AA(d(T185), X449) → U42_AA(T185, X449, p60_in_aa(T185, X448))
P90_IN_AA(d(T185), X449) → P60_IN_AA(T185, X448)
P90_IN_AA(d(T185), X449) → U43_AA(T185, X449, p60_in_aa(T185, T186))
U43_AA(T185, X449, p60_out_aa(T185, T186)) → U44_AA(T185, X449, p90_in_aa(e(T186), X449))
U43_AA(T185, X449, p60_out_aa(T185, T186)) → P90_IN_AA(e(T186), X449)
U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_GGGGGG(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGGG(T227, T223, T228, T194)
P90_IN_GA(e(const(T140)), const(0)) → U29_GA(T140, p1_in_gg(d(e(const(0))), const(0)))
P90_IN_GA(e(const(T140)), const(0)) → P1_IN_GG(d(e(const(0))), const(0))
P90_IN_GA(e(+(T151, T152)), +(X373, X374)) → U30_GA(T151, T152, X373, X374, p24_in_ga(T151, X373))
P90_IN_GA(e(+(T151, T152)), +(X373, X374)) → P24_IN_GA(T151, X373)
P90_IN_GA(e(+(T151, T154)), +(T153, X374)) → U31_GA(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_GA(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_GA(T151, T154, T153, X374, p24_in_ga(T154, X374))
U31_GA(T151, T154, T153, X374, p24_out_ga(T151, T153)) → P24_IN_GA(T154, X374)
P90_IN_GA(e(+(T151, T154)), +(T156, T155)) → U33_GA(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_GA(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_GA(T151, T154, T156, T155, p24_in_ga(T154, T155))
U33_GA(T151, T154, T156, T155, p24_out_ga(T151, T156)) → P24_IN_GA(T154, T155)
U34_GA(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_GA(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U34_GA(T151, T154, T156, T155, p24_out_ga(T154, T155)) → P1_IN_AG(d(e(+(T156, T155))), const(0))
P90_IN_GA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_GA(T169, T170, X420, X421, p24_in_ga(T169, X421))
P90_IN_GA(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → P24_IN_GA(T169, X421)
P90_IN_GA(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_GA(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_GA(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_GA(T173, T172, X420, T171, p24_in_ga(T172, X420))
U37_GA(T173, T172, X420, T171, p24_out_ga(T173, T171)) → P24_IN_GA(T172, X420)
P90_IN_GA(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_GA(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_GA(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_GA(T175, T176, T174, T177, p24_in_ga(T176, T174))
U39_GA(T175, T176, T174, T177, p24_out_ga(T175, T177)) → P24_IN_GA(T176, T174)
U40_GA(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_GA(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U40_GA(T175, T176, T174, T177, p24_out_ga(T176, T174)) → P1_IN_AG(d(e(+(*(T175, T174), *(T176, T177)))), const(0))
P90_IN_GA(d(T185), X449) → U42_GA(T185, X449, p60_in_ga(T185, X448))
P90_IN_GA(d(T185), X449) → P60_IN_GA(T185, X448)
P90_IN_GA(d(T185), X449) → U43_GA(T185, X449, p60_in_ga(T185, T186))
U43_GA(T185, X449, p60_out_ga(T185, T186)) → U44_GA(T185, X449, p90_in_aa(e(T186), X449))
U43_GA(T185, X449, p60_out_ga(T185, T186)) → P90_IN_AA(e(T186), X449)
P9_IN_GA(e(const(T15)), const(0)) → U7_GA(T15, p1_in_gg(d(e(const(0))), const(1)))
P9_IN_GA(e(const(T15)), const(0)) → P1_IN_GG(d(e(const(0))), const(1))
P9_IN_GA(e(+(T26, T27)), +(X77, X78)) → U8_GA(T26, T27, X77, X78, p24_in_ga(T26, X77))
P9_IN_GA(e(+(T26, T27)), +(X77, X78)) → P24_IN_GA(T26, X77)
P9_IN_GA(e(+(T26, T29)), +(T28, X78)) → U9_GA(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_GA(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_GA(T26, T29, T28, X78, p24_in_ga(T29, X78))
U9_GA(T26, T29, T28, X78, p24_out_ga(T26, T28)) → P24_IN_GA(T29, X78)
P9_IN_GA(e(+(T26, T29)), +(T62, T61)) → U11_GA(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_GA(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_GA(T26, T29, T62, T61, p24_in_ga(T29, T61))
U11_GA(T26, T29, T62, T61, p24_out_ga(T26, T62)) → P24_IN_GA(T29, T61)
U12_GA(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_GA(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U12_GA(T26, T29, T62, T61, p24_out_ga(T29, T61)) → P1_IN_AG(d(e(+(T62, T61))), const(1))
P9_IN_GA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_GA(T75, T76, X200, X201, p24_in_ga(T75, X201))
P9_IN_GA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → P24_IN_GA(T75, X201)
P9_IN_GA(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_GA(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_GA(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_GA(T79, T78, X200, T77, p24_in_ga(T78, X200))
U15_GA(T79, T78, X200, T77, p24_out_ga(T79, T77)) → P24_IN_GA(T78, X200)
P9_IN_GA(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_GA(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_GA(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_GA(T81, T82, T80, T83, p24_in_ga(T82, T80))
U17_GA(T81, T82, T80, T83, p24_out_ga(T81, T83)) → P24_IN_GA(T82, T80)
U18_GA(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_GA(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U18_GA(T81, T82, T80, T83, p24_out_ga(T82, T80)) → P1_IN_AG(d(e(+(*(T81, T80), *(T82, T83)))), const(1))
P9_IN_GA(d(T91), X229) → U20_GA(T91, X229, p60_in_ga(T91, X228))
P9_IN_GA(d(T91), X229) → P60_IN_GA(T91, X228)
P9_IN_GA(d(T91), X229) → U21_GA(T91, X229, p60_in_ga(T91, T92))
U21_GA(T91, X229, p60_out_ga(T91, T92)) → U22_GA(T91, X229, p9_in_aa(e(T92), X229))
U21_GA(T91, X229, p60_out_ga(T91, T92)) → P9_IN_AA(e(T92), X229)
P9_IN_AA(e(const(T15)), const(0)) → U7_AA(T15, p1_in_gg(d(e(const(0))), const(1)))
P9_IN_AA(e(const(T15)), const(0)) → P1_IN_GG(d(e(const(0))), const(1))
P9_IN_AA(e(+(T26, T27)), +(X77, X78)) → U8_AA(T26, T27, X77, X78, p24_in_aa(T26, X77))
P9_IN_AA(e(+(T26, T27)), +(X77, X78)) → P24_IN_AA(T26, X77)
P9_IN_AA(e(+(T26, T29)), +(T28, X78)) → U9_AA(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_AA(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_AA(T26, T29, T28, X78, p24_in_aa(T29, X78))
U9_AA(T26, T29, T28, X78, p24_out_aa(T26, T28)) → P24_IN_AA(T29, X78)
P9_IN_AA(e(+(T26, T29)), +(T62, T61)) → U11_AA(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_AA(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_AA(T26, T29, T62, T61, p24_in_aa(T29, T61))
U11_AA(T26, T29, T62, T61, p24_out_aa(T26, T62)) → P24_IN_AA(T29, T61)
U12_AA(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_AA(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U12_AA(T26, T29, T62, T61, p24_out_aa(T29, T61)) → P1_IN_AG(d(e(+(T62, T61))), const(1))
P9_IN_AA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_AA(T75, T76, X200, X201, p24_in_aa(T75, X201))
P9_IN_AA(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → P24_IN_AA(T75, X201)
P9_IN_AA(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_AA(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_AA(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_AA(T79, T78, X200, T77, p24_in_aa(T78, X200))
U15_AA(T79, T78, X200, T77, p24_out_aa(T79, T77)) → P24_IN_AA(T78, X200)
P9_IN_AA(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_AA(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_AA(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_AA(T81, T82, T80, T83, p24_in_aa(T82, T80))
U17_AA(T81, T82, T80, T83, p24_out_aa(T81, T83)) → P24_IN_AA(T82, T80)
U18_AA(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_AA(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U18_AA(T81, T82, T80, T83, p24_out_aa(T82, T80)) → P1_IN_AG(d(e(+(*(T81, T80), *(T82, T83)))), const(1))
P9_IN_AA(d(T91), X229) → U20_AA(T91, X229, p60_in_aa(T91, X228))
P9_IN_AA(d(T91), X229) → P60_IN_AA(T91, X228)
P9_IN_AA(d(T91), X229) → U21_AA(T91, X229, p60_in_aa(T91, T92))
U21_AA(T91, X229, p60_out_aa(T91, T92)) → U22_AA(T91, X229, p9_in_aa(e(T92), X229))
U21_AA(T91, X229, p60_out_aa(T91, T92)) → P9_IN_AA(e(T92), X229)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P24_IN_AA(+(T45, T46), +(X117, X118)) → P39_IN_AAAA(T45, X117, T46, X118)
P39_IN_AAAA(T45, X117, T46, X118) → P24_IN_AA(T45, X117)
P24_IN_AA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_AAAA(T59, X152, T60, X151)
P39_IN_AAAA(T45, T47, T48, X118) → U4_AAAA(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_AAAA(T45, T47, T48, X118, p24_out_aa(T45, T47)) → P24_IN_AA(T48, X118)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P24_IN_AA(+(T45, T46), +(X117, X118)) → P39_IN_AAAA(T45, X117, T46, X118)
P39_IN_AAAA(T45, X117, T46, X118) → P24_IN_AA(T45, X117)
P24_IN_AA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_AAAA(T59, X152, T60, X151)
P39_IN_AAAA(T45, T47, T48, X118) → U4_AAAA(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_AAAA(T45, T47, T48, X118, p24_out_aa(T45, T47)) → P24_IN_AA(T48, X118)
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
P24_IN_AA → P39_IN_AAAA
P39_IN_AAAA → P24_IN_AA
P39_IN_AAAA → U4_AAAA(p24_in_aa)
U4_AAAA(p24_out_aa) → P24_IN_AA
p24_in_aa → p24_out_aa
p24_in_aa → U1_aa(p39_in_aaaa)
p24_in_aa → U2_aa(p39_in_aaaa)
U1_aa(p39_out_aaaa) → p24_out_aa
U2_aa(p39_out_aaaa) → p24_out_aa
p39_in_aaaa → U3_aaaa(p24_in_aa)
p39_in_aaaa → U4_aaaa(p24_in_aa)
U3_aaaa(p24_out_aa) → p39_out_aaaa
U4_aaaa(p24_out_aa) → U5_aaaa(p24_in_aa)
U5_aaaa(p24_out_aa) → p39_out_aaaa
p24_in_aa
U1_aa(x0)
U2_aa(x0)
p39_in_aaaa
U3_aaaa(x0)
U4_aaaa(x0)
U5_aaaa(x0)
P39_IN_AAAA → U4_AAAA(p24_out_aa)
P39_IN_AAAA → U4_AAAA(U1_aa(p39_in_aaaa))
P39_IN_AAAA → U4_AAAA(U2_aa(p39_in_aaaa))
P24_IN_AA → P39_IN_AAAA
P39_IN_AAAA → P24_IN_AA
U4_AAAA(p24_out_aa) → P24_IN_AA
P39_IN_AAAA → U4_AAAA(p24_out_aa)
P39_IN_AAAA → U4_AAAA(U1_aa(p39_in_aaaa))
P39_IN_AAAA → U4_AAAA(U2_aa(p39_in_aaaa))
p24_in_aa → p24_out_aa
p24_in_aa → U1_aa(p39_in_aaaa)
p24_in_aa → U2_aa(p39_in_aaaa)
U1_aa(p39_out_aaaa) → p24_out_aa
U2_aa(p39_out_aaaa) → p24_out_aa
p39_in_aaaa → U3_aaaa(p24_in_aa)
p39_in_aaaa → U4_aaaa(p24_in_aa)
U3_aaaa(p24_out_aa) → p39_out_aaaa
U4_aaaa(p24_out_aa) → U5_aaaa(p24_in_aa)
U5_aaaa(p24_out_aa) → p39_out_aaaa
p24_in_aa
U1_aa(x0)
U2_aa(x0)
p39_in_aaaa
U3_aaaa(x0)
U4_aaaa(x0)
U5_aaaa(x0)
P60_IN_AA(d(T125), X316) → P60_IN_AA(T125, X315)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P60_IN_AA(d(T125), X316) → P60_IN_AA(T125, X315)
P60_IN_AA → P60_IN_AA
P39_IN_GAGA(T45, X117, T46, X118) → P24_IN_GA(T45, X117)
P24_IN_GA(+(T45, T46), +(X117, X118)) → P39_IN_GAGA(T45, X117, T46, X118)
P39_IN_GAGA(T45, T47, T48, X118) → U4_GAGA(T45, T47, T48, X118, p24_in_ga(T45, T47))
U4_GAGA(T45, T47, T48, X118, p24_out_ga(T45, T47)) → P24_IN_GA(T48, X118)
P24_IN_GA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_GAGA(T59, X152, T60, X151)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P39_IN_GAGA(T45, X117, T46, X118) → P24_IN_GA(T45, X117)
P24_IN_GA(+(T45, T46), +(X117, X118)) → P39_IN_GAGA(T45, X117, T46, X118)
P39_IN_GAGA(T45, T47, T48, X118) → U4_GAGA(T45, T47, T48, X118, p24_in_ga(T45, T47))
U4_GAGA(T45, T47, T48, X118, p24_out_ga(T45, T47)) → P24_IN_GA(T48, X118)
P24_IN_GA(*(T59, T60), +(*(T59, X151), *(T60, X152))) → P39_IN_GAGA(T59, X152, T60, X151)
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
P39_IN_GAGA(T45, T46) → P24_IN_GA(T45)
P24_IN_GA(+(T45, T46)) → P39_IN_GAGA(T45, T46)
P39_IN_GAGA(T45, T48) → U4_GAGA(T48, p24_in_ga(T45))
U4_GAGA(T48, p24_out_ga) → P24_IN_GA(T48)
P24_IN_GA(*(T59, T60)) → P39_IN_GAGA(T59, T60)
p24_in_ga(t) → p24_out_ga
p24_in_ga(const) → p24_out_ga
p24_in_ga(+(T45, T46)) → U1_ga(p39_in_gaga(T45, T46))
p24_in_ga(*(T59, T60)) → U2_ga(p39_in_gaga(T59, T60))
U1_ga(p39_out_gaga) → p24_out_ga
U2_ga(p39_out_gaga) → p24_out_ga
p39_in_gaga(T45, T46) → U3_gaga(p24_in_ga(T45))
p39_in_gaga(T45, T48) → U4_gaga(T48, p24_in_ga(T45))
U3_gaga(p24_out_ga) → p39_out_gaga
U4_gaga(T48, p24_out_ga) → U5_gaga(p24_in_ga(T48))
U5_gaga(p24_out_ga) → p39_out_gaga
p24_in_ga(x0)
U1_ga(x0)
U2_ga(x0)
p39_in_gaga(x0, x1)
U3_gaga(x0)
U4_gaga(x0, x1)
U5_gaga(x0)
From the DPs we obtained the following set of size-change graphs:
P60_IN_GA(d(T125), X316) → P60_IN_GA(T125, X315)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P60_IN_GA(d(T125), X316) → P60_IN_GA(T125, X315)
P60_IN_GA(d(T125)) → P60_IN_GA(T125)
From the DPs we obtained the following set of size-change graphs:
P1_IN_GG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_GG(d(e(T203)), T194)
P1_IN_GG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_GG(d(e(T197)), T194)
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194)
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGGG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGGG(T224, T222, T227, T223, T228, T194) → U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGGG(T227, T223, T228, T194)
P137_IN_GGGG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T229, T194) → U49_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_GG(d(e(T229)), T194)
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P1_IN_GG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_GG(d(e(T203)), T194)
P1_IN_GG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_GG(d(e(T197)), T194)
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194)
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGGG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGGG(T224, T222, T227, T223, T228, T194) → U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGGG(T227, T223, T228, T194)
P137_IN_GGGG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T229, T194) → U49_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_GG(d(e(T229)), T194)
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
P1_IN_GG(d(e(+(const, T203))), +(const, T194)) → P1_IN_GG(d(e(T203)), T194)
P1_IN_GG(d(e(+(t, T197))), +(const, T194)) → P1_IN_GG(d(e(T197)), T194)
P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194)
P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGGG(T246, T249, T247, T248, T250, T194)
P134_IN_GGGGGG(T224, T222, T227, T223, T228, T194) → U46_GGGGGG(T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGGG(T227, T223, T228, T194, p1_out_gg) → P137_IN_GGGG(T227, T223, T228, T194)
P137_IN_GGGG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
P137_IN_GGGG(T227, T223, T229, T194) → U49_GGGG(T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGGG(T229, T194, p1_out_gg) → P1_IN_GG(d(e(T229)), T194)
P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(const, T293))), +(*(const, T294), *(T293, const))) → P1_IN_GG(d(e(T293)), T294)
P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
P1_IN_GG(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → P134_IN_GGGGGG(T337, T340, T338, T339, T293, T294)
p1_in_gg(d(e(t)), const) → p1_out_gg
p1_in_gg(d(e(const)), const) → p1_out_gg
p1_in_gg(d(e(+(t, T197))), +(const, T194)) → U56_gg(p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const, T203))), +(const, T194)) → U57_gg(p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(p137_in_gggg(T267, T270, T268, T269))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const))) → U62_gg(p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const, T293))), +(*(const, T294), *(T293, const))) → U63_gg(p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(p134_in_gggggg(T317, T319, T318, T320, T293, T294))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U56_gg(p1_out_gg) → p1_out_gg
U57_gg(p1_out_gg) → p1_out_gg
U58_gg(p134_out_gggggg) → p1_out_gg
U59_gg(p134_out_gggggg) → p1_out_gg
U60_gg(p137_out_gggg) → p1_out_gg
U62_gg(p1_out_gg) → p1_out_gg
U63_gg(p1_out_gg) → p1_out_gg
U64_gg(p134_out_gggggg) → p1_out_gg
U65_gg(p134_out_gggggg) → p1_out_gg
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(p1_in_gg(d(e(T224)), T222))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(p1_in_gg(d(e(T227)), T223))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T229, T194, p1_in_gg(d(e(T227)), T223))
U45_gggggg(p1_out_gg) → p134_out_gggggg
U46_gggggg(T227, T223, T228, T194, p1_out_gg) → U47_gggggg(p137_in_gggg(T227, T223, T228, T194))
U48_gggg(p1_out_gg) → p137_out_gggg
U49_gggg(T229, T194, p1_out_gg) → U50_gggg(p1_in_gg(d(e(T229)), T194))
U47_gggggg(p137_out_gggg) → p134_out_gggggg
U50_gggg(p1_out_gg) → p137_out_gggg
p1_in_gg(x0, x1)
U56_gg(x0)
U57_gg(x0)
U58_gg(x0)
U59_gg(x0)
U60_gg(x0)
U62_gg(x0)
U63_gg(x0)
U64_gg(x0)
U65_gg(x0)
p134_in_gggggg(x0, x1, x2, x3, x4, x5)
p137_in_gggg(x0, x1, x2, x3)
U45_gggggg(x0)
U46_gggggg(x0, x1, x2, x3, x4)
U48_gggg(x0)
U49_gggg(x0, x1, x2)
U47_gggggg(x0)
U50_gggg(x0)
From the DPs we obtained the following set of size-change graphs:
P134_IN_GGGGAG(T224, T222, T227, T223, T228, T194) → U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGAG(T227, T223, T228, T194)
P137_IN_GGAG(T227, T223, T229, T194) → U49_GGAG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGAG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
P1_IN_AG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_AG(d(e(T197)), T194)
P1_IN_AG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_AG(d(e(T203)), T194)
P1_IN_AG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194)
P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194) → P1_IN_AG(d(e(T224)), T222)
P1_IN_AG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGAG(T246, T249, T247, T248, T250, T194)
P134_IN_AGAGAG(T224, T222, T227, T223, T228, T194) → U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → P137_IN_AGAG(T227, T223, T228, T194)
P137_IN_AGAG(T227, T223, T228, T194) → P1_IN_AG(d(e(T227)), T223)
P137_IN_AGAG(T227, T223, T229, T194) → U49_AGAG(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_AGAG(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(d(T10)), const(1)) → U54_ag(T10, p9_in_aa(T10, X14))
p9_in_aa(e(t), const(1)) → U6_aa(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(d(T10)), const(1)) → U54_gg(T10, p9_in_ga(T10, X14))
p9_in_ga(e(t), const(1)) → U6_ga(p1_in_gg(d(e(const(1))), const(1)))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(d(T135)), const(0)) → U55_gg(T135, p90_in_ga(T135, X334))
p90_in_ga(e(t), const(1)) → U28_ga(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(T280)), +(T278, T279)) → U61_gg(T280, T278, T279, p150_in_gagg(T280, X551, T278, T279))
p150_in_gagg(T280, X551, T278, T279) → U51_gagg(T280, X551, T278, T279, p60_in_ga(T280, X551))
p60_in_ga(e(t), const(1)) → p60_out_ga(e(t), const(1))
p60_in_ga(e(const(T97)), const(0)) → p60_out_ga(e(const(T97)), const(0))
p60_in_ga(e(+(T108, T109)), +(X266, X267)) → U23_ga(T108, T109, X266, X267, p39_in_gaga(T108, X266, T109, X267))
p39_in_gaga(T45, X117, T46, X118) → U3_gaga(T45, X117, T46, X118, p24_in_ga(T45, X117))
p24_in_ga(t, const(1)) → p24_out_ga(t, const(1))
p24_in_ga(const(T34), const(0)) → p24_out_ga(const(T34), const(0))
p24_in_ga(+(T45, T46), +(X117, X118)) → U1_ga(T45, T46, X117, X118, p39_in_gaga(T45, X117, T46, X118))
p39_in_gaga(T45, T47, T48, X118) → U4_gaga(T45, T47, T48, X118, p24_in_ga(T45, T47))
p24_in_ga(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_ga(T59, T60, X151, X152, p39_in_gaga(T59, X152, T60, X151))
U2_ga(T59, T60, X151, X152, p39_out_gaga(T59, X152, T60, X151)) → p24_out_ga(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U4_gaga(T45, T47, T48, X118, p24_out_ga(T45, T47)) → U5_gaga(T45, T47, T48, X118, p24_in_ga(T48, X118))
U5_gaga(T45, T47, T48, X118, p24_out_ga(T48, X118)) → p39_out_gaga(T45, T47, T48, X118)
U1_ga(T45, T46, X117, X118, p39_out_gaga(T45, X117, T46, X118)) → p24_out_ga(+(T45, T46), +(X117, X118))
U3_gaga(T45, X117, T46, X118, p24_out_ga(T45, X117)) → p39_out_gaga(T45, X117, T46, X118)
U23_ga(T108, T109, X266, X267, p39_out_gaga(T108, X266, T109, X267)) → p60_out_ga(e(+(T108, T109)), +(X266, X267))
p60_in_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_ga(T120, T121, X300, X301, p39_in_gaga(T120, X301, T121, X300))
U24_ga(T120, T121, X300, X301, p39_out_gaga(T120, X301, T121, X300)) → p60_out_ga(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_ga(d(T125), X316) → U25_ga(T125, X316, p60_in_ga(T125, X315))
p60_in_ga(d(T125), X316) → U26_ga(T125, X316, p60_in_ga(T125, T126))
U26_ga(T125, X316, p60_out_ga(T125, T126)) → U27_ga(T125, X316, p24_in_aa(T126, X316))
p24_in_aa(t, const(1)) → p24_out_aa(t, const(1))
p24_in_aa(const(T34), const(0)) → p24_out_aa(const(T34), const(0))
p24_in_aa(+(T45, T46), +(X117, X118)) → U1_aa(T45, T46, X117, X118, p39_in_aaaa(T45, X117, T46, X118))
p39_in_aaaa(T45, X117, T46, X118) → U3_aaaa(T45, X117, T46, X118, p24_in_aa(T45, X117))
p24_in_aa(*(T59, T60), +(*(T59, X151), *(T60, X152))) → U2_aa(T59, T60, X151, X152, p39_in_aaaa(T59, X152, T60, X151))
p39_in_aaaa(T45, T47, T48, X118) → U4_aaaa(T45, T47, T48, X118, p24_in_aa(T45, T47))
U4_aaaa(T45, T47, T48, X118, p24_out_aa(T45, T47)) → U5_aaaa(T45, T47, T48, X118, p24_in_aa(T48, X118))
U5_aaaa(T45, T47, T48, X118, p24_out_aa(T48, X118)) → p39_out_aaaa(T45, T47, T48, X118)
U2_aa(T59, T60, X151, X152, p39_out_aaaa(T59, X152, T60, X151)) → p24_out_aa(*(T59, T60), +(*(T59, X151), *(T60, X152)))
U3_aaaa(T45, X117, T46, X118, p24_out_aa(T45, X117)) → p39_out_aaaa(T45, X117, T46, X118)
U1_aa(T45, T46, X117, X118, p39_out_aaaa(T45, X117, T46, X118)) → p24_out_aa(+(T45, T46), +(X117, X118))
U27_ga(T125, X316, p24_out_aa(T126, X316)) → p60_out_ga(d(T125), X316)
U25_ga(T125, X316, p60_out_ga(T125, X315)) → p60_out_ga(d(T125), X316)
U51_gagg(T280, X551, T278, T279, p60_out_ga(T280, X551)) → p150_out_gagg(T280, X551, T278, T279)
p150_in_gagg(T280, T281, T278, T279) → U52_gagg(T280, T281, T278, T279, p60_in_ga(T280, T281))
U52_gagg(T280, T281, T278, T279, p60_out_ga(T280, T281)) → U53_gagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(d(T135)), const(0)) → U55_ag(T135, p90_in_aa(T135, X334))
p90_in_aa(e(t), const(1)) → U28_aa(p1_in_gg(d(e(const(1))), const(0)))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_gg(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_gg(T356, T352, T353, T354, T355, p150_in_gagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_gg(T356, T352, T353, T354, T355, p150_out_gagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_gg(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_gg(d(d(e(t))), T360) → U67_gg(T360, p1_in_gg(d(e(const(1))), T360))
p1_in_gg(d(d(e(const(T366)))), T360) → U68_gg(T366, T360, p1_in_gg(d(e(const(0))), T360))
p1_in_gg(d(d(e(+(T377, T378)))), T360) → U69_gg(T377, T378, T360, p24_in_ga(T377, X683))
U69_gg(T377, T378, T360, p24_out_ga(T377, X683)) → p1_out_gg(d(d(e(+(T377, T378)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U70_gg(T377, T380, T360, p24_in_ga(T377, T379))
U70_gg(T377, T380, T360, p24_out_ga(T377, T379)) → U71_gg(T377, T380, T360, p24_in_ga(T380, X684))
U71_gg(T377, T380, T360, p24_out_ga(T380, X684)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
p1_in_gg(d(d(e(+(T377, T380)))), T360) → U72_gg(T377, T380, T360, p24_in_ga(T377, T392))
U72_gg(T377, T380, T360, p24_out_ga(T377, T392)) → U73_gg(T377, T380, T360, T392, p24_in_ga(T380, T391))
U73_gg(T377, T380, T360, T392, p24_out_ga(T380, T391)) → U74_gg(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p1_in_gg(d(d(e(*(T417, T418)))), T360) → U75_gg(T417, T418, T360, p24_in_ga(T417, X724))
U75_gg(T417, T418, T360, p24_out_ga(T417, X724)) → p1_out_gg(d(d(e(*(T417, T418)))), T360)
p1_in_gg(d(d(e(*(T421, T420)))), T360) → U76_gg(T421, T420, T360, p24_in_ga(T421, T419))
U76_gg(T421, T420, T360, p24_out_ga(T421, T419)) → U77_gg(T421, T420, T360, p24_in_ga(T420, X723))
U77_gg(T421, T420, T360, p24_out_ga(T420, X723)) → p1_out_gg(d(d(e(*(T421, T420)))), T360)
p1_in_gg(d(d(e(*(T433, T434)))), T360) → U78_gg(T433, T434, T360, p24_in_ga(T433, T435))
U78_gg(T433, T434, T360, p24_out_ga(T433, T435)) → U79_gg(T433, T434, T360, T435, p24_in_ga(T434, T432))
U79_gg(T433, T434, T360, T435, p24_out_ga(T434, T432)) → U80_gg(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p1_in_gg(d(d(d(T455))), T360) → U81_gg(T455, T360, p60_in_ga(T455, X744))
U81_gg(T455, T360, p60_out_ga(T455, X744)) → p1_out_gg(d(d(d(T455))), T360)
p1_in_gg(d(d(d(T455))), T360) → U82_gg(T455, T360, p60_in_ga(T455, T456))
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U83_gg(T455, T360, p24_in_aa(T456, X745))
U83_gg(T455, T360, p24_out_aa(T456, X745)) → p1_out_gg(d(d(d(T455))), T360)
U82_gg(T455, T360, p60_out_ga(T455, T456)) → U84_gg(T455, T360, p24_in_aa(T456, T467))
U84_gg(T455, T360, p24_out_aa(T456, T467)) → U85_gg(T455, T360, p1_in_ag(d(e(T467)), T360))
p1_in_ag(d(d(T280)), +(T278, T279)) → U61_ag(T280, T278, T279, p150_in_aagg(T280, X551, T278, T279))
p150_in_aagg(T280, X551, T278, T279) → U51_aagg(T280, X551, T278, T279, p60_in_aa(T280, X551))
p60_in_aa(e(t), const(1)) → p60_out_aa(e(t), const(1))
p60_in_aa(e(const(T97)), const(0)) → p60_out_aa(e(const(T97)), const(0))
p60_in_aa(e(+(T108, T109)), +(X266, X267)) → U23_aa(T108, T109, X266, X267, p39_in_aaaa(T108, X266, T109, X267))
U23_aa(T108, T109, X266, X267, p39_out_aaaa(T108, X266, T109, X267)) → p60_out_aa(e(+(T108, T109)), +(X266, X267))
p60_in_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) → U24_aa(T120, T121, X300, X301, p39_in_aaaa(T120, X301, T121, X300))
U24_aa(T120, T121, X300, X301, p39_out_aaaa(T120, X301, T121, X300)) → p60_out_aa(e(*(T120, T121)), +(*(T120, X300), *(T121, X301)))
p60_in_aa(d(T125), X316) → U25_aa(T125, X316, p60_in_aa(T125, X315))
p60_in_aa(d(T125), X316) → U26_aa(T125, X316, p60_in_aa(T125, T126))
U26_aa(T125, X316, p60_out_aa(T125, T126)) → U27_aa(T125, X316, p24_in_aa(T126, X316))
U27_aa(T125, X316, p24_out_aa(T126, X316)) → p60_out_aa(d(T125), X316)
U25_aa(T125, X316, p60_out_aa(T125, X315)) → p60_out_aa(d(T125), X316)
U51_aagg(T280, X551, T278, T279, p60_out_aa(T280, X551)) → p150_out_aagg(T280, X551, T278, T279)
p150_in_aagg(T280, T281, T278, T279) → U52_aagg(T280, T281, T278, T279, p60_in_aa(T280, T281))
U52_aagg(T280, T281, T278, T279, p60_out_aa(T280, T281)) → U53_aagg(T280, T281, T278, T279, p1_in_ag(d(e(T281)), +(T278, T279)))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p1_in_ag(d(d(T356)), +(*(T352, T353), *(T354, T355))) → U66_ag(T356, T352, T353, T354, T355, p150_in_aagg(T356, X635, *(T352, T353), *(T354, T355)))
U66_ag(T356, T352, T353, T354, T355, p150_out_aagg(T356, X635, *(T352, T353), *(T354, T355))) → p1_out_ag(d(d(T356)), +(*(T352, T353), *(T354, T355)))
p1_in_ag(d(d(e(t))), T360) → U67_ag(T360, p1_in_gg(d(e(const(1))), T360))
U67_ag(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_ag(d(d(e(t))), T360)
p1_in_ag(d(d(e(const(T366)))), T360) → U68_ag(T366, T360, p1_in_gg(d(e(const(0))), T360))
U68_ag(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_ag(d(d(e(const(T366)))), T360)
p1_in_ag(d(d(e(+(T377, T378)))), T360) → U69_ag(T377, T378, T360, p24_in_aa(T377, X683))
U69_ag(T377, T378, T360, p24_out_aa(T377, X683)) → p1_out_ag(d(d(e(+(T377, T378)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U70_ag(T377, T380, T360, p24_in_aa(T377, T379))
U70_ag(T377, T380, T360, p24_out_aa(T377, T379)) → U71_ag(T377, T380, T360, p24_in_aa(T380, X684))
U71_ag(T377, T380, T360, p24_out_aa(T380, X684)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
p1_in_ag(d(d(e(+(T377, T380)))), T360) → U72_ag(T377, T380, T360, p24_in_aa(T377, T392))
U72_ag(T377, T380, T360, p24_out_aa(T377, T392)) → U73_ag(T377, T380, T360, T392, p24_in_aa(T380, T391))
U73_ag(T377, T380, T360, T392, p24_out_aa(T380, T391)) → U74_ag(T377, T380, T360, p1_in_ag(d(e(+(T392, T391))), T360))
p1_in_ag(d(d(e(*(T417, T418)))), T360) → U75_ag(T417, T418, T360, p24_in_aa(T417, X724))
U75_ag(T417, T418, T360, p24_out_aa(T417, X724)) → p1_out_ag(d(d(e(*(T417, T418)))), T360)
p1_in_ag(d(d(e(*(T421, T420)))), T360) → U76_ag(T421, T420, T360, p24_in_aa(T421, T419))
U76_ag(T421, T420, T360, p24_out_aa(T421, T419)) → U77_ag(T421, T420, T360, p24_in_aa(T420, X723))
U77_ag(T421, T420, T360, p24_out_aa(T420, X723)) → p1_out_ag(d(d(e(*(T421, T420)))), T360)
p1_in_ag(d(d(e(*(T433, T434)))), T360) → U78_ag(T433, T434, T360, p24_in_aa(T433, T435))
U78_ag(T433, T434, T360, p24_out_aa(T433, T435)) → U79_ag(T433, T434, T360, T435, p24_in_aa(T434, T432))
U79_ag(T433, T434, T360, T435, p24_out_aa(T434, T432)) → U80_ag(T433, T434, T360, p1_in_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360))
p1_in_ag(d(d(d(T455))), T360) → U81_ag(T455, T360, p60_in_aa(T455, X744))
U81_ag(T455, T360, p60_out_aa(T455, X744)) → p1_out_ag(d(d(d(T455))), T360)
p1_in_ag(d(d(d(T455))), T360) → U82_ag(T455, T360, p60_in_aa(T455, T456))
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U83_ag(T455, T360, p24_in_aa(T456, X745))
U83_ag(T455, T360, p24_out_aa(T456, X745)) → p1_out_ag(d(d(d(T455))), T360)
U82_ag(T455, T360, p60_out_aa(T455, T456)) → U84_ag(T455, T360, p24_in_aa(T456, T467))
U84_ag(T455, T360, p24_out_aa(T456, T467)) → U85_ag(T455, T360, p1_in_ag(d(e(T467)), T360))
U85_ag(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_ag(d(d(d(T455))), T360)
U80_ag(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_ag(d(d(e(*(T433, T434)))), T360)
U74_ag(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_ag(d(d(e(+(T377, T380)))), T360)
U53_aagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_aagg(T280, T281, T278, T279)
U61_ag(T280, T278, T279, p150_out_aagg(T280, X551, T278, T279)) → p1_out_ag(d(d(T280)), +(T278, T279))
U85_gg(T455, T360, p1_out_ag(d(e(T467)), T360)) → p1_out_gg(d(d(d(T455))), T360)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U80_gg(T433, T434, T360, p1_out_ag(d(e(+(*(T433, T432), *(T434, T435)))), T360)) → p1_out_gg(d(d(e(*(T433, T434)))), T360)
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U74_gg(T377, T380, T360, p1_out_ag(d(e(+(T392, T391))), T360)) → p1_out_gg(d(d(e(+(T377, T380)))), T360)
U68_gg(T366, T360, p1_out_gg(d(e(const(0))), T360)) → p1_out_gg(d(d(e(const(T366)))), T360)
U67_gg(T360, p1_out_gg(d(e(const(1))), T360)) → p1_out_gg(d(d(e(t))), T360)
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U28_aa(p1_out_gg(d(e(const(1))), const(0))) → p90_out_aa(e(t), const(1))
p90_in_aa(e(const(T140)), const(0)) → U29_aa(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_aa(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_aa(e(const(T140)), const(0))
p90_in_aa(e(+(T151, T152)), +(X373, X374)) → U30_aa(T151, T152, X373, X374, p24_in_aa(T151, X373))
U30_aa(T151, T152, X373, X374, p24_out_aa(T151, X373)) → p90_out_aa(e(+(T151, T152)), +(X373, X374))
p90_in_aa(e(+(T151, T154)), +(T153, X374)) → U31_aa(T151, T154, T153, X374, p24_in_aa(T151, T153))
U31_aa(T151, T154, T153, X374, p24_out_aa(T151, T153)) → U32_aa(T151, T154, T153, X374, p24_in_aa(T154, X374))
U32_aa(T151, T154, T153, X374, p24_out_aa(T154, X374)) → p90_out_aa(e(+(T151, T154)), +(T153, X374))
p90_in_aa(e(+(T151, T154)), +(T156, T155)) → U33_aa(T151, T154, T156, T155, p24_in_aa(T151, T156))
U33_aa(T151, T154, T156, T155, p24_out_aa(T151, T156)) → U34_aa(T151, T154, T156, T155, p24_in_aa(T154, T155))
U34_aa(T151, T154, T156, T155, p24_out_aa(T154, T155)) → U35_aa(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_aa(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_aa(e(+(T151, T154)), +(T156, T155))
p90_in_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_aa(T169, T170, X420, X421, p24_in_aa(T169, X421))
U36_aa(T169, T170, X420, X421, p24_out_aa(T169, X421)) → p90_out_aa(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_aa(T173, T172, X420, T171, p24_in_aa(T173, T171))
U37_aa(T173, T172, X420, T171, p24_out_aa(T173, T171)) → U38_aa(T173, T172, X420, T171, p24_in_aa(T172, X420))
U38_aa(T173, T172, X420, T171, p24_out_aa(T172, X420)) → p90_out_aa(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_aa(T175, T176, T174, T177, p24_in_aa(T175, T177))
U39_aa(T175, T176, T174, T177, p24_out_aa(T175, T177)) → U40_aa(T175, T176, T174, T177, p24_in_aa(T176, T174))
U40_aa(T175, T176, T174, T177, p24_out_aa(T176, T174)) → U41_aa(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_aa(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_aa(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_aa(d(T185), X449) → U42_aa(T185, X449, p60_in_aa(T185, X448))
U42_aa(T185, X449, p60_out_aa(T185, X448)) → p90_out_aa(d(T185), X449)
p90_in_aa(d(T185), X449) → U43_aa(T185, X449, p60_in_aa(T185, T186))
U43_aa(T185, X449, p60_out_aa(T185, T186)) → U44_aa(T185, X449, p90_in_aa(e(T186), X449))
U44_aa(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_aa(d(T185), X449)
U55_ag(T135, p90_out_aa(T135, X334)) → p1_out_ag(d(d(T135)), const(0))
U53_gagg(T280, T281, T278, T279, p1_out_ag(d(e(T281)), +(T278, T279))) → p150_out_gagg(T280, T281, T278, T279)
U61_gg(T280, T278, T279, p150_out_gagg(T280, X551, T278, T279)) → p1_out_gg(d(d(T280)), +(T278, T279))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U28_ga(p1_out_gg(d(e(const(1))), const(0))) → p90_out_ga(e(t), const(1))
p90_in_ga(e(const(T140)), const(0)) → U29_ga(T140, p1_in_gg(d(e(const(0))), const(0)))
U29_ga(T140, p1_out_gg(d(e(const(0))), const(0))) → p90_out_ga(e(const(T140)), const(0))
p90_in_ga(e(+(T151, T152)), +(X373, X374)) → U30_ga(T151, T152, X373, X374, p24_in_ga(T151, X373))
U30_ga(T151, T152, X373, X374, p24_out_ga(T151, X373)) → p90_out_ga(e(+(T151, T152)), +(X373, X374))
p90_in_ga(e(+(T151, T154)), +(T153, X374)) → U31_ga(T151, T154, T153, X374, p24_in_ga(T151, T153))
U31_ga(T151, T154, T153, X374, p24_out_ga(T151, T153)) → U32_ga(T151, T154, T153, X374, p24_in_ga(T154, X374))
U32_ga(T151, T154, T153, X374, p24_out_ga(T154, X374)) → p90_out_ga(e(+(T151, T154)), +(T153, X374))
p90_in_ga(e(+(T151, T154)), +(T156, T155)) → U33_ga(T151, T154, T156, T155, p24_in_ga(T151, T156))
U33_ga(T151, T154, T156, T155, p24_out_ga(T151, T156)) → U34_ga(T151, T154, T156, T155, p24_in_ga(T154, T155))
U34_ga(T151, T154, T156, T155, p24_out_ga(T154, T155)) → U35_ga(T151, T154, T156, T155, p1_in_ag(d(e(+(T156, T155))), const(0)))
U35_ga(T151, T154, T156, T155, p1_out_ag(d(e(+(T156, T155))), const(0))) → p90_out_ga(e(+(T151, T154)), +(T156, T155))
p90_in_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) → U36_ga(T169, T170, X420, X421, p24_in_ga(T169, X421))
U36_ga(T169, T170, X420, X421, p24_out_ga(T169, X421)) → p90_out_ga(e(*(T169, T170)), +(*(T169, X420), *(T170, X421)))
p90_in_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) → U37_ga(T173, T172, X420, T171, p24_in_ga(T173, T171))
U37_ga(T173, T172, X420, T171, p24_out_ga(T173, T171)) → U38_ga(T173, T172, X420, T171, p24_in_ga(T172, X420))
U38_ga(T173, T172, X420, T171, p24_out_ga(T172, X420)) → p90_out_ga(e(*(T173, T172)), +(*(T173, X420), *(T172, T171)))
p90_in_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) → U39_ga(T175, T176, T174, T177, p24_in_ga(T175, T177))
U39_ga(T175, T176, T174, T177, p24_out_ga(T175, T177)) → U40_ga(T175, T176, T174, T177, p24_in_ga(T176, T174))
U40_ga(T175, T176, T174, T177, p24_out_ga(T176, T174)) → U41_ga(T175, T176, T174, T177, p1_in_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))
U41_ga(T175, T176, T174, T177, p1_out_ag(d(e(+(*(T175, T174), *(T176, T177)))), const(0))) → p90_out_ga(e(*(T175, T176)), +(*(T175, T174), *(T176, T177)))
p90_in_ga(d(T185), X449) → U42_ga(T185, X449, p60_in_ga(T185, X448))
U42_ga(T185, X449, p60_out_ga(T185, X448)) → p90_out_ga(d(T185), X449)
p90_in_ga(d(T185), X449) → U43_ga(T185, X449, p60_in_ga(T185, T186))
U43_ga(T185, X449, p60_out_ga(T185, T186)) → U44_ga(T185, X449, p90_in_aa(e(T186), X449))
U44_ga(T185, X449, p90_out_aa(e(T186), X449)) → p90_out_ga(d(T185), X449)
U55_gg(T135, p90_out_ga(T135, X334)) → p1_out_gg(d(d(T135)), const(0))
U6_ga(p1_out_gg(d(e(const(1))), const(1))) → p9_out_ga(e(t), const(1))
p9_in_ga(e(const(T15)), const(0)) → U7_ga(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_ga(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_ga(e(const(T15)), const(0))
p9_in_ga(e(+(T26, T27)), +(X77, X78)) → U8_ga(T26, T27, X77, X78, p24_in_ga(T26, X77))
U8_ga(T26, T27, X77, X78, p24_out_ga(T26, X77)) → p9_out_ga(e(+(T26, T27)), +(X77, X78))
p9_in_ga(e(+(T26, T29)), +(T28, X78)) → U9_ga(T26, T29, T28, X78, p24_in_ga(T26, T28))
U9_ga(T26, T29, T28, X78, p24_out_ga(T26, T28)) → U10_ga(T26, T29, T28, X78, p24_in_ga(T29, X78))
U10_ga(T26, T29, T28, X78, p24_out_ga(T29, X78)) → p9_out_ga(e(+(T26, T29)), +(T28, X78))
p9_in_ga(e(+(T26, T29)), +(T62, T61)) → U11_ga(T26, T29, T62, T61, p24_in_ga(T26, T62))
U11_ga(T26, T29, T62, T61, p24_out_ga(T26, T62)) → U12_ga(T26, T29, T62, T61, p24_in_ga(T29, T61))
U12_ga(T26, T29, T62, T61, p24_out_ga(T29, T61)) → U13_ga(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_ga(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_ga(e(+(T26, T29)), +(T62, T61))
p9_in_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_ga(T75, T76, X200, X201, p24_in_ga(T75, X201))
U14_ga(T75, T76, X200, X201, p24_out_ga(T75, X201)) → p9_out_ga(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_ga(T79, T78, X200, T77, p24_in_ga(T79, T77))
U15_ga(T79, T78, X200, T77, p24_out_ga(T79, T77)) → U16_ga(T79, T78, X200, T77, p24_in_ga(T78, X200))
U16_ga(T79, T78, X200, T77, p24_out_ga(T78, X200)) → p9_out_ga(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_ga(T81, T82, T80, T83, p24_in_ga(T81, T83))
U17_ga(T81, T82, T80, T83, p24_out_ga(T81, T83)) → U18_ga(T81, T82, T80, T83, p24_in_ga(T82, T80))
U18_ga(T81, T82, T80, T83, p24_out_ga(T82, T80)) → U19_ga(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_ga(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_ga(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_ga(d(T91), X229) → U20_ga(T91, X229, p60_in_ga(T91, X228))
U20_ga(T91, X229, p60_out_ga(T91, X228)) → p9_out_ga(d(T91), X229)
p9_in_ga(d(T91), X229) → U21_ga(T91, X229, p60_in_ga(T91, T92))
U21_ga(T91, X229, p60_out_ga(T91, T92)) → U22_ga(T91, X229, p9_in_aa(e(T92), X229))
p9_in_aa(e(const(T15)), const(0)) → U7_aa(T15, p1_in_gg(d(e(const(0))), const(1)))
U7_aa(T15, p1_out_gg(d(e(const(0))), const(1))) → p9_out_aa(e(const(T15)), const(0))
p9_in_aa(e(+(T26, T27)), +(X77, X78)) → U8_aa(T26, T27, X77, X78, p24_in_aa(T26, X77))
U8_aa(T26, T27, X77, X78, p24_out_aa(T26, X77)) → p9_out_aa(e(+(T26, T27)), +(X77, X78))
p9_in_aa(e(+(T26, T29)), +(T28, X78)) → U9_aa(T26, T29, T28, X78, p24_in_aa(T26, T28))
U9_aa(T26, T29, T28, X78, p24_out_aa(T26, T28)) → U10_aa(T26, T29, T28, X78, p24_in_aa(T29, X78))
U10_aa(T26, T29, T28, X78, p24_out_aa(T29, X78)) → p9_out_aa(e(+(T26, T29)), +(T28, X78))
p9_in_aa(e(+(T26, T29)), +(T62, T61)) → U11_aa(T26, T29, T62, T61, p24_in_aa(T26, T62))
U11_aa(T26, T29, T62, T61, p24_out_aa(T26, T62)) → U12_aa(T26, T29, T62, T61, p24_in_aa(T29, T61))
U12_aa(T26, T29, T62, T61, p24_out_aa(T29, T61)) → U13_aa(T26, T29, T62, T61, p1_in_ag(d(e(+(T62, T61))), const(1)))
U13_aa(T26, T29, T62, T61, p1_out_ag(d(e(+(T62, T61))), const(1))) → p9_out_aa(e(+(T26, T29)), +(T62, T61))
p9_in_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) → U14_aa(T75, T76, X200, X201, p24_in_aa(T75, X201))
U14_aa(T75, T76, X200, X201, p24_out_aa(T75, X201)) → p9_out_aa(e(*(T75, T76)), +(*(T75, X200), *(T76, X201)))
p9_in_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) → U15_aa(T79, T78, X200, T77, p24_in_aa(T79, T77))
U15_aa(T79, T78, X200, T77, p24_out_aa(T79, T77)) → U16_aa(T79, T78, X200, T77, p24_in_aa(T78, X200))
U16_aa(T79, T78, X200, T77, p24_out_aa(T78, X200)) → p9_out_aa(e(*(T79, T78)), +(*(T79, X200), *(T78, T77)))
p9_in_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) → U17_aa(T81, T82, T80, T83, p24_in_aa(T81, T83))
U17_aa(T81, T82, T80, T83, p24_out_aa(T81, T83)) → U18_aa(T81, T82, T80, T83, p24_in_aa(T82, T80))
U18_aa(T81, T82, T80, T83, p24_out_aa(T82, T80)) → U19_aa(T81, T82, T80, T83, p1_in_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))
U19_aa(T81, T82, T80, T83, p1_out_ag(d(e(+(*(T81, T80), *(T82, T83)))), const(1))) → p9_out_aa(e(*(T81, T82)), +(*(T81, T80), *(T82, T83)))
p9_in_aa(d(T91), X229) → U20_aa(T91, X229, p60_in_aa(T91, X228))
U20_aa(T91, X229, p60_out_aa(T91, X228)) → p9_out_aa(d(T91), X229)
p9_in_aa(d(T91), X229) → U21_aa(T91, X229, p60_in_aa(T91, T92))
U21_aa(T91, X229, p60_out_aa(T91, T92)) → U22_aa(T91, X229, p9_in_aa(e(T92), X229))
U22_aa(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_aa(d(T91), X229)
U22_ga(T91, X229, p9_out_aa(e(T92), X229)) → p9_out_ga(d(T91), X229)
U54_gg(T10, p9_out_ga(T10, X14)) → p1_out_gg(d(d(T10)), const(1))
U6_aa(p1_out_gg(d(e(const(1))), const(1))) → p9_out_aa(e(t), const(1))
U54_ag(T10, p9_out_aa(T10, X14)) → p1_out_ag(d(d(T10)), const(1))
P134_IN_GGGGAG(T224, T222, T227, T223, T228, T194) → U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGAG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGAG(T227, T223, T228, T194)
P137_IN_GGAG(T227, T223, T229, T194) → U49_GGAG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U49_GGAG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
P1_IN_AG(d(e(+(t, T197))), +(const(1), T194)) → P1_IN_AG(d(e(T197)), T194)
P1_IN_AG(d(e(+(const(T202), T203))), +(const(0), T194)) → P1_IN_AG(d(e(T203)), T194)
P1_IN_AG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194)
P134_IN_AGAGAG(T224, T222, T225, T223, T226, T194) → P1_IN_AG(d(e(T224)), T222)
P1_IN_AG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGAG(T246, T249, T247, T248, T250, T194)
P134_IN_AGAGAG(T224, T222, T227, T223, T228, T194) → U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
U46_AGAGAG(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → P137_IN_AGAG(T227, T223, T228, T194)
P137_IN_AGAG(T227, T223, T228, T194) → P1_IN_AG(d(e(T227)), T223)
P137_IN_AGAG(T227, T223, T229, T194) → U49_AGAG(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
U49_AGAG(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → P1_IN_AG(d(e(T229)), T194)
p1_in_gg(d(e(t)), const(1)) → p1_out_gg(d(e(t)), const(1))
p1_in_gg(d(e(const(T128))), const(0)) → p1_out_gg(d(e(const(T128))), const(0))
p1_in_gg(d(e(+(t, T197))), +(const(1), T194)) → U56_gg(T197, T194, p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_gg(T202, T203, T194, p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(T224, T225, T226, T222, T223, T194, p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(T246, T247, T250, T248, T249, T194, p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_gg(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_gg(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
p1_in_ag(d(e(t)), const(1)) → p1_out_ag(d(e(t)), const(1))
p1_in_ag(d(e(const(T128))), const(0)) → p1_out_ag(d(e(const(T128))), const(0))
p1_in_ag(d(e(+(t, T197))), +(const(1), T194)) → U56_ag(T197, T194, p1_in_ag(d(e(T197)), T194))
p1_in_ag(d(e(+(const(T202), T203))), +(const(0), T194)) → U57_ag(T202, T203, T194, p1_in_ag(d(e(T203)), T194))
p1_in_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_ag(T224, T225, T226, T222, T223, T194, p134_in_agagag(T224, T222, T225, T223, T226, T194))
p1_in_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(T246, T247, T250, T248, T249, T194, p134_in_ggggag(T246, T249, T247, T248, T250, T194))
p1_in_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_ag(T267, T268, T269, T270, p137_in_gggg(T267, T270, T268, T269))
p1_in_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) → U62_ag(T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) → U63_ag(T300, T293, T294, p1_in_gg(d(e(T293)), T294))
p1_in_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(T317, T318, T293, T294, T319, T320, p134_in_gggggg(T317, T319, T318, T320, T293, T294))
p1_in_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(T337, T338, T293, T294, T339, T340, p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U56_gg(T197, T194, p1_out_gg(d(e(T197)), T194)) → p1_out_gg(d(e(+(t, T197))), +(const(1), T194))
U57_gg(T202, T203, T194, p1_out_gg(d(e(T203)), T194)) → p1_out_gg(d(e(+(const(T202), T203))), +(const(0), T194))
U58_gg(T224, T225, T226, T222, T223, T194, p134_out_gggggg(T224, T222, T225, T223, T226, T194)) → p1_out_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U59_gg(T246, T247, T250, T248, T249, T194, p134_out_gggggg(T246, T249, T247, T248, T250, T194)) → p1_out_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U60_gg(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U62_gg(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U63_gg(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_gg(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U64_gg(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
U65_gg(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
U56_ag(T197, T194, p1_out_ag(d(e(T197)), T194)) → p1_out_ag(d(e(+(t, T197))), +(const(1), T194))
U57_ag(T202, T203, T194, p1_out_ag(d(e(T203)), T194)) → p1_out_ag(d(e(+(const(T202), T203))), +(const(0), T194))
U58_ag(T224, T225, T226, T222, T223, T194, p134_out_agagag(T224, T222, T225, T223, T226, T194)) → p1_out_ag(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194))
U59_ag(T246, T247, T250, T248, T249, T194, p134_out_ggggag(T246, T249, T247, T248, T250, T194)) → p1_out_ag(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194))
U60_ag(T267, T268, T269, T270, p137_out_gggg(T267, T270, T268, T269)) → p1_out_ag(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270)))
U62_ag(T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1))))
U63_ag(T300, T293, T294, p1_out_gg(d(e(T293)), T294)) → p1_out_ag(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0))))
U64_ag(T317, T318, T293, T294, T319, T320, p134_out_gggggg(T317, T319, T318, T320, T293, T294)) → p1_out_ag(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320))))
U65_ag(T337, T338, T293, T294, T339, T340, p134_out_gggggg(T337, T340, T338, T339, T293, T294)) → p1_out_ag(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340)))))
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
p134_in_agagag(T224, T222, T225, T223, T226, T194) → U45_agagag(T224, T222, T225, T223, T226, T194, p1_in_ag(d(e(T224)), T222))
p134_in_agagag(T224, T222, T227, T223, T228, T194) → U46_agagag(T224, T222, T227, T223, T228, T194, p1_in_ag(d(e(T224)), T222))
p134_in_ggggag(T224, T222, T225, T223, T226, T194) → U45_ggggag(T224, T222, T225, T223, T226, T194, p1_in_gg(d(e(T224)), T222))
p134_in_ggggag(T224, T222, T227, T223, T228, T194) → U46_ggggag(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
U45_gggggg(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_gggggg(T224, T222, T225, T223, T226, T194)
U46_gggggg(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_gggggg(T224, T222, T227, T223, T228, T194, p137_in_gggg(T227, T223, T228, T194))
U48_gggg(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_gggg(T227, T223, T228, T194)
U49_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_gggg(T227, T223, T229, T194, p1_in_gg(d(e(T229)), T194))
U45_agagag(T224, T222, T225, T223, T226, T194, p1_out_ag(d(e(T224)), T222)) → p134_out_agagag(T224, T222, T225, T223, T226, T194)
U46_agagag(T224, T222, T227, T223, T228, T194, p1_out_ag(d(e(T224)), T222)) → U47_agagag(T224, T222, T227, T223, T228, T194, p137_in_agag(T227, T223, T228, T194))
U45_ggggag(T224, T222, T225, T223, T226, T194, p1_out_gg(d(e(T224)), T222)) → p134_out_ggggag(T224, T222, T225, T223, T226, T194)
U46_ggggag(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → U47_ggggag(T224, T222, T227, T223, T228, T194, p137_in_ggag(T227, T223, T228, T194))
U47_gggggg(T224, T222, T227, T223, T228, T194, p137_out_gggg(T227, T223, T228, T194)) → p134_out_gggggg(T224, T222, T227, T223, T228, T194)
U50_gggg(T227, T223, T229, T194, p1_out_gg(d(e(T229)), T194)) → p137_out_gggg(T227, T223, T229, T194)
U47_agagag(T224, T222, T227, T223, T228, T194, p137_out_agag(T227, T223, T228, T194)) → p134_out_agagag(T224, T222, T227, T223, T228, T194)
U47_ggggag(T224, T222, T227, T223, T228, T194, p137_out_ggag(T227, T223, T228, T194)) → p134_out_ggggag(T224, T222, T227, T223, T228, T194)
p137_in_agag(T227, T223, T228, T194) → U48_agag(T227, T223, T228, T194, p1_in_ag(d(e(T227)), T223))
p137_in_agag(T227, T223, T229, T194) → U49_agag(T227, T223, T229, T194, p1_in_ag(d(e(T227)), T223))
p137_in_ggag(T227, T223, T228, T194) → U48_ggag(T227, T223, T228, T194, p1_in_gg(d(e(T227)), T223))
p137_in_ggag(T227, T223, T229, T194) → U49_ggag(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
U48_agag(T227, T223, T228, T194, p1_out_ag(d(e(T227)), T223)) → p137_out_agag(T227, T223, T228, T194)
U49_agag(T227, T223, T229, T194, p1_out_ag(d(e(T227)), T223)) → U50_agag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U48_ggag(T227, T223, T228, T194, p1_out_gg(d(e(T227)), T223)) → p137_out_ggag(T227, T223, T228, T194)
U49_ggag(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → U50_ggag(T227, T223, T229, T194, p1_in_ag(d(e(T229)), T194))
U50_agag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_agag(T227, T223, T229, T194)
U50_ggag(T227, T223, T229, T194, p1_out_ag(d(e(T229)), T194)) → p137_out_ggag(T227, T223, T229, T194)
P134_IN_GGGGAG(T224, T222, T227, T223, T194) → U46_GGGGAG(T227, T223, T194, p1_in_gg(d(e(T224)), T222))
U46_GGGGAG(T227, T223, T194, p1_out_gg) → P137_IN_GGAG(T227, T223, T194)
P137_IN_GGAG(T227, T223, T194) → U49_GGAG(T194, p1_in_gg(d(e(T227)), T223))
U49_GGAG(T194, p1_out_gg) → P1_IN_AG(T194)
P1_IN_AG(+(const, T194)) → P1_IN_AG(T194)
P1_IN_AG(+(+(T222, T223), T194)) → P134_IN_AGAGAG(T222, T223, T194)
P134_IN_AGAGAG(T222, T223, T194) → P1_IN_AG(T222)
P1_IN_AG(+(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGAG(T246, T249, T247, T248, T194)
P134_IN_AGAGAG(T222, T223, T194) → U46_AGAGAG(T223, T194, p1_in_ag(T222))
U46_AGAGAG(T223, T194, p1_out_ag) → P137_IN_AGAG(T223, T194)
P137_IN_AGAG(T223, T194) → P1_IN_AG(T223)
P137_IN_AGAG(T223, T194) → U49_AGAG(T194, p1_in_ag(T223))
U49_AGAG(T194, p1_out_ag) → P1_IN_AG(T194)
p1_in_gg(d(e(t)), const) → p1_out_gg
p1_in_gg(d(e(const)), const) → p1_out_gg
p1_in_gg(d(e(+(t, T197))), +(const, T194)) → U56_gg(p1_in_gg(d(e(T197)), T194))
p1_in_gg(d(e(+(const, T203))), +(const, T194)) → U57_gg(p1_in_gg(d(e(T203)), T194))
p1_in_gg(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → U58_gg(p134_in_gggggg(T224, T222, T225, T223, T226, T194))
p1_in_gg(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → U59_gg(p134_in_gggggg(T246, T249, T247, T248, T250, T194))
p1_in_gg(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → U60_gg(p137_in_gggg(T267, T270, T268, T269))
p1_in_gg(d(e(*(t, T293))), +(*(t, T294), *(T293, const))) → U62_gg(p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(const, T293))), +(*(const, T294), *(T293, const))) → U63_gg(p1_in_gg(d(e(T293)), T294))
p1_in_gg(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_gg(p134_in_gggggg(T317, T319, T318, T320, T293, T294))
p1_in_gg(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_gg(p134_in_gggggg(T337, T340, T338, T339, T293, T294))
p1_in_ag(const) → p1_out_ag
p1_in_ag(+(const, T194)) → U56_ag(p1_in_ag(T194))
p1_in_ag(+(const, T194)) → U57_ag(p1_in_ag(T194))
p1_in_ag(+(+(T222, T223), T194)) → U58_ag(p134_in_agagag(T222, T223, T194))
p1_in_ag(+(+(*(T246, T248), *(T247, T249)), T194)) → U59_ag(p134_in_ggggag(T246, T249, T247, T248, T194))
p1_in_ag(+(*(T267, T269), *(T268, T270))) → U60_ag(p137_in_gggg(T267, T270, T268, T269))
p1_in_ag(+(*(t, T294), *(T293, const))) → U62_ag(p1_in_gg(d(e(T293)), T294))
p1_in_ag(+(*(const, T294), *(T293, const))) → U63_ag(p1_in_gg(d(e(T293)), T294))
p1_in_ag(+(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → U64_ag(p134_in_gggggg(T317, T319, T318, T320, T293, T294))
p1_in_ag(+(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) → U65_ag(p134_in_gggggg(T337, T340, T338, T339, T293, T294))
U56_gg(p1_out_gg) → p1_out_gg
U57_gg(p1_out_gg) → p1_out_gg
U58_gg(p134_out_gggggg) → p1_out_gg
U59_gg(p134_out_gggggg) → p1_out_gg
U60_gg(p137_out_gggg) → p1_out_gg
U62_gg(p1_out_gg) → p1_out_gg
U63_gg(p1_out_gg) → p1_out_gg
U64_gg(p134_out_gggggg) → p1_out_gg
U65_gg(p134_out_gggggg) → p1_out_gg
U56_ag(p1_out_ag) → p1_out_ag
U57_ag(p1_out_ag) → p1_out_ag
U58_ag(p134_out_agagag) → p1_out_ag
U59_ag(p134_out_ggggag) → p1_out_ag
U60_ag(p137_out_gggg) → p1_out_ag
U62_ag(p1_out_gg) → p1_out_ag
U63_ag(p1_out_gg) → p1_out_ag
U64_ag(p134_out_gggggg) → p1_out_ag
U65_ag(p134_out_gggggg) → p1_out_ag
p134_in_gggggg(T224, T222, T225, T223, T226, T194) → U45_gggggg(p1_in_gg(d(e(T224)), T222))
p134_in_gggggg(T224, T222, T227, T223, T228, T194) → U46_gggggg(T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
p137_in_gggg(T227, T223, T228, T194) → U48_gggg(p1_in_gg(d(e(T227)), T223))
p137_in_gggg(T227, T223, T229, T194) → U49_gggg(T229, T194, p1_in_gg(d(e(T227)), T223))
p134_in_agagag(T222, T223, T194) → U45_agagag(p1_in_ag(T222))
p134_in_agagag(T222, T223, T194) → U46_agagag(T223, T194, p1_in_ag(T222))
p134_in_ggggag(T224, T222, T225, T223, T194) → U45_ggggag(p1_in_gg(d(e(T224)), T222))
p134_in_ggggag(T224, T222, T227, T223, T194) → U46_ggggag(T227, T223, T194, p1_in_gg(d(e(T224)), T222))
U45_gggggg(p1_out_gg) → p134_out_gggggg
U46_gggggg(T227, T223, T228, T194, p1_out_gg) → U47_gggggg(p137_in_gggg(T227, T223, T228, T194))
U48_gggg(p1_out_gg) → p137_out_gggg
U49_gggg(T229, T194, p1_out_gg) → U50_gggg(p1_in_gg(d(e(T229)), T194))
U45_agagag(p1_out_ag) → p134_out_agagag
U46_agagag(T223, T194, p1_out_ag) → U47_agagag(p137_in_agag(T223, T194))
U45_ggggag(p1_out_gg) → p134_out_ggggag
U46_ggggag(T227, T223, T194, p1_out_gg) → U47_ggggag(p137_in_ggag(T227, T223, T194))
U47_gggggg(p137_out_gggg) → p134_out_gggggg
U50_gggg(p1_out_gg) → p137_out_gggg
U47_agagag(p137_out_agag) → p134_out_agagag
U47_ggggag(p137_out_ggag) → p134_out_ggggag
p137_in_agag(T223, T194) → U48_agag(p1_in_ag(T223))
p137_in_agag(T223, T194) → U49_agag(T194, p1_in_ag(T223))
p137_in_ggag(T227, T223, T194) → U48_ggag(p1_in_gg(d(e(T227)), T223))
p137_in_ggag(T227, T223, T194) → U49_ggag(T194, p1_in_gg(d(e(T227)), T223))
U48_agag(p1_out_ag) → p137_out_agag
U49_agag(T194, p1_out_ag) → U50_agag(p1_in_ag(T194))
U48_ggag(p1_out_gg) → p137_out_ggag
U49_ggag(T194, p1_out_gg) → U50_ggag(p1_in_ag(T194))
U50_agag(p1_out_ag) → p137_out_agag
U50_ggag(p1_out_ag) → p137_out_ggag
p1_in_gg(x0, x1)
p1_in_ag(x0)
U56_gg(x0)
U57_gg(x0)
U58_gg(x0)
U59_gg(x0)
U60_gg(x0)
U62_gg(x0)
U63_gg(x0)
U64_gg(x0)
U65_gg(x0)
U56_ag(x0)
U57_ag(x0)
U58_ag(x0)
U59_ag(x0)
U60_ag(x0)
U62_ag(x0)
U63_ag(x0)
U64_ag(x0)
U65_ag(x0)
p134_in_gggggg(x0, x1, x2, x3, x4, x5)
p137_in_gggg(x0, x1, x2, x3)
p134_in_agagag(x0, x1, x2)
p134_in_ggggag(x0, x1, x2, x3, x4)
U45_gggggg(x0)
U46_gggggg(x0, x1, x2, x3, x4)
U48_gggg(x0)
U49_gggg(x0, x1, x2)
U45_agagag(x0)
U46_agagag(x0, x1, x2)
U45_ggggag(x0)
U46_ggggag(x0, x1, x2, x3)
U47_gggggg(x0)
U50_gggg(x0)
U47_agagag(x0)
U47_ggggag(x0)
p137_in_agag(x0, x1)
p137_in_ggag(x0, x1, x2)
U48_agag(x0)
U49_agag(x0, x1)
U48_ggag(x0)
U49_ggag(x0, x1)
U50_agag(x0)
U50_ggag(x0)
From the DPs we obtained the following set of size-change graphs: