(0) Obligation:

Clauses:

p(d(e(t)), const(1)).
p(d(e(const(A))), const(0)).
p(d(e(+(X, Y))), +(DX, DY)) :- ','(p(d(e(X)), DX), p(d(e(Y)), DY)).
p(d(e(*(X, Y))), +(*(X, DY), *(Y, DX))) :- ','(p(d(e(X)), DX), p(d(e(Y)), DY)).
p(d(d(X)), DDX) :- ','(p(d(X), DX), p(d(e(DX)), DDX)).

Queries:

p(a,g).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

p24(t, const(1)).
p24(const(T34), const(0)).
p24(+(T45, T46), +(X117, X118)) :- p39(T45, X117, T46, X118).
p24(*(T59, T60), +(*(T59, X151), *(T60, X152))) :- p39(T59, X152, T60, X151).
p39(T45, X117, T46, X118) :- p24(T45, X117).
p39(T45, T47, T48, X118) :- ','(p24(T45, T47), p24(T48, X118)).
p9(e(t), const(1)) :- p1(d(e(const(1))), const(1)).
p9(e(const(T15)), const(0)) :- p1(d(e(const(0))), const(1)).
p9(e(+(T26, T27)), +(X77, X78)) :- p24(T26, X77).
p9(e(+(T26, T29)), +(T28, X78)) :- ','(p24(T26, T28), p24(T29, X78)).
p9(e(+(T26, T29)), +(T62, T61)) :- ','(p24(T26, T62), ','(p24(T29, T61), p1(d(e(+(T62, T61))), const(1)))).
p9(e(*(T75, T76)), +(*(T75, X200), *(T76, X201))) :- p24(T75, X201).
p9(e(*(T79, T78)), +(*(T79, X200), *(T78, T77))) :- ','(p24(T79, T77), p24(T78, X200)).
p9(e(*(T81, T82)), +(*(T81, T80), *(T82, T83))) :- ','(p24(T81, T83), ','(p24(T82, T80), p1(d(e(+(*(T81, T80), *(T82, T83)))), const(1)))).
p9(d(T91), X229) :- p60(T91, X228).
p9(d(T91), X229) :- ','(p60(T91, T92), p9(e(T92), X229)).
p60(e(t), const(1)).
p60(e(const(T97)), const(0)).
p60(e(+(T108, T109)), +(X266, X267)) :- p39(T108, X266, T109, X267).
p60(e(*(T120, T121)), +(*(T120, X300), *(T121, X301))) :- p39(T120, X301, T121, X300).
p60(d(T125), X316) :- p60(T125, X315).
p60(d(T125), X316) :- ','(p60(T125, T126), p24(T126, X316)).
p90(e(t), const(1)) :- p1(d(e(const(1))), const(0)).
p90(e(const(T140)), const(0)) :- p1(d(e(const(0))), const(0)).
p90(e(+(T151, T152)), +(X373, X374)) :- p24(T151, X373).
p90(e(+(T151, T154)), +(T153, X374)) :- ','(p24(T151, T153), p24(T154, X374)).
p90(e(+(T151, T154)), +(T156, T155)) :- ','(p24(T151, T156), ','(p24(T154, T155), p1(d(e(+(T156, T155))), const(0)))).
p90(e(*(T169, T170)), +(*(T169, X420), *(T170, X421))) :- p24(T169, X421).
p90(e(*(T173, T172)), +(*(T173, X420), *(T172, T171))) :- ','(p24(T173, T171), p24(T172, X420)).
p90(e(*(T175, T176)), +(*(T175, T174), *(T176, T177))) :- ','(p24(T175, T177), ','(p24(T176, T174), p1(d(e(+(*(T175, T174), *(T176, T177)))), const(0)))).
p90(d(T185), X449) :- p60(T185, X448).
p90(d(T185), X449) :- ','(p60(T185, T186), p90(e(T186), X449)).
p134(T224, T222, T225, T223, T226, T194) :- p1(d(e(T224)), T222).
p134(T224, T222, T227, T223, T228, T194) :- ','(p1(d(e(T224)), T222), p137(T227, T223, T228, T194)).
p137(T227, T223, T228, T194) :- p1(d(e(T227)), T223).
p137(T227, T223, T229, T194) :- ','(p1(d(e(T227)), T223), p1(d(e(T229)), T194)).
p150(T280, X551, T278, T279) :- p60(T280, X551).
p150(T280, T281, T278, T279) :- ','(p60(T280, T281), p1(d(e(T281)), +(T278, T279))).
p1(d(e(t)), const(1)).
p1(d(d(T10)), const(1)) :- p9(T10, X14).
p1(d(e(const(T128))), const(0)).
p1(d(d(T135)), const(0)) :- p90(T135, X334).
p1(d(e(+(t, T197))), +(const(1), T194)) :- p1(d(e(T197)), T194).
p1(d(e(+(const(T202), T203))), +(const(0), T194)) :- p1(d(e(T203)), T194).
p1(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) :- p134(T224, T222, T225, T223, T226, T194).
p1(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) :- p134(T246, T249, T247, T248, T250, T194).
p1(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) :- p137(T267, T270, T268, T269).
p1(d(d(T280)), +(T278, T279)) :- p150(T280, X551, T278, T279).
p1(d(e(*(t, T293))), +(*(t, T294), *(T293, const(1)))) :- p1(d(e(T293)), T294).
p1(d(e(*(const(T300), T293))), +(*(const(T300), T294), *(T293, const(0)))) :- p1(d(e(T293)), T294).
p1(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) :- p134(T317, T319, T318, T320, T293, T294).
p1(d(e(*(*(T337, T338), T293))), +(*(*(T337, T338), T294), *(T293, +(*(T337, T339), *(T338, T340))))) :- p134(T337, T340, T338, T339, T293, T294).
p1(d(d(T356)), +(*(T352, T353), *(T354, T355))) :- p150(T356, X635, *(T352, T353), *(T354, T355)).
p1(d(d(e(t))), T360) :- p1(d(e(const(1))), T360).
p1(d(d(e(const(T366)))), T360) :- p1(d(e(const(0))), T360).
p1(d(d(e(+(T377, T378)))), T360) :- p24(T377, X683).
p1(d(d(e(+(T377, T380)))), T360) :- ','(p24(T377, T379), p24(T380, X684)).
p1(d(d(e(+(T377, T380)))), T360) :- ','(p24(T377, T392), ','(p24(T380, T391), p1(d(e(+(T392, T391))), T360))).
p1(d(d(e(*(T417, T418)))), T360) :- p24(T417, X724).
p1(d(d(e(*(T421, T420)))), T360) :- ','(p24(T421, T419), p24(T420, X723)).
p1(d(d(e(*(T433, T434)))), T360) :- ','(p24(T433, T435), ','(p24(T434, T432), p1(d(e(+(*(T433, T432), *(T434, T435)))), T360))).
p1(d(d(d(T455))), T360) :- p60(T455, X744).
p1(d(d(d(T455))), T360) :- ','(p60(T455, T456), p24(T456, X745)).
p1(d(d(d(T455))), T360) :- ','(p60(T455, T456), ','(p24(T456, T467), p1(d(e(T467)), T360))).

Queries:

p1(a,g).

(3) PrologToPiTRSProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
p1_in: (f,b) (b,b)
p9_in: (f,f) (b,f)
p90_in: (b,f) (f,f)
p134_in: (b,b,b,b,b,b) (f,b,f,b,f,b) (b,b,b,b,f,b)
p137_in: (b,b,b,b) (b,b,f,b) (f,b,f,b)
p150_in: (b,f,b,b) (f,f,b,b)
p60_in: (b,f) (f,f)
p39_in: (b,f,b,f) (f,f,f,f)
p24_in: (b,f) (f,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag(x2)
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg(x1, x2)
U54_gg(x1, x2)  =  U54_gg(x1, x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x1, x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x1, x2, x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x2, x3, x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x1, x2, x3, x4, x5, x6, x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x1, x2, x3, x4, x5, x6, x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x1, x2, x3, x4, x5, x6, x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x1, x2, x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x1, x2, x3, x4, x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x1, x2, x3, x4, x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x1, x2, x3, x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x1, x3, x4, x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga(x1)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x1, x3, x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga(x1)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x1, x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga(x1, x3)
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x1, x3, x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x5)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3)  =  U26_ga(x1, x3)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg(x1, x3, x4)
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x1, x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x1, x3, x4, x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x1, x2, x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x2, x3, x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x1, x2, x3, x4, x5, x6, x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg(x1, x2, x3, x4, x5, x6)
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x1, x2, x3, x4, x5, x6, x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x1, x2, x3, x4, x5, x6)
U67_gg(x1, x2)  =  U67_gg(x1, x2)
U68_gg(x1, x2, x3)  =  U68_gg(x2, x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x1, x2, x3, x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x1, x2, x3, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x1, x2, x3, x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x1, x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x1, x2, x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x1, x2, x3, x4)
U56_ag(x1, x2, x3)  =  U56_ag(x2, x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x3, x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x4, x5, x6, x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x2, x4, x6, x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x1, x2, x4, x5, x6, x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x1, x2, x3, x4, x6, x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x1, x2, x3, x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x1, x2, x3, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x1, x2, x3, x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x1, x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x1, x2, x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x1, x2, x3, x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x1, x2, x3, x4, x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x1, x2, x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x1, x2, x3)
U82_gg(x1, x2, x3)  =  U82_gg(x1, x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x1, x2, x3)
U84_gg(x1, x2, x3)  =  U84_gg(x1, x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x1, x2, x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x2, x3, x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x3, x4, x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg(x3, x4)
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x3, x4, x5)
U62_ag(x1, x2, x3)  =  U62_ag(x1, x2, x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x2, x3, x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x1, x2, x3, x4, x5, x6, x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x1, x2, x3, x4, x5, x6, x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x2, x3, x4, x5, x6)
U67_ag(x1, x2)  =  U67_ag(x1, x2)
U68_ag(x1, x2, x3)  =  U68_ag(x2, x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x3, x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x3, x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x3, x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x3, x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x3, x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x3, x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x3, x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x3, x4)
U81_ag(x1, x2, x3)  =  U81_ag(x2, x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x2, x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x2, x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x1, x2, x3, x4, x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg(x1, x2, x3, x4)
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag(x1, x2, x3, x4, x6)
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x1, x2, x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x1, x2, x3, x4, x6, x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x1, x2, x4, x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag(x1, x2, x4)
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x1, x2, x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x1, x2, x4, x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag(x2, x4, x6)
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x2, x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x2, x4, x6, x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x2, x4, x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag(x2, x4)
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x2, x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x2, x4, x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x1, x2, x3, x4, x5, x6, x7)
p90_out_ga(x1, x2)  =  p90_out_ga(x1)
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x1, x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x1, x2, x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x1, x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x1, x2, x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x1, x2, x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x1, x2, x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x1, x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x1, x2, x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x5)
U42_ga(x1, x2, x3)  =  U42_ga(x1, x3)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
U44_ga(x1, x2, x3)  =  U44_ga(x1, x3)
p9_out_ga(x1, x2)  =  p9_out_ga(x1)
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x1, x2, x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x1, x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x1, x2, x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x1, x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x1, x2, x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x1, x2, x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x1, x2, x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x2, x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x5)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3)  =  U22_ga(x1, x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(4) Obligation:

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

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag(x2)
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg(x1, x2)
U54_gg(x1, x2)  =  U54_gg(x1, x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x1, x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x1, x2, x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x2, x3, x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x1, x2, x3, x4, x5, x6, x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x1, x2, x3, x4, x5, x6, x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x1, x2, x3, x4, x5, x6, x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x1, x2, x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x1, x2, x3, x4, x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x1, x2, x3, x4, x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x1, x2, x3, x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x1, x3, x4, x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga(x1)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x1, x3, x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga(x1)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x1, x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga(x1, x3)
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x1, x3, x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x5)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3)  =  U26_ga(x1, x3)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg(x1, x3, x4)
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x1, x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x1, x3, x4, x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x1, x2, x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x2, x3, x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x1, x2, x3, x4, x5, x6, x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg(x1, x2, x3, x4, x5, x6)
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x1, x2, x3, x4, x5, x6, x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x1, x2, x3, x4, x5, x6)
U67_gg(x1, x2)  =  U67_gg(x1, x2)
U68_gg(x1, x2, x3)  =  U68_gg(x2, x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x1, x2, x3, x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x1, x2, x3, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x1, x2, x3, x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x1, x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x1, x2, x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x1, x2, x3, x4)
U56_ag(x1, x2, x3)  =  U56_ag(x2, x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x3, x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x4, x5, x6, x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x2, x4, x6, x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x1, x2, x4, x5, x6, x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x1, x2, x3, x4, x6, x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x1, x2, x3, x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x1, x2, x3, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x1, x2, x3, x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x1, x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x1, x2, x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x1, x2, x3, x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x1, x2, x3, x4, x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x1, x2, x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x1, x2, x3)
U82_gg(x1, x2, x3)  =  U82_gg(x1, x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x1, x2, x3)
U84_gg(x1, x2, x3)  =  U84_gg(x1, x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x1, x2, x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x2, x3, x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x3, x4, x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg(x3, x4)
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x3, x4, x5)
U62_ag(x1, x2, x3)  =  U62_ag(x1, x2, x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x2, x3, x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x1, x2, x3, x4, x5, x6, x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x1, x2, x3, x4, x5, x6, x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x2, x3, x4, x5, x6)
U67_ag(x1, x2)  =  U67_ag(x1, x2)
U68_ag(x1, x2, x3)  =  U68_ag(x2, x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x3, x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x3, x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x3, x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x3, x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x3, x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x3, x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x3, x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x3, x4)
U81_ag(x1, x2, x3)  =  U81_ag(x2, x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x2, x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x2, x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x1, x2, x3, x4, x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg(x1, x2, x3, x4)
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag(x1, x2, x3, x4, x6)
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x1, x2, x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x1, x2, x3, x4, x6, x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x1, x2, x4, x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag(x1, x2, x4)
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x1, x2, x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x1, x2, x4, x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag(x2, x4, x6)
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x2, x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x2, x4, x6, x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x2, x4, x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag(x2, x4)
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x2, x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x2, x4, x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x1, x2, x3, x4, x5, x6, x7)
p90_out_ga(x1, x2)  =  p90_out_ga(x1)
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x1, x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x1, x2, x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x1, x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x1, x2, x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x1, x2, x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x1, x2, x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x1, x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x1, x2, x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x5)
U42_ga(x1, x2, x3)  =  U42_ga(x1, x3)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
U44_ga(x1, x2, x3)  =  U44_ga(x1, x3)
p9_out_ga(x1, x2)  =  p9_out_ga(x1)
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x1, x2, x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x1, x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x1, x2, x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x1, x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x1, x2, x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x1, x2, x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x1, x2, x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x2, x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x5)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3)  =  U22_ga(x1, x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)

(5) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:

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)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag(x2)
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg(x1, x2)
U54_gg(x1, x2)  =  U54_gg(x1, x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x1, x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x1, x2, x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x2, x3, x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x1, x2, x3, x4, x5, x6, x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x1, x2, x3, x4, x5, x6, x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x1, x2, x3, x4, x5, x6, x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x1, x2, x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x1, x2, x3, x4, x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x1, x2, x3, x4, x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x1, x2, x3, x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x1, x3, x4, x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga(x1)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x1, x3, x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga(x1)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x1, x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga(x1, x3)
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x1, x3, x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x5)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3)  =  U26_ga(x1, x3)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg(x1, x3, x4)
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x1, x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x1, x3, x4, x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x1, x2, x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x2, x3, x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x1, x2, x3, x4, x5, x6, x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg(x1, x2, x3, x4, x5, x6)
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x1, x2, x3, x4, x5, x6, x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x1, x2, x3, x4, x5, x6)
U67_gg(x1, x2)  =  U67_gg(x1, x2)
U68_gg(x1, x2, x3)  =  U68_gg(x2, x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x1, x2, x3, x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x1, x2, x3, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x1, x2, x3, x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x1, x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x1, x2, x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x1, x2, x3, x4)
U56_ag(x1, x2, x3)  =  U56_ag(x2, x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x3, x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x4, x5, x6, x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x2, x4, x6, x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x1, x2, x4, x5, x6, x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x1, x2, x3, x4, x6, x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x1, x2, x3, x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x1, x2, x3, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x1, x2, x3, x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x1, x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x1, x2, x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x1, x2, x3, x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x1, x2, x3, x4, x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x1, x2, x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x1, x2, x3)
U82_gg(x1, x2, x3)  =  U82_gg(x1, x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x1, x2, x3)
U84_gg(x1, x2, x3)  =  U84_gg(x1, x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x1, x2, x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x2, x3, x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x3, x4, x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg(x3, x4)
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x3, x4, x5)
U62_ag(x1, x2, x3)  =  U62_ag(x1, x2, x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x2, x3, x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x1, x2, x3, x4, x5, x6, x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x1, x2, x3, x4, x5, x6, x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x2, x3, x4, x5, x6)
U67_ag(x1, x2)  =  U67_ag(x1, x2)
U68_ag(x1, x2, x3)  =  U68_ag(x2, x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x3, x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x3, x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x3, x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x3, x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x3, x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x3, x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x3, x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x3, x4)
U81_ag(x1, x2, x3)  =  U81_ag(x2, x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x2, x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x2, x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x1, x2, x3, x4, x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg(x1, x2, x3, x4)
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag(x1, x2, x3, x4, x6)
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x1, x2, x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x1, x2, x3, x4, x6, x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x1, x2, x4, x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag(x1, x2, x4)
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x1, x2, x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x1, x2, x4, x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag(x2, x4, x6)
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x2, x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x2, x4, x6, x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x2, x4, x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag(x2, x4)
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x2, x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x2, x4, x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x1, x2, x3, x4, x5, x6, x7)
p90_out_ga(x1, x2)  =  p90_out_ga(x1)
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x1, x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x1, x2, x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x1, x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x1, x2, x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x1, x2, x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x1, x2, x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x1, x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x1, x2, x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x5)
U42_ga(x1, x2, x3)  =  U42_ga(x1, x3)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
U44_ga(x1, x2, x3)  =  U44_ga(x1, x3)
p9_out_ga(x1, x2)  =  p9_out_ga(x1)
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x1, x2, x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x1, x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x1, x2, x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x1, x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x1, x2, x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x1, x2, x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x1, x2, x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x2, x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x5)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3)  =  U22_ga(x1, x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P1_IN_AG(x1, x2)  =  P1_IN_AG(x2)
U54_AG(x1, x2)  =  U54_AG(x2)
P9_IN_AA(x1, x2)  =  P9_IN_AA
U6_AA(x1)  =  U6_AA(x1)
P1_IN_GG(x1, x2)  =  P1_IN_GG(x1, x2)
U54_GG(x1, x2)  =  U54_GG(x1, x2)
P9_IN_GA(x1, x2)  =  P9_IN_GA(x1)
U6_GA(x1)  =  U6_GA(x1)
U55_GG(x1, x2)  =  U55_GG(x1, x2)
P90_IN_GA(x1, x2)  =  P90_IN_GA(x1)
U28_GA(x1)  =  U28_GA(x1)
U56_GG(x1, x2, x3)  =  U56_GG(x1, x2, x3)
U57_GG(x1, x2, x3, x4)  =  U57_GG(x2, x3, x4)
U58_GG(x1, x2, x3, x4, x5, x6, x7)  =  U58_GG(x1, x2, x3, x4, x5, x6, x7)
P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)
U45_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U45_GGGGGG(x1, x2, x3, x4, x5, x6, x7)
U59_GG(x1, x2, x3, x4, x5, x6, x7)  =  U59_GG(x1, x2, x3, x4, x5, x6, x7)
U46_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGGG(x1, x2, x3, x4, x5, x6, x7)
U60_GG(x1, x2, x3, x4, x5)  =  U60_GG(x1, x2, x3, x4, x5)
P137_IN_GGGG(x1, x2, x3, x4)  =  P137_IN_GGGG(x1, x2, x3, x4)
U48_GGGG(x1, x2, x3, x4, x5)  =  U48_GGGG(x1, x2, x3, x4, x5)
U61_GG(x1, x2, x3, x4)  =  U61_GG(x1, x2, x3, x4)
P150_IN_GAGG(x1, x2, x3, x4)  =  P150_IN_GAGG(x1, x3, x4)
U51_GAGG(x1, x2, x3, x4, x5)  =  U51_GAGG(x1, x3, x4, x5)
P60_IN_GA(x1, x2)  =  P60_IN_GA(x1)
U23_GA(x1, x2, x3, x4, x5)  =  U23_GA(x1, x2, x5)
P39_IN_GAGA(x1, x2, x3, x4)  =  P39_IN_GAGA(x1, x3)
U3_GAGA(x1, x2, x3, x4, x5)  =  U3_GAGA(x1, x3, x5)
P24_IN_GA(x1, x2)  =  P24_IN_GA(x1)
U1_GA(x1, x2, x3, x4, x5)  =  U1_GA(x1, x2, x5)
U4_GAGA(x1, x2, x3, x4, x5)  =  U4_GAGA(x1, x3, x5)
U2_GA(x1, x2, x3, x4, x5)  =  U2_GA(x1, x2, x5)
U5_GAGA(x1, x2, x3, x4, x5)  =  U5_GAGA(x1, x3, x5)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x1, x2, x5)
U25_GA(x1, x2, x3)  =  U25_GA(x1, x3)
U26_GA(x1, x2, x3)  =  U26_GA(x1, x3)
U27_GA(x1, x2, x3)  =  U27_GA(x1, x3)
P24_IN_AA(x1, x2)  =  P24_IN_AA
U1_AA(x1, x2, x3, x4, x5)  =  U1_AA(x5)
P39_IN_AAAA(x1, x2, x3, x4)  =  P39_IN_AAAA
U3_AAAA(x1, x2, x3, x4, x5)  =  U3_AAAA(x5)
U2_AA(x1, x2, x3, x4, x5)  =  U2_AA(x5)
U4_AAAA(x1, x2, x3, x4, x5)  =  U4_AAAA(x5)
U5_AAAA(x1, x2, x3, x4, x5)  =  U5_AAAA(x5)
U52_GAGG(x1, x2, x3, x4, x5)  =  U52_GAGG(x1, x3, x4, x5)
U53_GAGG(x1, x2, x3, x4, x5)  =  U53_GAGG(x1, x3, x4, x5)
U55_AG(x1, x2)  =  U55_AG(x2)
P90_IN_AA(x1, x2)  =  P90_IN_AA
U28_AA(x1)  =  U28_AA(x1)
U62_GG(x1, x2, x3)  =  U62_GG(x1, x2, x3)
U63_GG(x1, x2, x3, x4)  =  U63_GG(x2, x3, x4)
U64_GG(x1, x2, x3, x4, x5, x6, x7)  =  U64_GG(x1, x2, x3, x4, x5, x6, x7)
U65_GG(x1, x2, x3, x4, x5, x6, x7)  =  U65_GG(x1, x2, x3, x4, x5, x6, x7)
U66_GG(x1, x2, x3, x4, x5, x6)  =  U66_GG(x1, x2, x3, x4, x5, x6)
U67_GG(x1, x2)  =  U67_GG(x1, x2)
U68_GG(x1, x2, x3)  =  U68_GG(x2, x3)
U69_GG(x1, x2, x3, x4)  =  U69_GG(x1, x2, x3, x4)
U70_GG(x1, x2, x3, x4)  =  U70_GG(x1, x2, x3, x4)
U71_GG(x1, x2, x3, x4)  =  U71_GG(x1, x2, x3, x4)
U72_GG(x1, x2, x3, x4)  =  U72_GG(x1, x2, x3, x4)
U73_GG(x1, x2, x3, x4, x5)  =  U73_GG(x1, x2, x3, x5)
U74_GG(x1, x2, x3, x4)  =  U74_GG(x1, x2, x3, x4)
U56_AG(x1, x2, x3)  =  U56_AG(x2, x3)
U57_AG(x1, x2, x3, x4)  =  U57_AG(x3, x4)
U58_AG(x1, x2, x3, x4, x5, x6, x7)  =  U58_AG(x4, x5, x6, x7)
P134_IN_AGAGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_AGAGAG(x2, x4, x6)
U45_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U45_AGAGAG(x2, x4, x6, x7)
U59_AG(x1, x2, x3, x4, x5, x6, x7)  =  U59_AG(x1, x2, x4, x5, x6, x7)
P134_IN_GGGGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGAG(x1, x2, x3, x4, x6)
U45_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U45_GGGGAG(x1, x2, x3, x4, x6, x7)
U75_GG(x1, x2, x3, x4)  =  U75_GG(x1, x2, x3, x4)
U76_GG(x1, x2, x3, x4)  =  U76_GG(x1, x2, x3, x4)
U77_GG(x1, x2, x3, x4)  =  U77_GG(x1, x2, x3, x4)
U78_GG(x1, x2, x3, x4)  =  U78_GG(x1, x2, x3, x4)
U79_GG(x1, x2, x3, x4, x5)  =  U79_GG(x1, x2, x3, x5)
U80_GG(x1, x2, x3, x4)  =  U80_GG(x1, x2, x3, x4)
U60_AG(x1, x2, x3, x4, x5)  =  U60_AG(x1, x2, x3, x4, x5)
U49_GGGG(x1, x2, x3, x4, x5)  =  U49_GGGG(x1, x2, x3, x4, x5)
U81_GG(x1, x2, x3)  =  U81_GG(x1, x2, x3)
U82_GG(x1, x2, x3)  =  U82_GG(x1, x2, x3)
U83_GG(x1, x2, x3)  =  U83_GG(x1, x2, x3)
U84_GG(x1, x2, x3)  =  U84_GG(x1, x2, x3)
U85_GG(x1, x2, x3)  =  U85_GG(x1, x2, x3)
U61_AG(x1, x2, x3, x4)  =  U61_AG(x2, x3, x4)
P150_IN_AAGG(x1, x2, x3, x4)  =  P150_IN_AAGG(x3, x4)
U51_AAGG(x1, x2, x3, x4, x5)  =  U51_AAGG(x3, x4, x5)
P60_IN_AA(x1, x2)  =  P60_IN_AA
U23_AA(x1, x2, x3, x4, x5)  =  U23_AA(x5)
U24_AA(x1, x2, x3, x4, x5)  =  U24_AA(x5)
U25_AA(x1, x2, x3)  =  U25_AA(x3)
U26_AA(x1, x2, x3)  =  U26_AA(x3)
U27_AA(x1, x2, x3)  =  U27_AA(x3)
U52_AAGG(x1, x2, x3, x4, x5)  =  U52_AAGG(x3, x4, x5)
U53_AAGG(x1, x2, x3, x4, x5)  =  U53_AAGG(x3, x4, x5)
U62_AG(x1, x2, x3)  =  U62_AG(x1, x2, x3)
U63_AG(x1, x2, x3, x4)  =  U63_AG(x2, x3, x4)
U64_AG(x1, x2, x3, x4, x5, x6, x7)  =  U64_AG(x1, x2, x3, x4, x5, x6, x7)
U65_AG(x1, x2, x3, x4, x5, x6, x7)  =  U65_AG(x1, x2, x3, x4, x5, x6, x7)
U66_AG(x1, x2, x3, x4, x5, x6)  =  U66_AG(x2, x3, x4, x5, x6)
U67_AG(x1, x2)  =  U67_AG(x1, x2)
U68_AG(x1, x2, x3)  =  U68_AG(x2, x3)
U69_AG(x1, x2, x3, x4)  =  U69_AG(x3, x4)
U70_AG(x1, x2, x3, x4)  =  U70_AG(x3, x4)
U71_AG(x1, x2, x3, x4)  =  U71_AG(x3, x4)
U72_AG(x1, x2, x3, x4)  =  U72_AG(x3, x4)
U73_AG(x1, x2, x3, x4, x5)  =  U73_AG(x3, x5)
U74_AG(x1, x2, x3, x4)  =  U74_AG(x3, x4)
U75_AG(x1, x2, x3, x4)  =  U75_AG(x3, x4)
U76_AG(x1, x2, x3, x4)  =  U76_AG(x3, x4)
U77_AG(x1, x2, x3, x4)  =  U77_AG(x3, x4)
U78_AG(x1, x2, x3, x4)  =  U78_AG(x3, x4)
U79_AG(x1, x2, x3, x4, x5)  =  U79_AG(x3, x5)
U80_AG(x1, x2, x3, x4)  =  U80_AG(x3, x4)
U81_AG(x1, x2, x3)  =  U81_AG(x2, x3)
U82_AG(x1, x2, x3)  =  U82_AG(x2, x3)
U83_AG(x1, x2, x3)  =  U83_AG(x2, x3)
U84_AG(x1, x2, x3)  =  U84_AG(x2, x3)
U85_AG(x1, x2, x3)  =  U85_AG(x2, x3)
U50_GGGG(x1, x2, x3, x4, x5)  =  U50_GGGG(x1, x2, x3, x4, x5)
U46_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGAG(x1, x2, x3, x4, x6, x7)
U47_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U47_GGGGAG(x1, x2, x3, x4, x6, x7)
P137_IN_GGAG(x1, x2, x3, x4)  =  P137_IN_GGAG(x1, x2, x4)
U48_GGAG(x1, x2, x3, x4, x5)  =  U48_GGAG(x1, x2, x4, x5)
U49_GGAG(x1, x2, x3, x4, x5)  =  U49_GGAG(x1, x2, x4, x5)
U50_GGAG(x1, x2, x3, x4, x5)  =  U50_GGAG(x1, x2, x4, x5)
U46_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_AGAGAG(x2, x4, x6, x7)
U47_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U47_AGAGAG(x2, x4, x6, x7)
P137_IN_AGAG(x1, x2, x3, x4)  =  P137_IN_AGAG(x2, x4)
U48_AGAG(x1, x2, x3, x4, x5)  =  U48_AGAG(x2, x4, x5)
U49_AGAG(x1, x2, x3, x4, x5)  =  U49_AGAG(x2, x4, x5)
U50_AGAG(x1, x2, x3, x4, x5)  =  U50_AGAG(x2, x4, x5)
U29_AA(x1, x2)  =  U29_AA(x2)
U30_AA(x1, x2, x3, x4, x5)  =  U30_AA(x5)
U31_AA(x1, x2, x3, x4, x5)  =  U31_AA(x5)
U32_AA(x1, x2, x3, x4, x5)  =  U32_AA(x5)
U33_AA(x1, x2, x3, x4, x5)  =  U33_AA(x5)
U34_AA(x1, x2, x3, x4, x5)  =  U34_AA(x5)
U35_AA(x1, x2, x3, x4, x5)  =  U35_AA(x5)
U36_AA(x1, x2, x3, x4, x5)  =  U36_AA(x5)
U37_AA(x1, x2, x3, x4, x5)  =  U37_AA(x5)
U38_AA(x1, x2, x3, x4, x5)  =  U38_AA(x5)
U39_AA(x1, x2, x3, x4, x5)  =  U39_AA(x5)
U40_AA(x1, x2, x3, x4, x5)  =  U40_AA(x5)
U41_AA(x1, x2, x3, x4, x5)  =  U41_AA(x5)
U42_AA(x1, x2, x3)  =  U42_AA(x3)
U43_AA(x1, x2, x3)  =  U43_AA(x3)
U44_AA(x1, x2, x3)  =  U44_AA(x3)
U47_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U47_GGGGGG(x1, x2, x3, x4, x5, x6, x7)
U29_GA(x1, x2)  =  U29_GA(x2)
U30_GA(x1, x2, x3, x4, x5)  =  U30_GA(x1, x2, x5)
U31_GA(x1, x2, x3, x4, x5)  =  U31_GA(x1, x2, x5)
U32_GA(x1, x2, x3, x4, x5)  =  U32_GA(x1, x2, x5)
U33_GA(x1, x2, x3, x4, x5)  =  U33_GA(x1, x2, x5)
U34_GA(x1, x2, x3, x4, x5)  =  U34_GA(x1, x2, x5)
U35_GA(x1, x2, x3, x4, x5)  =  U35_GA(x1, x2, x5)
U36_GA(x1, x2, x3, x4, x5)  =  U36_GA(x1, x2, x5)
U37_GA(x1, x2, x3, x4, x5)  =  U37_GA(x1, x2, x5)
U38_GA(x1, x2, x3, x4, x5)  =  U38_GA(x1, x2, x5)
U39_GA(x1, x2, x3, x4, x5)  =  U39_GA(x1, x2, x5)
U40_GA(x1, x2, x3, x4, x5)  =  U40_GA(x1, x2, x5)
U41_GA(x1, x2, x3, x4, x5)  =  U41_GA(x1, x2, x5)
U42_GA(x1, x2, x3)  =  U42_GA(x1, x3)
U43_GA(x1, x2, x3)  =  U43_GA(x1, x3)
U44_GA(x1, x2, x3)  =  U44_GA(x1, x3)
U7_GA(x1, x2)  =  U7_GA(x2)
U8_GA(x1, x2, x3, x4, x5)  =  U8_GA(x1, x2, x5)
U9_GA(x1, x2, x3, x4, x5)  =  U9_GA(x1, x2, x5)
U10_GA(x1, x2, x3, x4, x5)  =  U10_GA(x1, x2, x5)
U11_GA(x1, x2, x3, x4, x5)  =  U11_GA(x1, x2, x5)
U12_GA(x1, x2, x3, x4, x5)  =  U12_GA(x1, x2, x5)
U13_GA(x1, x2, x3, x4, x5)  =  U13_GA(x1, x2, x5)
U14_GA(x1, x2, x3, x4, x5)  =  U14_GA(x1, x2, x5)
U15_GA(x1, x2, x3, x4, x5)  =  U15_GA(x1, x2, x5)
U16_GA(x1, x2, x3, x4, x5)  =  U16_GA(x1, x2, x5)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x2, x5)
U18_GA(x1, x2, x3, x4, x5)  =  U18_GA(x1, x2, x5)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x2, x5)
U20_GA(x1, x2, x3)  =  U20_GA(x1, x3)
U21_GA(x1, x2, x3)  =  U21_GA(x1, x3)
U22_GA(x1, x2, x3)  =  U22_GA(x1, x3)
U7_AA(x1, x2)  =  U7_AA(x2)
U8_AA(x1, x2, x3, x4, x5)  =  U8_AA(x5)
U9_AA(x1, x2, x3, x4, x5)  =  U9_AA(x5)
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)
U11_AA(x1, x2, x3, x4, x5)  =  U11_AA(x5)
U12_AA(x1, x2, x3, x4, x5)  =  U12_AA(x5)
U13_AA(x1, x2, x3, x4, x5)  =  U13_AA(x5)
U14_AA(x1, x2, x3, x4, x5)  =  U14_AA(x5)
U15_AA(x1, x2, x3, x4, x5)  =  U15_AA(x5)
U16_AA(x1, x2, x3, x4, x5)  =  U16_AA(x5)
U17_AA(x1, x2, x3, x4, x5)  =  U17_AA(x5)
U18_AA(x1, x2, x3, x4, x5)  =  U18_AA(x5)
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x5)
U20_AA(x1, x2, x3)  =  U20_AA(x3)
U21_AA(x1, x2, x3)  =  U21_AA(x3)
U22_AA(x1, x2, x3)  =  U22_AA(x3)

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

(6) Obligation:

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

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)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag(x2)
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg(x1, x2)
U54_gg(x1, x2)  =  U54_gg(x1, x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x1, x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x1, x2, x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x2, x3, x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x1, x2, x3, x4, x5, x6, x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x1, x2, x3, x4, x5, x6, x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x1, x2, x3, x4, x5, x6, x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x1, x2, x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x1, x2, x3, x4, x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x1, x2, x3, x4, x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x1, x2, x3, x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x1, x3, x4, x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga(x1)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x1, x3, x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga(x1)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x1, x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga(x1, x3)
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x1, x3, x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x5)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3)  =  U26_ga(x1, x3)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg(x1, x3, x4)
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x1, x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x1, x3, x4, x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x1, x2, x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x2, x3, x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x1, x2, x3, x4, x5, x6, x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg(x1, x2, x3, x4, x5, x6)
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x1, x2, x3, x4, x5, x6, x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x1, x2, x3, x4, x5, x6)
U67_gg(x1, x2)  =  U67_gg(x1, x2)
U68_gg(x1, x2, x3)  =  U68_gg(x2, x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x1, x2, x3, x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x1, x2, x3, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x1, x2, x3, x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x1, x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x1, x2, x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x1, x2, x3, x4)
U56_ag(x1, x2, x3)  =  U56_ag(x2, x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x3, x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x4, x5, x6, x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x2, x4, x6, x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x1, x2, x4, x5, x6, x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x1, x2, x3, x4, x6, x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x1, x2, x3, x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x1, x2, x3, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x1, x2, x3, x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x1, x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x1, x2, x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x1, x2, x3, x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x1, x2, x3, x4, x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x1, x2, x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x1, x2, x3)
U82_gg(x1, x2, x3)  =  U82_gg(x1, x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x1, x2, x3)
U84_gg(x1, x2, x3)  =  U84_gg(x1, x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x1, x2, x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x2, x3, x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x3, x4, x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg(x3, x4)
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x3, x4, x5)
U62_ag(x1, x2, x3)  =  U62_ag(x1, x2, x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x2, x3, x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x1, x2, x3, x4, x5, x6, x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x1, x2, x3, x4, x5, x6, x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x2, x3, x4, x5, x6)
U67_ag(x1, x2)  =  U67_ag(x1, x2)
U68_ag(x1, x2, x3)  =  U68_ag(x2, x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x3, x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x3, x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x3, x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x3, x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x3, x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x3, x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x3, x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x3, x4)
U81_ag(x1, x2, x3)  =  U81_ag(x2, x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x2, x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x2, x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x1, x2, x3, x4, x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg(x1, x2, x3, x4)
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag(x1, x2, x3, x4, x6)
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x1, x2, x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x1, x2, x3, x4, x6, x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x1, x2, x4, x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag(x1, x2, x4)
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x1, x2, x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x1, x2, x4, x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag(x2, x4, x6)
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x2, x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x2, x4, x6, x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x2, x4, x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag(x2, x4)
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x2, x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x2, x4, x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x1, x2, x3, x4, x5, x6, x7)
p90_out_ga(x1, x2)  =  p90_out_ga(x1)
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x1, x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x1, x2, x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x1, x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x1, x2, x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x1, x2, x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x1, x2, x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x1, x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x1, x2, x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x5)
U42_ga(x1, x2, x3)  =  U42_ga(x1, x3)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
U44_ga(x1, x2, x3)  =  U44_ga(x1, x3)
p9_out_ga(x1, x2)  =  p9_out_ga(x1)
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x1, x2, x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x1, x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x1, x2, x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x1, x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x1, x2, x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x1, x2, x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x1, x2, x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x2, x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x5)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3)  =  U22_ga(x1, x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P1_IN_AG(x1, x2)  =  P1_IN_AG(x2)
U54_AG(x1, x2)  =  U54_AG(x2)
P9_IN_AA(x1, x2)  =  P9_IN_AA
U6_AA(x1)  =  U6_AA(x1)
P1_IN_GG(x1, x2)  =  P1_IN_GG(x1, x2)
U54_GG(x1, x2)  =  U54_GG(x1, x2)
P9_IN_GA(x1, x2)  =  P9_IN_GA(x1)
U6_GA(x1)  =  U6_GA(x1)
U55_GG(x1, x2)  =  U55_GG(x1, x2)
P90_IN_GA(x1, x2)  =  P90_IN_GA(x1)
U28_GA(x1)  =  U28_GA(x1)
U56_GG(x1, x2, x3)  =  U56_GG(x1, x2, x3)
U57_GG(x1, x2, x3, x4)  =  U57_GG(x2, x3, x4)
U58_GG(x1, x2, x3, x4, x5, x6, x7)  =  U58_GG(x1, x2, x3, x4, x5, x6, x7)
P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)
U45_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U45_GGGGGG(x1, x2, x3, x4, x5, x6, x7)
U59_GG(x1, x2, x3, x4, x5, x6, x7)  =  U59_GG(x1, x2, x3, x4, x5, x6, x7)
U46_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGGG(x1, x2, x3, x4, x5, x6, x7)
U60_GG(x1, x2, x3, x4, x5)  =  U60_GG(x1, x2, x3, x4, x5)
P137_IN_GGGG(x1, x2, x3, x4)  =  P137_IN_GGGG(x1, x2, x3, x4)
U48_GGGG(x1, x2, x3, x4, x5)  =  U48_GGGG(x1, x2, x3, x4, x5)
U61_GG(x1, x2, x3, x4)  =  U61_GG(x1, x2, x3, x4)
P150_IN_GAGG(x1, x2, x3, x4)  =  P150_IN_GAGG(x1, x3, x4)
U51_GAGG(x1, x2, x3, x4, x5)  =  U51_GAGG(x1, x3, x4, x5)
P60_IN_GA(x1, x2)  =  P60_IN_GA(x1)
U23_GA(x1, x2, x3, x4, x5)  =  U23_GA(x1, x2, x5)
P39_IN_GAGA(x1, x2, x3, x4)  =  P39_IN_GAGA(x1, x3)
U3_GAGA(x1, x2, x3, x4, x5)  =  U3_GAGA(x1, x3, x5)
P24_IN_GA(x1, x2)  =  P24_IN_GA(x1)
U1_GA(x1, x2, x3, x4, x5)  =  U1_GA(x1, x2, x5)
U4_GAGA(x1, x2, x3, x4, x5)  =  U4_GAGA(x1, x3, x5)
U2_GA(x1, x2, x3, x4, x5)  =  U2_GA(x1, x2, x5)
U5_GAGA(x1, x2, x3, x4, x5)  =  U5_GAGA(x1, x3, x5)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x1, x2, x5)
U25_GA(x1, x2, x3)  =  U25_GA(x1, x3)
U26_GA(x1, x2, x3)  =  U26_GA(x1, x3)
U27_GA(x1, x2, x3)  =  U27_GA(x1, x3)
P24_IN_AA(x1, x2)  =  P24_IN_AA
U1_AA(x1, x2, x3, x4, x5)  =  U1_AA(x5)
P39_IN_AAAA(x1, x2, x3, x4)  =  P39_IN_AAAA
U3_AAAA(x1, x2, x3, x4, x5)  =  U3_AAAA(x5)
U2_AA(x1, x2, x3, x4, x5)  =  U2_AA(x5)
U4_AAAA(x1, x2, x3, x4, x5)  =  U4_AAAA(x5)
U5_AAAA(x1, x2, x3, x4, x5)  =  U5_AAAA(x5)
U52_GAGG(x1, x2, x3, x4, x5)  =  U52_GAGG(x1, x3, x4, x5)
U53_GAGG(x1, x2, x3, x4, x5)  =  U53_GAGG(x1, x3, x4, x5)
U55_AG(x1, x2)  =  U55_AG(x2)
P90_IN_AA(x1, x2)  =  P90_IN_AA
U28_AA(x1)  =  U28_AA(x1)
U62_GG(x1, x2, x3)  =  U62_GG(x1, x2, x3)
U63_GG(x1, x2, x3, x4)  =  U63_GG(x2, x3, x4)
U64_GG(x1, x2, x3, x4, x5, x6, x7)  =  U64_GG(x1, x2, x3, x4, x5, x6, x7)
U65_GG(x1, x2, x3, x4, x5, x6, x7)  =  U65_GG(x1, x2, x3, x4, x5, x6, x7)
U66_GG(x1, x2, x3, x4, x5, x6)  =  U66_GG(x1, x2, x3, x4, x5, x6)
U67_GG(x1, x2)  =  U67_GG(x1, x2)
U68_GG(x1, x2, x3)  =  U68_GG(x2, x3)
U69_GG(x1, x2, x3, x4)  =  U69_GG(x1, x2, x3, x4)
U70_GG(x1, x2, x3, x4)  =  U70_GG(x1, x2, x3, x4)
U71_GG(x1, x2, x3, x4)  =  U71_GG(x1, x2, x3, x4)
U72_GG(x1, x2, x3, x4)  =  U72_GG(x1, x2, x3, x4)
U73_GG(x1, x2, x3, x4, x5)  =  U73_GG(x1, x2, x3, x5)
U74_GG(x1, x2, x3, x4)  =  U74_GG(x1, x2, x3, x4)
U56_AG(x1, x2, x3)  =  U56_AG(x2, x3)
U57_AG(x1, x2, x3, x4)  =  U57_AG(x3, x4)
U58_AG(x1, x2, x3, x4, x5, x6, x7)  =  U58_AG(x4, x5, x6, x7)
P134_IN_AGAGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_AGAGAG(x2, x4, x6)
U45_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U45_AGAGAG(x2, x4, x6, x7)
U59_AG(x1, x2, x3, x4, x5, x6, x7)  =  U59_AG(x1, x2, x4, x5, x6, x7)
P134_IN_GGGGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGAG(x1, x2, x3, x4, x6)
U45_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U45_GGGGAG(x1, x2, x3, x4, x6, x7)
U75_GG(x1, x2, x3, x4)  =  U75_GG(x1, x2, x3, x4)
U76_GG(x1, x2, x3, x4)  =  U76_GG(x1, x2, x3, x4)
U77_GG(x1, x2, x3, x4)  =  U77_GG(x1, x2, x3, x4)
U78_GG(x1, x2, x3, x4)  =  U78_GG(x1, x2, x3, x4)
U79_GG(x1, x2, x3, x4, x5)  =  U79_GG(x1, x2, x3, x5)
U80_GG(x1, x2, x3, x4)  =  U80_GG(x1, x2, x3, x4)
U60_AG(x1, x2, x3, x4, x5)  =  U60_AG(x1, x2, x3, x4, x5)
U49_GGGG(x1, x2, x3, x4, x5)  =  U49_GGGG(x1, x2, x3, x4, x5)
U81_GG(x1, x2, x3)  =  U81_GG(x1, x2, x3)
U82_GG(x1, x2, x3)  =  U82_GG(x1, x2, x3)
U83_GG(x1, x2, x3)  =  U83_GG(x1, x2, x3)
U84_GG(x1, x2, x3)  =  U84_GG(x1, x2, x3)
U85_GG(x1, x2, x3)  =  U85_GG(x1, x2, x3)
U61_AG(x1, x2, x3, x4)  =  U61_AG(x2, x3, x4)
P150_IN_AAGG(x1, x2, x3, x4)  =  P150_IN_AAGG(x3, x4)
U51_AAGG(x1, x2, x3, x4, x5)  =  U51_AAGG(x3, x4, x5)
P60_IN_AA(x1, x2)  =  P60_IN_AA
U23_AA(x1, x2, x3, x4, x5)  =  U23_AA(x5)
U24_AA(x1, x2, x3, x4, x5)  =  U24_AA(x5)
U25_AA(x1, x2, x3)  =  U25_AA(x3)
U26_AA(x1, x2, x3)  =  U26_AA(x3)
U27_AA(x1, x2, x3)  =  U27_AA(x3)
U52_AAGG(x1, x2, x3, x4, x5)  =  U52_AAGG(x3, x4, x5)
U53_AAGG(x1, x2, x3, x4, x5)  =  U53_AAGG(x3, x4, x5)
U62_AG(x1, x2, x3)  =  U62_AG(x1, x2, x3)
U63_AG(x1, x2, x3, x4)  =  U63_AG(x2, x3, x4)
U64_AG(x1, x2, x3, x4, x5, x6, x7)  =  U64_AG(x1, x2, x3, x4, x5, x6, x7)
U65_AG(x1, x2, x3, x4, x5, x6, x7)  =  U65_AG(x1, x2, x3, x4, x5, x6, x7)
U66_AG(x1, x2, x3, x4, x5, x6)  =  U66_AG(x2, x3, x4, x5, x6)
U67_AG(x1, x2)  =  U67_AG(x1, x2)
U68_AG(x1, x2, x3)  =  U68_AG(x2, x3)
U69_AG(x1, x2, x3, x4)  =  U69_AG(x3, x4)
U70_AG(x1, x2, x3, x4)  =  U70_AG(x3, x4)
U71_AG(x1, x2, x3, x4)  =  U71_AG(x3, x4)
U72_AG(x1, x2, x3, x4)  =  U72_AG(x3, x4)
U73_AG(x1, x2, x3, x4, x5)  =  U73_AG(x3, x5)
U74_AG(x1, x2, x3, x4)  =  U74_AG(x3, x4)
U75_AG(x1, x2, x3, x4)  =  U75_AG(x3, x4)
U76_AG(x1, x2, x3, x4)  =  U76_AG(x3, x4)
U77_AG(x1, x2, x3, x4)  =  U77_AG(x3, x4)
U78_AG(x1, x2, x3, x4)  =  U78_AG(x3, x4)
U79_AG(x1, x2, x3, x4, x5)  =  U79_AG(x3, x5)
U80_AG(x1, x2, x3, x4)  =  U80_AG(x3, x4)
U81_AG(x1, x2, x3)  =  U81_AG(x2, x3)
U82_AG(x1, x2, x3)  =  U82_AG(x2, x3)
U83_AG(x1, x2, x3)  =  U83_AG(x2, x3)
U84_AG(x1, x2, x3)  =  U84_AG(x2, x3)
U85_AG(x1, x2, x3)  =  U85_AG(x2, x3)
U50_GGGG(x1, x2, x3, x4, x5)  =  U50_GGGG(x1, x2, x3, x4, x5)
U46_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGAG(x1, x2, x3, x4, x6, x7)
U47_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U47_GGGGAG(x1, x2, x3, x4, x6, x7)
P137_IN_GGAG(x1, x2, x3, x4)  =  P137_IN_GGAG(x1, x2, x4)
U48_GGAG(x1, x2, x3, x4, x5)  =  U48_GGAG(x1, x2, x4, x5)
U49_GGAG(x1, x2, x3, x4, x5)  =  U49_GGAG(x1, x2, x4, x5)
U50_GGAG(x1, x2, x3, x4, x5)  =  U50_GGAG(x1, x2, x4, x5)
U46_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_AGAGAG(x2, x4, x6, x7)
U47_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U47_AGAGAG(x2, x4, x6, x7)
P137_IN_AGAG(x1, x2, x3, x4)  =  P137_IN_AGAG(x2, x4)
U48_AGAG(x1, x2, x3, x4, x5)  =  U48_AGAG(x2, x4, x5)
U49_AGAG(x1, x2, x3, x4, x5)  =  U49_AGAG(x2, x4, x5)
U50_AGAG(x1, x2, x3, x4, x5)  =  U50_AGAG(x2, x4, x5)
U29_AA(x1, x2)  =  U29_AA(x2)
U30_AA(x1, x2, x3, x4, x5)  =  U30_AA(x5)
U31_AA(x1, x2, x3, x4, x5)  =  U31_AA(x5)
U32_AA(x1, x2, x3, x4, x5)  =  U32_AA(x5)
U33_AA(x1, x2, x3, x4, x5)  =  U33_AA(x5)
U34_AA(x1, x2, x3, x4, x5)  =  U34_AA(x5)
U35_AA(x1, x2, x3, x4, x5)  =  U35_AA(x5)
U36_AA(x1, x2, x3, x4, x5)  =  U36_AA(x5)
U37_AA(x1, x2, x3, x4, x5)  =  U37_AA(x5)
U38_AA(x1, x2, x3, x4, x5)  =  U38_AA(x5)
U39_AA(x1, x2, x3, x4, x5)  =  U39_AA(x5)
U40_AA(x1, x2, x3, x4, x5)  =  U40_AA(x5)
U41_AA(x1, x2, x3, x4, x5)  =  U41_AA(x5)
U42_AA(x1, x2, x3)  =  U42_AA(x3)
U43_AA(x1, x2, x3)  =  U43_AA(x3)
U44_AA(x1, x2, x3)  =  U44_AA(x3)
U47_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U47_GGGGGG(x1, x2, x3, x4, x5, x6, x7)
U29_GA(x1, x2)  =  U29_GA(x2)
U30_GA(x1, x2, x3, x4, x5)  =  U30_GA(x1, x2, x5)
U31_GA(x1, x2, x3, x4, x5)  =  U31_GA(x1, x2, x5)
U32_GA(x1, x2, x3, x4, x5)  =  U32_GA(x1, x2, x5)
U33_GA(x1, x2, x3, x4, x5)  =  U33_GA(x1, x2, x5)
U34_GA(x1, x2, x3, x4, x5)  =  U34_GA(x1, x2, x5)
U35_GA(x1, x2, x3, x4, x5)  =  U35_GA(x1, x2, x5)
U36_GA(x1, x2, x3, x4, x5)  =  U36_GA(x1, x2, x5)
U37_GA(x1, x2, x3, x4, x5)  =  U37_GA(x1, x2, x5)
U38_GA(x1, x2, x3, x4, x5)  =  U38_GA(x1, x2, x5)
U39_GA(x1, x2, x3, x4, x5)  =  U39_GA(x1, x2, x5)
U40_GA(x1, x2, x3, x4, x5)  =  U40_GA(x1, x2, x5)
U41_GA(x1, x2, x3, x4, x5)  =  U41_GA(x1, x2, x5)
U42_GA(x1, x2, x3)  =  U42_GA(x1, x3)
U43_GA(x1, x2, x3)  =  U43_GA(x1, x3)
U44_GA(x1, x2, x3)  =  U44_GA(x1, x3)
U7_GA(x1, x2)  =  U7_GA(x2)
U8_GA(x1, x2, x3, x4, x5)  =  U8_GA(x1, x2, x5)
U9_GA(x1, x2, x3, x4, x5)  =  U9_GA(x1, x2, x5)
U10_GA(x1, x2, x3, x4, x5)  =  U10_GA(x1, x2, x5)
U11_GA(x1, x2, x3, x4, x5)  =  U11_GA(x1, x2, x5)
U12_GA(x1, x2, x3, x4, x5)  =  U12_GA(x1, x2, x5)
U13_GA(x1, x2, x3, x4, x5)  =  U13_GA(x1, x2, x5)
U14_GA(x1, x2, x3, x4, x5)  =  U14_GA(x1, x2, x5)
U15_GA(x1, x2, x3, x4, x5)  =  U15_GA(x1, x2, x5)
U16_GA(x1, x2, x3, x4, x5)  =  U16_GA(x1, x2, x5)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x1, x2, x5)
U18_GA(x1, x2, x3, x4, x5)  =  U18_GA(x1, x2, x5)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x1, x2, x5)
U20_GA(x1, x2, x3)  =  U20_GA(x1, x3)
U21_GA(x1, x2, x3)  =  U21_GA(x1, x3)
U22_GA(x1, x2, x3)  =  U22_GA(x1, x3)
U7_AA(x1, x2)  =  U7_AA(x2)
U8_AA(x1, x2, x3, x4, x5)  =  U8_AA(x5)
U9_AA(x1, x2, x3, x4, x5)  =  U9_AA(x5)
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)
U11_AA(x1, x2, x3, x4, x5)  =  U11_AA(x5)
U12_AA(x1, x2, x3, x4, x5)  =  U12_AA(x5)
U13_AA(x1, x2, x3, x4, x5)  =  U13_AA(x5)
U14_AA(x1, x2, x3, x4, x5)  =  U14_AA(x5)
U15_AA(x1, x2, x3, x4, x5)  =  U15_AA(x5)
U16_AA(x1, x2, x3, x4, x5)  =  U16_AA(x5)
U17_AA(x1, x2, x3, x4, x5)  =  U17_AA(x5)
U18_AA(x1, x2, x3, x4, x5)  =  U18_AA(x5)
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x5)
U20_AA(x1, x2, x3)  =  U20_AA(x3)
U21_AA(x1, x2, x3)  =  U21_AA(x3)
U22_AA(x1, x2, x3)  =  U22_AA(x3)

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

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 6 SCCs with 267 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

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

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)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag(x2)
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg(x1, x2)
U54_gg(x1, x2)  =  U54_gg(x1, x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x1, x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x1, x2, x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x2, x3, x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x1, x2, x3, x4, x5, x6, x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x1, x2, x3, x4, x5, x6, x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x1, x2, x3, x4, x5, x6, x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x1, x2, x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x1, x2, x3, x4, x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x1, x2, x3, x4, x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x1, x2, x3, x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x1, x3, x4, x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga(x1)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x1, x3, x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga(x1)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x1, x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga(x1, x3)
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x1, x3, x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x5)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3)  =  U26_ga(x1, x3)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg(x1, x3, x4)
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x1, x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x1, x3, x4, x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x1, x2, x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x2, x3, x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x1, x2, x3, x4, x5, x6, x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg(x1, x2, x3, x4, x5, x6)
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x1, x2, x3, x4, x5, x6, x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x1, x2, x3, x4, x5, x6)
U67_gg(x1, x2)  =  U67_gg(x1, x2)
U68_gg(x1, x2, x3)  =  U68_gg(x2, x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x1, x2, x3, x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x1, x2, x3, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x1, x2, x3, x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x1, x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x1, x2, x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x1, x2, x3, x4)
U56_ag(x1, x2, x3)  =  U56_ag(x2, x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x3, x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x4, x5, x6, x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x2, x4, x6, x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x1, x2, x4, x5, x6, x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x1, x2, x3, x4, x6, x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x1, x2, x3, x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x1, x2, x3, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x1, x2, x3, x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x1, x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x1, x2, x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x1, x2, x3, x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x1, x2, x3, x4, x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x1, x2, x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x1, x2, x3)
U82_gg(x1, x2, x3)  =  U82_gg(x1, x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x1, x2, x3)
U84_gg(x1, x2, x3)  =  U84_gg(x1, x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x1, x2, x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x2, x3, x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x3, x4, x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg(x3, x4)
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x3, x4, x5)
U62_ag(x1, x2, x3)  =  U62_ag(x1, x2, x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x2, x3, x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x1, x2, x3, x4, x5, x6, x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x1, x2, x3, x4, x5, x6, x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x2, x3, x4, x5, x6)
U67_ag(x1, x2)  =  U67_ag(x1, x2)
U68_ag(x1, x2, x3)  =  U68_ag(x2, x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x3, x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x3, x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x3, x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x3, x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x3, x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x3, x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x3, x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x3, x4)
U81_ag(x1, x2, x3)  =  U81_ag(x2, x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x2, x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x2, x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x1, x2, x3, x4, x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg(x1, x2, x3, x4)
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag(x1, x2, x3, x4, x6)
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x1, x2, x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x1, x2, x3, x4, x6, x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x1, x2, x4, x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag(x1, x2, x4)
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x1, x2, x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x1, x2, x4, x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag(x2, x4, x6)
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x2, x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x2, x4, x6, x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x2, x4, x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag(x2, x4)
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x2, x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x2, x4, x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x1, x2, x3, x4, x5, x6, x7)
p90_out_ga(x1, x2)  =  p90_out_ga(x1)
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x1, x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x1, x2, x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x1, x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x1, x2, x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x1, x2, x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x1, x2, x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x1, x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x1, x2, x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x5)
U42_ga(x1, x2, x3)  =  U42_ga(x1, x3)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
U44_ga(x1, x2, x3)  =  U44_ga(x1, x3)
p9_out_ga(x1, x2)  =  p9_out_ga(x1)
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x1, x2, x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x1, x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x1, x2, x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x1, x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x1, x2, x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x1, x2, x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x1, x2, x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x2, x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x5)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3)  =  U22_ga(x1, x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P24_IN_AA(x1, x2)  =  P24_IN_AA
P39_IN_AAAA(x1, x2, x3, x4)  =  P39_IN_AAAA
U4_AAAA(x1, x2, x3, x4, x5)  =  U4_AAAA(x5)

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

(10) UsableRulesProof (EQUIVALENT transformation)

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

(11) Obligation:

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

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)

The TRS R consists of the following rules:

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)

The argument filtering Pi contains the following mapping:
const(x1)  =  const
1  =  1
t  =  t
0  =  0
+(x1, x2)  =  +(x1, x2)
*(x1, x2)  =  *(x1, x2)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
P24_IN_AA(x1, x2)  =  P24_IN_AA
P39_IN_AAAA(x1, x2, x3, x4)  =  P39_IN_AAAA
U4_AAAA(x1, x2, x3, x4, x5)  =  U4_AAAA(x5)

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

(12) PiDPToQDPProof (SOUND transformation)

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

(13) Obligation:

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

P24_IN_AAP39_IN_AAAA
P39_IN_AAAAP24_IN_AA
P39_IN_AAAAU4_AAAA(p24_in_aa)
U4_AAAA(p24_out_aa) → P24_IN_AA

The TRS R consists of the following rules:

p24_in_aap24_out_aa
p24_in_aaU1_aa(p39_in_aaaa)
p24_in_aaU2_aa(p39_in_aaaa)
U1_aa(p39_out_aaaa) → p24_out_aa
U2_aa(p39_out_aaaa) → p24_out_aa
p39_in_aaaaU3_aaaa(p24_in_aa)
p39_in_aaaaU4_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

The set Q consists of the following terms:

p24_in_aa
U1_aa(x0)
U2_aa(x0)
p39_in_aaaa
U3_aaaa(x0)
U4_aaaa(x0)
U5_aaaa(x0)

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

(14) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule P39_IN_AAAAU4_AAAA(p24_in_aa) at position [0] we obtained the following new rules [LPAR04]:

P39_IN_AAAAU4_AAAA(p24_out_aa)
P39_IN_AAAAU4_AAAA(U1_aa(p39_in_aaaa))
P39_IN_AAAAU4_AAAA(U2_aa(p39_in_aaaa))

(15) Obligation:

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

P24_IN_AAP39_IN_AAAA
P39_IN_AAAAP24_IN_AA
U4_AAAA(p24_out_aa) → P24_IN_AA
P39_IN_AAAAU4_AAAA(p24_out_aa)
P39_IN_AAAAU4_AAAA(U1_aa(p39_in_aaaa))
P39_IN_AAAAU4_AAAA(U2_aa(p39_in_aaaa))

The TRS R consists of the following rules:

p24_in_aap24_out_aa
p24_in_aaU1_aa(p39_in_aaaa)
p24_in_aaU2_aa(p39_in_aaaa)
U1_aa(p39_out_aaaa) → p24_out_aa
U2_aa(p39_out_aaaa) → p24_out_aa
p39_in_aaaaU3_aaaa(p24_in_aa)
p39_in_aaaaU4_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

The set Q consists of the following terms:

p24_in_aa
U1_aa(x0)
U2_aa(x0)
p39_in_aaaa
U3_aaaa(x0)
U4_aaaa(x0)
U5_aaaa(x0)

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

(16) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = P39_IN_AAAA evaluates to t =P39_IN_AAAA

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




Rewriting sequence

P39_IN_AAAAP24_IN_AA
with rule P39_IN_AAAAP24_IN_AA at position [] and matcher [ ]

P24_IN_AAP39_IN_AAAA
with rule P24_IN_AAP39_IN_AAAA

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(17) NO

(18) Obligation:

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

P60_IN_AA(d(T125), X316) → P60_IN_AA(T125, X315)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag(x2)
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg(x1, x2)
U54_gg(x1, x2)  =  U54_gg(x1, x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x1, x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x1, x2, x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x2, x3, x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x1, x2, x3, x4, x5, x6, x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x1, x2, x3, x4, x5, x6, x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x1, x2, x3, x4, x5, x6, x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x1, x2, x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x1, x2, x3, x4, x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x1, x2, x3, x4, x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x1, x2, x3, x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x1, x3, x4, x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga(x1)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x1, x3, x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga(x1)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x1, x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga(x1, x3)
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x1, x3, x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x5)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3)  =  U26_ga(x1, x3)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg(x1, x3, x4)
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x1, x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x1, x3, x4, x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x1, x2, x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x2, x3, x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x1, x2, x3, x4, x5, x6, x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg(x1, x2, x3, x4, x5, x6)
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x1, x2, x3, x4, x5, x6, x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x1, x2, x3, x4, x5, x6)
U67_gg(x1, x2)  =  U67_gg(x1, x2)
U68_gg(x1, x2, x3)  =  U68_gg(x2, x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x1, x2, x3, x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x1, x2, x3, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x1, x2, x3, x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x1, x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x1, x2, x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x1, x2, x3, x4)
U56_ag(x1, x2, x3)  =  U56_ag(x2, x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x3, x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x4, x5, x6, x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x2, x4, x6, x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x1, x2, x4, x5, x6, x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x1, x2, x3, x4, x6, x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x1, x2, x3, x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x1, x2, x3, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x1, x2, x3, x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x1, x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x1, x2, x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x1, x2, x3, x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x1, x2, x3, x4, x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x1, x2, x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x1, x2, x3)
U82_gg(x1, x2, x3)  =  U82_gg(x1, x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x1, x2, x3)
U84_gg(x1, x2, x3)  =  U84_gg(x1, x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x1, x2, x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x2, x3, x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x3, x4, x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg(x3, x4)
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x3, x4, x5)
U62_ag(x1, x2, x3)  =  U62_ag(x1, x2, x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x2, x3, x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x1, x2, x3, x4, x5, x6, x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x1, x2, x3, x4, x5, x6, x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x2, x3, x4, x5, x6)
U67_ag(x1, x2)  =  U67_ag(x1, x2)
U68_ag(x1, x2, x3)  =  U68_ag(x2, x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x3, x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x3, x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x3, x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x3, x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x3, x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x3, x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x3, x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x3, x4)
U81_ag(x1, x2, x3)  =  U81_ag(x2, x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x2, x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x2, x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x1, x2, x3, x4, x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg(x1, x2, x3, x4)
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag(x1, x2, x3, x4, x6)
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x1, x2, x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x1, x2, x3, x4, x6, x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x1, x2, x4, x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag(x1, x2, x4)
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x1, x2, x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x1, x2, x4, x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag(x2, x4, x6)
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x2, x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x2, x4, x6, x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x2, x4, x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag(x2, x4)
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x2, x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x2, x4, x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x1, x2, x3, x4, x5, x6, x7)
p90_out_ga(x1, x2)  =  p90_out_ga(x1)
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x1, x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x1, x2, x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x1, x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x1, x2, x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x1, x2, x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x1, x2, x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x1, x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x1, x2, x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x5)
U42_ga(x1, x2, x3)  =  U42_ga(x1, x3)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
U44_ga(x1, x2, x3)  =  U44_ga(x1, x3)
p9_out_ga(x1, x2)  =  p9_out_ga(x1)
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x1, x2, x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x1, x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x1, x2, x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x1, x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x1, x2, x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x1, x2, x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x1, x2, x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x2, x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x5)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3)  =  U22_ga(x1, x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P60_IN_AA(x1, x2)  =  P60_IN_AA

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

(19) UsableRulesProof (EQUIVALENT transformation)

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

(20) Obligation:

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

P60_IN_AA(d(T125), X316) → P60_IN_AA(T125, X315)

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

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

(21) PiDPToQDPProof (SOUND transformation)

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

(22) Obligation:

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

P60_IN_AAP60_IN_AA

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

(23) NonTerminationProof (EQUIVALENT transformation)

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

s = P60_IN_AA evaluates to t =P60_IN_AA

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




Rewriting sequence

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



(24) NO

(25) Obligation:

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

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)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag(x2)
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg(x1, x2)
U54_gg(x1, x2)  =  U54_gg(x1, x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x1, x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x1, x2, x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x2, x3, x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x1, x2, x3, x4, x5, x6, x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x1, x2, x3, x4, x5, x6, x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x1, x2, x3, x4, x5, x6, x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x1, x2, x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x1, x2, x3, x4, x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x1, x2, x3, x4, x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x1, x2, x3, x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x1, x3, x4, x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga(x1)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x1, x3, x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga(x1)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x1, x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga(x1, x3)
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x1, x3, x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x5)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3)  =  U26_ga(x1, x3)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg(x1, x3, x4)
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x1, x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x1, x3, x4, x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x1, x2, x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x2, x3, x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x1, x2, x3, x4, x5, x6, x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg(x1, x2, x3, x4, x5, x6)
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x1, x2, x3, x4, x5, x6, x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x1, x2, x3, x4, x5, x6)
U67_gg(x1, x2)  =  U67_gg(x1, x2)
U68_gg(x1, x2, x3)  =  U68_gg(x2, x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x1, x2, x3, x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x1, x2, x3, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x1, x2, x3, x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x1, x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x1, x2, x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x1, x2, x3, x4)
U56_ag(x1, x2, x3)  =  U56_ag(x2, x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x3, x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x4, x5, x6, x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x2, x4, x6, x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x1, x2, x4, x5, x6, x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x1, x2, x3, x4, x6, x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x1, x2, x3, x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x1, x2, x3, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x1, x2, x3, x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x1, x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x1, x2, x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x1, x2, x3, x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x1, x2, x3, x4, x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x1, x2, x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x1, x2, x3)
U82_gg(x1, x2, x3)  =  U82_gg(x1, x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x1, x2, x3)
U84_gg(x1, x2, x3)  =  U84_gg(x1, x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x1, x2, x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x2, x3, x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x3, x4, x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg(x3, x4)
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x3, x4, x5)
U62_ag(x1, x2, x3)  =  U62_ag(x1, x2, x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x2, x3, x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x1, x2, x3, x4, x5, x6, x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x1, x2, x3, x4, x5, x6, x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x2, x3, x4, x5, x6)
U67_ag(x1, x2)  =  U67_ag(x1, x2)
U68_ag(x1, x2, x3)  =  U68_ag(x2, x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x3, x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x3, x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x3, x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x3, x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x3, x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x3, x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x3, x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x3, x4)
U81_ag(x1, x2, x3)  =  U81_ag(x2, x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x2, x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x2, x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x1, x2, x3, x4, x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg(x1, x2, x3, x4)
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag(x1, x2, x3, x4, x6)
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x1, x2, x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x1, x2, x3, x4, x6, x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x1, x2, x4, x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag(x1, x2, x4)
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x1, x2, x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x1, x2, x4, x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag(x2, x4, x6)
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x2, x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x2, x4, x6, x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x2, x4, x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag(x2, x4)
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x2, x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x2, x4, x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x1, x2, x3, x4, x5, x6, x7)
p90_out_ga(x1, x2)  =  p90_out_ga(x1)
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x1, x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x1, x2, x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x1, x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x1, x2, x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x1, x2, x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x1, x2, x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x1, x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x1, x2, x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x5)
U42_ga(x1, x2, x3)  =  U42_ga(x1, x3)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
U44_ga(x1, x2, x3)  =  U44_ga(x1, x3)
p9_out_ga(x1, x2)  =  p9_out_ga(x1)
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x1, x2, x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x1, x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x1, x2, x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x1, x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x1, x2, x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x1, x2, x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x1, x2, x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x2, x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x5)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3)  =  U22_ga(x1, x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P39_IN_GAGA(x1, x2, x3, x4)  =  P39_IN_GAGA(x1, x3)
P24_IN_GA(x1, x2)  =  P24_IN_GA(x1)
U4_GAGA(x1, x2, x3, x4, x5)  =  U4_GAGA(x1, x3, x5)

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

(26) UsableRulesProof (EQUIVALENT transformation)

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

(27) Obligation:

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

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)

The TRS R consists of the following rules:

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)

The argument filtering Pi contains the following mapping:
const(x1)  =  const
1  =  1
t  =  t
0  =  0
+(x1, x2)  =  +(x1, x2)
*(x1, x2)  =  *(x1, x2)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x1, x3, x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga(x1)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x1, x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga(x1, x3)
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x1, x3, x5)
P39_IN_GAGA(x1, x2, x3, x4)  =  P39_IN_GAGA(x1, x3)
P24_IN_GA(x1, x2)  =  P24_IN_GA(x1)
U4_GAGA(x1, x2, x3, x4, x5)  =  U4_GAGA(x1, x3, x5)

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

(28) PiDPToQDPProof (SOUND transformation)

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

(29) Obligation:

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

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)

The TRS R consists of the following rules:

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)

The set Q consists of the following terms:

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)

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

(30) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • P39_IN_GAGA(T45, T46) → P24_IN_GA(T45)
    The graph contains the following edges 1 >= 1

  • P39_IN_GAGA(T45, T48) → U4_GAGA(T45, T48, p24_in_ga(T45))
    The graph contains the following edges 1 >= 1, 2 >= 2

  • U4_GAGA(T45, T48, p24_out_ga(T45)) → P24_IN_GA(T48)
    The graph contains the following edges 2 >= 1

  • P24_IN_GA(+(T45, T46)) → P39_IN_GAGA(T45, T46)
    The graph contains the following edges 1 > 1, 1 > 2

  • P24_IN_GA(*(T59, T60)) → P39_IN_GAGA(T59, T60)
    The graph contains the following edges 1 > 1, 1 > 2

(31) YES

(32) Obligation:

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

P60_IN_GA(d(T125), X316) → P60_IN_GA(T125, X315)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag(x2)
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg(x1, x2)
U54_gg(x1, x2)  =  U54_gg(x1, x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x1, x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x1, x2, x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x2, x3, x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x1, x2, x3, x4, x5, x6, x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x1, x2, x3, x4, x5, x6, x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x1, x2, x3, x4, x5, x6, x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x1, x2, x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x1, x2, x3, x4, x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x1, x2, x3, x4, x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x1, x2, x3, x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x1, x3, x4, x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga(x1)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x1, x3, x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga(x1)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x1, x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga(x1, x3)
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x1, x3, x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x5)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3)  =  U26_ga(x1, x3)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg(x1, x3, x4)
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x1, x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x1, x3, x4, x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x1, x2, x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x2, x3, x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x1, x2, x3, x4, x5, x6, x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg(x1, x2, x3, x4, x5, x6)
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x1, x2, x3, x4, x5, x6, x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x1, x2, x3, x4, x5, x6)
U67_gg(x1, x2)  =  U67_gg(x1, x2)
U68_gg(x1, x2, x3)  =  U68_gg(x2, x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x1, x2, x3, x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x1, x2, x3, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x1, x2, x3, x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x1, x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x1, x2, x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x1, x2, x3, x4)
U56_ag(x1, x2, x3)  =  U56_ag(x2, x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x3, x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x4, x5, x6, x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x2, x4, x6, x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x1, x2, x4, x5, x6, x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x1, x2, x3, x4, x6, x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x1, x2, x3, x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x1, x2, x3, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x1, x2, x3, x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x1, x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x1, x2, x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x1, x2, x3, x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x1, x2, x3, x4, x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x1, x2, x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x1, x2, x3)
U82_gg(x1, x2, x3)  =  U82_gg(x1, x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x1, x2, x3)
U84_gg(x1, x2, x3)  =  U84_gg(x1, x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x1, x2, x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x2, x3, x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x3, x4, x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg(x3, x4)
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x3, x4, x5)
U62_ag(x1, x2, x3)  =  U62_ag(x1, x2, x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x2, x3, x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x1, x2, x3, x4, x5, x6, x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x1, x2, x3, x4, x5, x6, x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x2, x3, x4, x5, x6)
U67_ag(x1, x2)  =  U67_ag(x1, x2)
U68_ag(x1, x2, x3)  =  U68_ag(x2, x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x3, x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x3, x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x3, x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x3, x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x3, x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x3, x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x3, x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x3, x4)
U81_ag(x1, x2, x3)  =  U81_ag(x2, x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x2, x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x2, x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x1, x2, x3, x4, x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg(x1, x2, x3, x4)
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag(x1, x2, x3, x4, x6)
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x1, x2, x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x1, x2, x3, x4, x6, x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x1, x2, x4, x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag(x1, x2, x4)
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x1, x2, x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x1, x2, x4, x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag(x2, x4, x6)
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x2, x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x2, x4, x6, x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x2, x4, x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag(x2, x4)
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x2, x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x2, x4, x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x1, x2, x3, x4, x5, x6, x7)
p90_out_ga(x1, x2)  =  p90_out_ga(x1)
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x1, x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x1, x2, x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x1, x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x1, x2, x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x1, x2, x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x1, x2, x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x1, x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x1, x2, x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x5)
U42_ga(x1, x2, x3)  =  U42_ga(x1, x3)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
U44_ga(x1, x2, x3)  =  U44_ga(x1, x3)
p9_out_ga(x1, x2)  =  p9_out_ga(x1)
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x1, x2, x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x1, x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x1, x2, x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x1, x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x1, x2, x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x1, x2, x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x1, x2, x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x2, x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x5)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3)  =  U22_ga(x1, x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P60_IN_GA(x1, x2)  =  P60_IN_GA(x1)

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

(33) UsableRulesProof (EQUIVALENT transformation)

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

(34) Obligation:

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

P60_IN_GA(d(T125), X316) → P60_IN_GA(T125, X315)

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

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

(35) PiDPToQDPProof (SOUND transformation)

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

(36) Obligation:

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

P60_IN_GA(d(T125)) → P60_IN_GA(T125)

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

(37) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • P60_IN_GA(d(T125)) → P60_IN_GA(T125)
    The graph contains the following edges 1 > 1

(38) YES

(39) Obligation:

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

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)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag(x2)
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg(x1, x2)
U54_gg(x1, x2)  =  U54_gg(x1, x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x1, x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x1, x2, x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x2, x3, x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x1, x2, x3, x4, x5, x6, x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x1, x2, x3, x4, x5, x6, x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x1, x2, x3, x4, x5, x6, x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x1, x2, x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x1, x2, x3, x4, x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x1, x2, x3, x4, x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x1, x2, x3, x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x1, x3, x4, x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga(x1)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x1, x3, x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga(x1)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x1, x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga(x1, x3)
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x1, x3, x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x5)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3)  =  U26_ga(x1, x3)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg(x1, x3, x4)
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x1, x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x1, x3, x4, x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x1, x2, x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x2, x3, x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x1, x2, x3, x4, x5, x6, x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg(x1, x2, x3, x4, x5, x6)
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x1, x2, x3, x4, x5, x6, x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x1, x2, x3, x4, x5, x6)
U67_gg(x1, x2)  =  U67_gg(x1, x2)
U68_gg(x1, x2, x3)  =  U68_gg(x2, x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x1, x2, x3, x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x1, x2, x3, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x1, x2, x3, x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x1, x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x1, x2, x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x1, x2, x3, x4)
U56_ag(x1, x2, x3)  =  U56_ag(x2, x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x3, x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x4, x5, x6, x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x2, x4, x6, x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x1, x2, x4, x5, x6, x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x1, x2, x3, x4, x6, x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x1, x2, x3, x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x1, x2, x3, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x1, x2, x3, x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x1, x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x1, x2, x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x1, x2, x3, x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x1, x2, x3, x4, x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x1, x2, x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x1, x2, x3)
U82_gg(x1, x2, x3)  =  U82_gg(x1, x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x1, x2, x3)
U84_gg(x1, x2, x3)  =  U84_gg(x1, x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x1, x2, x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x2, x3, x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x3, x4, x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg(x3, x4)
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x3, x4, x5)
U62_ag(x1, x2, x3)  =  U62_ag(x1, x2, x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x2, x3, x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x1, x2, x3, x4, x5, x6, x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x1, x2, x3, x4, x5, x6, x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x2, x3, x4, x5, x6)
U67_ag(x1, x2)  =  U67_ag(x1, x2)
U68_ag(x1, x2, x3)  =  U68_ag(x2, x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x3, x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x3, x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x3, x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x3, x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x3, x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x3, x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x3, x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x3, x4)
U81_ag(x1, x2, x3)  =  U81_ag(x2, x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x2, x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x2, x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x1, x2, x3, x4, x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg(x1, x2, x3, x4)
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag(x1, x2, x3, x4, x6)
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x1, x2, x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x1, x2, x3, x4, x6, x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x1, x2, x4, x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag(x1, x2, x4)
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x1, x2, x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x1, x2, x4, x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag(x2, x4, x6)
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x2, x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x2, x4, x6, x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x2, x4, x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag(x2, x4)
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x2, x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x2, x4, x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x1, x2, x3, x4, x5, x6, x7)
p90_out_ga(x1, x2)  =  p90_out_ga(x1)
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x1, x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x1, x2, x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x1, x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x1, x2, x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x1, x2, x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x1, x2, x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x1, x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x1, x2, x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x5)
U42_ga(x1, x2, x3)  =  U42_ga(x1, x3)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
U44_ga(x1, x2, x3)  =  U44_ga(x1, x3)
p9_out_ga(x1, x2)  =  p9_out_ga(x1)
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x1, x2, x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x1, x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x1, x2, x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x1, x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x1, x2, x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x1, x2, x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x1, x2, x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x2, x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x5)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3)  =  U22_ga(x1, x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P1_IN_GG(x1, x2)  =  P1_IN_GG(x1, x2)
P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)
U46_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGGG(x1, x2, x3, x4, x5, x6, x7)
P137_IN_GGGG(x1, x2, x3, x4)  =  P137_IN_GGGG(x1, x2, x3, x4)
U49_GGGG(x1, x2, x3, x4, x5)  =  U49_GGGG(x1, x2, x3, x4, x5)

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

(40) UsableRulesProof (EQUIVALENT transformation)

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

(41) Obligation:

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

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)

The TRS R consists of the following rules:

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)

The argument filtering Pi contains the following mapping:
const(x1)  =  const
1  =  1
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg(x1, x2)
0  =  0
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x1, x2, x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x2, x3, x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x1, x2, x3, x4, x5, x6, x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x1, x2, x3, x4, x5, x6, x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x1, x2, x3, x4, x5, x6, x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x1, x2, x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x1, x2, x3, x4, x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x1, x2, x3, x4, x5)
U62_gg(x1, x2, x3)  =  U62_gg(x1, x2, x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x2, x3, x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x1, x2, x3, x4, x5, x6, x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg(x1, x2, x3, x4, x5, x6)
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x1, x2, x3, x4, x5, x6, x7)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x1, x2, x3, x4, x5)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x1, x2, x3, x4, x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg(x1, x2, x3, x4)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x1, x2, x3, x4, x5, x6, x7)
P1_IN_GG(x1, x2)  =  P1_IN_GG(x1, x2)
P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)
U46_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGGG(x1, x2, x3, x4, x5, x6, x7)
P137_IN_GGGG(x1, x2, x3, x4)  =  P137_IN_GGGG(x1, x2, x3, x4)
U49_GGGG(x1, x2, x3, x4, x5)  =  U49_GGGG(x1, x2, x3, x4, x5)

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

(42) PiDPToQDPProof (SOUND transformation)

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

(43) Obligation:

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

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)

The TRS R consists of the following rules:

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)

The set Q consists of the following terms:

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)

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

(44) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
    The graph contains the following edges 2 >= 2

  • P134_IN_GGGGGG(T224, T222, T227, T223, T228, T194) → U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
    The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3, 4 >= 4, 5 >= 5, 6 >= 6

  • P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
    The graph contains the following edges 1 > 1, 2 > 1, 2 > 2, 1 > 3, 2 > 3, 2 > 4

  • U46_GGGGGG(T224, T222, T227, T223, T228, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGGG(T227, T223, T228, T194)
    The graph contains the following edges 3 >= 1, 4 >= 2, 5 >= 3, 6 >= 4

  • P137_IN_GGGG(T227, T223, T229, T194) → U49_GGGG(T227, T223, T229, T194, p1_in_gg(d(e(T227)), T223))
    The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3, 4 >= 4

  • P137_IN_GGGG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
    The graph contains the following edges 2 >= 2

  • U49_GGGG(T227, T223, T229, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_GG(d(e(T229)), T194)
    The graph contains the following edges 4 >= 2

  • P1_IN_GG(d(e(+(const, T203))), +(const, T194)) → P1_IN_GG(d(e(T203)), T194)
    The graph contains the following edges 2 > 2

  • P1_IN_GG(d(e(+(t, T197))), +(const, T194)) → P1_IN_GG(d(e(T197)), T194)
    The graph contains the following edges 2 > 2

  • P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const))) → P1_IN_GG(d(e(T293)), T294)
    The graph contains the following edges 2 > 2

  • P1_IN_GG(d(e(*(const, T293))), +(*(const, T294), *(T293, const))) → P1_IN_GG(d(e(T293)), T294)
    The graph contains the following edges 2 > 2

  • P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194)
    The graph contains the following edges 1 > 1, 2 > 2, 1 > 3, 2 > 4, 1 > 5, 2 > 6

  • P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGGG(T246, T249, T247, T248, T250, T194)
    The graph contains the following edges 1 > 1, 2 > 1, 2 > 2, 1 > 3, 2 > 3, 2 > 4, 1 > 5, 2 > 6

  • P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
    The graph contains the following edges 1 > 1, 2 > 1, 2 > 2, 1 > 3, 2 > 3, 2 > 4, 1 > 5, 2 > 5, 2 > 6

  • 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)
    The graph contains the following edges 1 > 1, 2 > 1, 2 > 2, 1 > 3, 2 > 3, 2 > 4, 1 > 5, 2 > 5, 2 > 6

(45) YES

(46) Obligation:

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

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)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag(x2)
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg(x1, x2)
U54_gg(x1, x2)  =  U54_gg(x1, x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x1, x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x1, x2, x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x2, x3, x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x1, x2, x3, x4, x5, x6, x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x1, x2, x3, x4, x5, x6, x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x1, x2, x3, x4, x5, x6, x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x1, x2, x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x1, x2, x3, x4, x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x1, x2, x3, x4, x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x1, x2, x3, x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x1, x3, x4, x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga(x1)
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x1, x2, x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x1, x3, x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga(x1)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x1, x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x1, x2, x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga(x1, x3)
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x1, x3, x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x1, x2, x5)
U25_ga(x1, x2, x3)  =  U25_ga(x1, x3)
U26_ga(x1, x2, x3)  =  U26_ga(x1, x3)
U27_ga(x1, x2, x3)  =  U27_ga(x1, x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg(x1, x3, x4)
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x1, x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x1, x3, x4, x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x1, x2, x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x2, x3, x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x1, x2, x3, x4, x5, x6, x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg(x1, x2, x3, x4, x5, x6)
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x1, x2, x3, x4, x5, x6, x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x1, x2, x3, x4, x5, x6)
U67_gg(x1, x2)  =  U67_gg(x1, x2)
U68_gg(x1, x2, x3)  =  U68_gg(x2, x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x1, x2, x3, x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x1, x2, x3, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x1, x2, x3, x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x1, x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x1, x2, x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x1, x2, x3, x4)
U56_ag(x1, x2, x3)  =  U56_ag(x2, x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x3, x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x4, x5, x6, x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x2, x4, x6, x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x1, x2, x4, x5, x6, x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x1, x2, x3, x4, x6, x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x1, x2, x3, x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x1, x2, x3, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x1, x2, x3, x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x1, x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x1, x2, x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x1, x2, x3, x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x1, x2, x3, x4, x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x1, x2, x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x1, x2, x3)
U82_gg(x1, x2, x3)  =  U82_gg(x1, x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x1, x2, x3)
U84_gg(x1, x2, x3)  =  U84_gg(x1, x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x1, x2, x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x2, x3, x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x3, x4, x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg(x3, x4)
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x3, x4, x5)
U62_ag(x1, x2, x3)  =  U62_ag(x1, x2, x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x2, x3, x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x1, x2, x3, x4, x5, x6, x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x1, x2, x3, x4, x5, x6, x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x2, x3, x4, x5, x6)
U67_ag(x1, x2)  =  U67_ag(x1, x2)
U68_ag(x1, x2, x3)  =  U68_ag(x2, x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x3, x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x3, x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x3, x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x3, x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x3, x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x3, x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x3, x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x3, x4)
U81_ag(x1, x2, x3)  =  U81_ag(x2, x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x2, x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x2, x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x1, x2, x3, x4, x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg(x1, x2, x3, x4)
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag(x1, x2, x3, x4, x6)
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x1, x2, x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x1, x2, x3, x4, x6, x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x1, x2, x4, x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag(x1, x2, x4)
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x1, x2, x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x1, x2, x4, x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag(x2, x4, x6)
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x2, x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x2, x4, x6, x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x2, x4, x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag(x2, x4)
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x2, x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x2, x4, x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x1, x2, x3, x4, x5, x6, x7)
p90_out_ga(x1, x2)  =  p90_out_ga(x1)
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x1, x2, x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x1, x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x1, x2, x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x1, x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x1, x2, x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x1, x2, x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x1, x2, x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x1, x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x1, x2, x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x1, x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x1, x2, x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x1, x2, x5)
U42_ga(x1, x2, x3)  =  U42_ga(x1, x3)
U43_ga(x1, x2, x3)  =  U43_ga(x1, x3)
U44_ga(x1, x2, x3)  =  U44_ga(x1, x3)
p9_out_ga(x1, x2)  =  p9_out_ga(x1)
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x1, x2, x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x1, x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x1, x2, x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x1, x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x1, x2, x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x1, x2, x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x1, x2, x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x1, x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x1, x2, x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x1, x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x1, x2, x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x1, x2, x5)
U20_ga(x1, x2, x3)  =  U20_ga(x1, x3)
U21_ga(x1, x2, x3)  =  U21_ga(x1, x3)
U22_ga(x1, x2, x3)  =  U22_ga(x1, x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P1_IN_AG(x1, x2)  =  P1_IN_AG(x2)
P134_IN_AGAGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_AGAGAG(x2, x4, x6)
P134_IN_GGGGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGAG(x1, x2, x3, x4, x6)
U46_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGAG(x1, x2, x3, x4, x6, x7)
P137_IN_GGAG(x1, x2, x3, x4)  =  P137_IN_GGAG(x1, x2, x4)
U49_GGAG(x1, x2, x3, x4, x5)  =  U49_GGAG(x1, x2, x4, x5)
U46_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_AGAGAG(x2, x4, x6, x7)
P137_IN_AGAG(x1, x2, x3, x4)  =  P137_IN_AGAG(x2, x4)
U49_AGAG(x1, x2, x3, x4, x5)  =  U49_AGAG(x2, x4, x5)

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

(47) UsableRulesProof (EQUIVALENT transformation)

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

(48) Obligation:

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

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)

The TRS R consists of the following rules:

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)

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag(x2)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg(x1, x2)
0  =  0
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x1, x2, x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x2, x3, x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x1, x2, x3, x4, x5, x6, x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x1, x2, x3, x4, x5, x6, x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x1, x2, x3, x4, x5, x6, x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x1, x2, x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x1, x2, x3, x4, x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x1, x2, x3, x4, x5)
U62_gg(x1, x2, x3)  =  U62_gg(x1, x2, x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x2, x3, x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x1, x2, x3, x4, x5, x6, x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg(x1, x2, x3, x4, x5, x6)
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x1, x2, x3, x4, x5, x6, x7)
U56_ag(x1, x2, x3)  =  U56_ag(x2, x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x3, x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x4, x5, x6, x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x2, x4, x6, x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x1, x2, x4, x5, x6, x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x1, x2, x3, x4, x6, x7)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x1, x2, x3, x4, x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x1, x2, x3, x4, x5)
U62_ag(x1, x2, x3)  =  U62_ag(x1, x2, x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x2, x3, x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x1, x2, x3, x4, x5, x6, x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x1, x2, x3, x4, x5, x6, x7)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x1, x2, x3, x4, x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg(x1, x2, x3, x4)
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag(x1, x2, x3, x4, x6)
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x1, x2, x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x1, x2, x3, x4, x6, x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x1, x2, x4, x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag(x1, x2, x4)
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x1, x2, x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x1, x2, x4, x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag(x2, x4, x6)
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x2, x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x2, x4, x6, x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x2, x4, x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag(x2, x4)
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x2, x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x2, x4, x5)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x1, x2, x3, x4, x5, x6, x7)
P1_IN_AG(x1, x2)  =  P1_IN_AG(x2)
P134_IN_AGAGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_AGAGAG(x2, x4, x6)
P134_IN_GGGGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGAG(x1, x2, x3, x4, x6)
U46_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGAG(x1, x2, x3, x4, x6, x7)
P137_IN_GGAG(x1, x2, x3, x4)  =  P137_IN_GGAG(x1, x2, x4)
U49_GGAG(x1, x2, x3, x4, x5)  =  U49_GGAG(x1, x2, x4, x5)
U46_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_AGAGAG(x2, x4, x6, x7)
P137_IN_AGAG(x1, x2, x3, x4)  =  P137_IN_AGAG(x2, x4)
U49_AGAG(x1, x2, x3, x4, x5)  =  U49_AGAG(x2, x4, x5)

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

(49) PiDPToQDPProof (SOUND transformation)

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

(50) Obligation:

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

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)

The TRS R consists of the following rules:

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)

The set Q consists of the following terms:

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)

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

(51) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • U46_GGGGAG(T224, T222, T227, T223, T194, p1_out_gg(d(e(T224)), T222)) → P137_IN_GGAG(T227, T223, T194)
    The graph contains the following edges 3 >= 1, 4 >= 2, 5 >= 3

  • P1_IN_AG(+(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGAG(T246, T249, T247, T248, T194)
    The graph contains the following edges 1 > 1, 1 > 2, 1 > 3, 1 > 4, 1 > 5

  • P137_IN_GGAG(T227, T223, T194) → U49_GGAG(T227, T223, T194, p1_in_gg(d(e(T227)), T223))
    The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3

  • P134_IN_GGGGAG(T224, T222, T227, T223, T194) → U46_GGGGAG(T224, T222, T227, T223, T194, p1_in_gg(d(e(T224)), T222))
    The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3, 4 >= 4, 5 >= 5

  • U49_GGAG(T227, T223, T194, p1_out_gg(d(e(T227)), T223)) → P1_IN_AG(T194)
    The graph contains the following edges 3 >= 1

  • P1_IN_AG(+(const, T194)) → P1_IN_AG(T194)
    The graph contains the following edges 1 > 1

  • P1_IN_AG(+(+(T222, T223), T194)) → P134_IN_AGAGAG(T222, T223, T194)
    The graph contains the following edges 1 > 1, 1 > 2, 1 > 3

  • P134_IN_AGAGAG(T222, T223, T194) → P1_IN_AG(T222)
    The graph contains the following edges 1 >= 1

  • P134_IN_AGAGAG(T222, T223, T194) → U46_AGAGAG(T222, T223, T194, p1_in_ag(T222))
    The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3

  • U46_AGAGAG(T222, T223, T194, p1_out_ag(T222)) → P137_IN_AGAG(T223, T194)
    The graph contains the following edges 2 >= 1, 3 >= 2

  • P137_IN_AGAG(T223, T194) → U49_AGAG(T223, T194, p1_in_ag(T223))
    The graph contains the following edges 1 >= 1, 2 >= 2

  • P137_IN_AGAG(T223, T194) → P1_IN_AG(T223)
    The graph contains the following edges 1 >= 1

  • U49_AGAG(T223, T194, p1_out_ag(T223)) → P1_IN_AG(T194)
    The graph contains the following edges 2 >= 1

(52) YES

(53) PrologToPiTRSProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
p1_in: (f,b) (b,b)
p9_in: (f,f) (b,f)
p90_in: (b,f) (f,f)
p134_in: (b,b,b,b,b,b) (f,b,f,b,f,b) (b,b,b,b,f,b)
p137_in: (b,b,b,b) (b,b,f,b) (f,b,f,b)
p150_in: (b,f,b,b) (f,f,b,b)
p60_in: (b,f) (f,f)
p39_in: (b,f,b,f) (f,f,f,f)
p24_in: (b,f) (f,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg
U54_gg(x1, x2)  =  U54_gg(x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3)  =  U26_ga(x3)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x6)
U67_gg(x1, x2)  =  U67_gg(x2)
U68_gg(x1, x2, x3)  =  U68_gg(x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x2, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x4)
U56_ag(x1, x2, x3)  =  U56_ag(x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x2, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x3)
U82_gg(x1, x2, x3)  =  U82_gg(x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x3)
U84_gg(x1, x2, x3)  =  U84_gg(x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x5)
U62_ag(x1, x2, x3)  =  U62_ag(x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x6)
U67_ag(x1, x2)  =  U67_ag(x2)
U68_ag(x1, x2, x3)  =  U68_ag(x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x4)
U81_ag(x1, x2, x3)  =  U81_ag(x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x7)
p90_out_ga(x1, x2)  =  p90_out_ga
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x5)
U42_ga(x1, x2, x3)  =  U42_ga(x3)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
U44_ga(x1, x2, x3)  =  U44_ga(x3)
p9_out_ga(x1, x2)  =  p9_out_ga
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(54) Obligation:

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

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg
U54_gg(x1, x2)  =  U54_gg(x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3)  =  U26_ga(x3)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x6)
U67_gg(x1, x2)  =  U67_gg(x2)
U68_gg(x1, x2, x3)  =  U68_gg(x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x2, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x4)
U56_ag(x1, x2, x3)  =  U56_ag(x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x2, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x3)
U82_gg(x1, x2, x3)  =  U82_gg(x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x3)
U84_gg(x1, x2, x3)  =  U84_gg(x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x5)
U62_ag(x1, x2, x3)  =  U62_ag(x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x6)
U67_ag(x1, x2)  =  U67_ag(x2)
U68_ag(x1, x2, x3)  =  U68_ag(x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x4)
U81_ag(x1, x2, x3)  =  U81_ag(x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x7)
p90_out_ga(x1, x2)  =  p90_out_ga
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x5)
U42_ga(x1, x2, x3)  =  U42_ga(x3)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
U44_ga(x1, x2, x3)  =  U44_ga(x3)
p9_out_ga(x1, x2)  =  p9_out_ga
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)

(55) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:

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)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg
U54_gg(x1, x2)  =  U54_gg(x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3)  =  U26_ga(x3)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x6)
U67_gg(x1, x2)  =  U67_gg(x2)
U68_gg(x1, x2, x3)  =  U68_gg(x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x2, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x4)
U56_ag(x1, x2, x3)  =  U56_ag(x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x2, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x3)
U82_gg(x1, x2, x3)  =  U82_gg(x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x3)
U84_gg(x1, x2, x3)  =  U84_gg(x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x5)
U62_ag(x1, x2, x3)  =  U62_ag(x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x6)
U67_ag(x1, x2)  =  U67_ag(x2)
U68_ag(x1, x2, x3)  =  U68_ag(x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x4)
U81_ag(x1, x2, x3)  =  U81_ag(x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x7)
p90_out_ga(x1, x2)  =  p90_out_ga
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x5)
U42_ga(x1, x2, x3)  =  U42_ga(x3)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
U44_ga(x1, x2, x3)  =  U44_ga(x3)
p9_out_ga(x1, x2)  =  p9_out_ga
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P1_IN_AG(x1, x2)  =  P1_IN_AG(x2)
U54_AG(x1, x2)  =  U54_AG(x2)
P9_IN_AA(x1, x2)  =  P9_IN_AA
U6_AA(x1)  =  U6_AA(x1)
P1_IN_GG(x1, x2)  =  P1_IN_GG(x1, x2)
U54_GG(x1, x2)  =  U54_GG(x2)
P9_IN_GA(x1, x2)  =  P9_IN_GA(x1)
U6_GA(x1)  =  U6_GA(x1)
U55_GG(x1, x2)  =  U55_GG(x2)
P90_IN_GA(x1, x2)  =  P90_IN_GA(x1)
U28_GA(x1)  =  U28_GA(x1)
U56_GG(x1, x2, x3)  =  U56_GG(x3)
U57_GG(x1, x2, x3, x4)  =  U57_GG(x4)
U58_GG(x1, x2, x3, x4, x5, x6, x7)  =  U58_GG(x7)
P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)
U45_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U45_GGGGGG(x7)
U59_GG(x1, x2, x3, x4, x5, x6, x7)  =  U59_GG(x7)
U46_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGGG(x3, x4, x5, x6, x7)
U60_GG(x1, x2, x3, x4, x5)  =  U60_GG(x5)
P137_IN_GGGG(x1, x2, x3, x4)  =  P137_IN_GGGG(x1, x2, x3, x4)
U48_GGGG(x1, x2, x3, x4, x5)  =  U48_GGGG(x5)
U61_GG(x1, x2, x3, x4)  =  U61_GG(x4)
P150_IN_GAGG(x1, x2, x3, x4)  =  P150_IN_GAGG(x1, x3, x4)
U51_GAGG(x1, x2, x3, x4, x5)  =  U51_GAGG(x5)
P60_IN_GA(x1, x2)  =  P60_IN_GA(x1)
U23_GA(x1, x2, x3, x4, x5)  =  U23_GA(x5)
P39_IN_GAGA(x1, x2, x3, x4)  =  P39_IN_GAGA(x1, x3)
U3_GAGA(x1, x2, x3, x4, x5)  =  U3_GAGA(x5)
P24_IN_GA(x1, x2)  =  P24_IN_GA(x1)
U1_GA(x1, x2, x3, x4, x5)  =  U1_GA(x5)
U4_GAGA(x1, x2, x3, x4, x5)  =  U4_GAGA(x3, x5)
U2_GA(x1, x2, x3, x4, x5)  =  U2_GA(x5)
U5_GAGA(x1, x2, x3, x4, x5)  =  U5_GAGA(x5)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x5)
U25_GA(x1, x2, x3)  =  U25_GA(x3)
U26_GA(x1, x2, x3)  =  U26_GA(x3)
U27_GA(x1, x2, x3)  =  U27_GA(x3)
P24_IN_AA(x1, x2)  =  P24_IN_AA
U1_AA(x1, x2, x3, x4, x5)  =  U1_AA(x5)
P39_IN_AAAA(x1, x2, x3, x4)  =  P39_IN_AAAA
U3_AAAA(x1, x2, x3, x4, x5)  =  U3_AAAA(x5)
U2_AA(x1, x2, x3, x4, x5)  =  U2_AA(x5)
U4_AAAA(x1, x2, x3, x4, x5)  =  U4_AAAA(x5)
U5_AAAA(x1, x2, x3, x4, x5)  =  U5_AAAA(x5)
U52_GAGG(x1, x2, x3, x4, x5)  =  U52_GAGG(x3, x4, x5)
U53_GAGG(x1, x2, x3, x4, x5)  =  U53_GAGG(x5)
U55_AG(x1, x2)  =  U55_AG(x2)
P90_IN_AA(x1, x2)  =  P90_IN_AA
U28_AA(x1)  =  U28_AA(x1)
U62_GG(x1, x2, x3)  =  U62_GG(x3)
U63_GG(x1, x2, x3, x4)  =  U63_GG(x4)
U64_GG(x1, x2, x3, x4, x5, x6, x7)  =  U64_GG(x7)
U65_GG(x1, x2, x3, x4, x5, x6, x7)  =  U65_GG(x7)
U66_GG(x1, x2, x3, x4, x5, x6)  =  U66_GG(x6)
U67_GG(x1, x2)  =  U67_GG(x2)
U68_GG(x1, x2, x3)  =  U68_GG(x3)
U69_GG(x1, x2, x3, x4)  =  U69_GG(x4)
U70_GG(x1, x2, x3, x4)  =  U70_GG(x2, x4)
U71_GG(x1, x2, x3, x4)  =  U71_GG(x4)
U72_GG(x1, x2, x3, x4)  =  U72_GG(x2, x3, x4)
U73_GG(x1, x2, x3, x4, x5)  =  U73_GG(x3, x5)
U74_GG(x1, x2, x3, x4)  =  U74_GG(x4)
U56_AG(x1, x2, x3)  =  U56_AG(x3)
U57_AG(x1, x2, x3, x4)  =  U57_AG(x4)
U58_AG(x1, x2, x3, x4, x5, x6, x7)  =  U58_AG(x7)
P134_IN_AGAGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_AGAGAG(x2, x4, x6)
U45_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U45_AGAGAG(x7)
U59_AG(x1, x2, x3, x4, x5, x6, x7)  =  U59_AG(x7)
P134_IN_GGGGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGAG(x1, x2, x3, x4, x6)
U45_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U45_GGGGAG(x7)
U75_GG(x1, x2, x3, x4)  =  U75_GG(x4)
U76_GG(x1, x2, x3, x4)  =  U76_GG(x2, x4)
U77_GG(x1, x2, x3, x4)  =  U77_GG(x4)
U78_GG(x1, x2, x3, x4)  =  U78_GG(x2, x3, x4)
U79_GG(x1, x2, x3, x4, x5)  =  U79_GG(x3, x5)
U80_GG(x1, x2, x3, x4)  =  U80_GG(x4)
U60_AG(x1, x2, x3, x4, x5)  =  U60_AG(x5)
U49_GGGG(x1, x2, x3, x4, x5)  =  U49_GGGG(x3, x4, x5)
U81_GG(x1, x2, x3)  =  U81_GG(x3)
U82_GG(x1, x2, x3)  =  U82_GG(x2, x3)
U83_GG(x1, x2, x3)  =  U83_GG(x3)
U84_GG(x1, x2, x3)  =  U84_GG(x2, x3)
U85_GG(x1, x2, x3)  =  U85_GG(x3)
U61_AG(x1, x2, x3, x4)  =  U61_AG(x4)
P150_IN_AAGG(x1, x2, x3, x4)  =  P150_IN_AAGG(x3, x4)
U51_AAGG(x1, x2, x3, x4, x5)  =  U51_AAGG(x5)
P60_IN_AA(x1, x2)  =  P60_IN_AA
U23_AA(x1, x2, x3, x4, x5)  =  U23_AA(x5)
U24_AA(x1, x2, x3, x4, x5)  =  U24_AA(x5)
U25_AA(x1, x2, x3)  =  U25_AA(x3)
U26_AA(x1, x2, x3)  =  U26_AA(x3)
U27_AA(x1, x2, x3)  =  U27_AA(x3)
U52_AAGG(x1, x2, x3, x4, x5)  =  U52_AAGG(x3, x4, x5)
U53_AAGG(x1, x2, x3, x4, x5)  =  U53_AAGG(x5)
U62_AG(x1, x2, x3)  =  U62_AG(x3)
U63_AG(x1, x2, x3, x4)  =  U63_AG(x4)
U64_AG(x1, x2, x3, x4, x5, x6, x7)  =  U64_AG(x7)
U65_AG(x1, x2, x3, x4, x5, x6, x7)  =  U65_AG(x7)
U66_AG(x1, x2, x3, x4, x5, x6)  =  U66_AG(x6)
U67_AG(x1, x2)  =  U67_AG(x2)
U68_AG(x1, x2, x3)  =  U68_AG(x3)
U69_AG(x1, x2, x3, x4)  =  U69_AG(x4)
U70_AG(x1, x2, x3, x4)  =  U70_AG(x4)
U71_AG(x1, x2, x3, x4)  =  U71_AG(x4)
U72_AG(x1, x2, x3, x4)  =  U72_AG(x3, x4)
U73_AG(x1, x2, x3, x4, x5)  =  U73_AG(x3, x5)
U74_AG(x1, x2, x3, x4)  =  U74_AG(x4)
U75_AG(x1, x2, x3, x4)  =  U75_AG(x4)
U76_AG(x1, x2, x3, x4)  =  U76_AG(x4)
U77_AG(x1, x2, x3, x4)  =  U77_AG(x4)
U78_AG(x1, x2, x3, x4)  =  U78_AG(x3, x4)
U79_AG(x1, x2, x3, x4, x5)  =  U79_AG(x3, x5)
U80_AG(x1, x2, x3, x4)  =  U80_AG(x4)
U81_AG(x1, x2, x3)  =  U81_AG(x3)
U82_AG(x1, x2, x3)  =  U82_AG(x2, x3)
U83_AG(x1, x2, x3)  =  U83_AG(x3)
U84_AG(x1, x2, x3)  =  U84_AG(x2, x3)
U85_AG(x1, x2, x3)  =  U85_AG(x3)
U50_GGGG(x1, x2, x3, x4, x5)  =  U50_GGGG(x5)
U46_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGAG(x3, x4, x6, x7)
U47_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U47_GGGGAG(x7)
P137_IN_GGAG(x1, x2, x3, x4)  =  P137_IN_GGAG(x1, x2, x4)
U48_GGAG(x1, x2, x3, x4, x5)  =  U48_GGAG(x5)
U49_GGAG(x1, x2, x3, x4, x5)  =  U49_GGAG(x4, x5)
U50_GGAG(x1, x2, x3, x4, x5)  =  U50_GGAG(x5)
U46_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_AGAGAG(x4, x6, x7)
U47_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U47_AGAGAG(x7)
P137_IN_AGAG(x1, x2, x3, x4)  =  P137_IN_AGAG(x2, x4)
U48_AGAG(x1, x2, x3, x4, x5)  =  U48_AGAG(x5)
U49_AGAG(x1, x2, x3, x4, x5)  =  U49_AGAG(x4, x5)
U50_AGAG(x1, x2, x3, x4, x5)  =  U50_AGAG(x5)
U29_AA(x1, x2)  =  U29_AA(x2)
U30_AA(x1, x2, x3, x4, x5)  =  U30_AA(x5)
U31_AA(x1, x2, x3, x4, x5)  =  U31_AA(x5)
U32_AA(x1, x2, x3, x4, x5)  =  U32_AA(x5)
U33_AA(x1, x2, x3, x4, x5)  =  U33_AA(x5)
U34_AA(x1, x2, x3, x4, x5)  =  U34_AA(x5)
U35_AA(x1, x2, x3, x4, x5)  =  U35_AA(x5)
U36_AA(x1, x2, x3, x4, x5)  =  U36_AA(x5)
U37_AA(x1, x2, x3, x4, x5)  =  U37_AA(x5)
U38_AA(x1, x2, x3, x4, x5)  =  U38_AA(x5)
U39_AA(x1, x2, x3, x4, x5)  =  U39_AA(x5)
U40_AA(x1, x2, x3, x4, x5)  =  U40_AA(x5)
U41_AA(x1, x2, x3, x4, x5)  =  U41_AA(x5)
U42_AA(x1, x2, x3)  =  U42_AA(x3)
U43_AA(x1, x2, x3)  =  U43_AA(x3)
U44_AA(x1, x2, x3)  =  U44_AA(x3)
U47_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U47_GGGGGG(x7)
U29_GA(x1, x2)  =  U29_GA(x2)
U30_GA(x1, x2, x3, x4, x5)  =  U30_GA(x5)
U31_GA(x1, x2, x3, x4, x5)  =  U31_GA(x2, x5)
U32_GA(x1, x2, x3, x4, x5)  =  U32_GA(x5)
U33_GA(x1, x2, x3, x4, x5)  =  U33_GA(x2, x5)
U34_GA(x1, x2, x3, x4, x5)  =  U34_GA(x5)
U35_GA(x1, x2, x3, x4, x5)  =  U35_GA(x5)
U36_GA(x1, x2, x3, x4, x5)  =  U36_GA(x5)
U37_GA(x1, x2, x3, x4, x5)  =  U37_GA(x2, x5)
U38_GA(x1, x2, x3, x4, x5)  =  U38_GA(x5)
U39_GA(x1, x2, x3, x4, x5)  =  U39_GA(x2, x5)
U40_GA(x1, x2, x3, x4, x5)  =  U40_GA(x5)
U41_GA(x1, x2, x3, x4, x5)  =  U41_GA(x5)
U42_GA(x1, x2, x3)  =  U42_GA(x3)
U43_GA(x1, x2, x3)  =  U43_GA(x3)
U44_GA(x1, x2, x3)  =  U44_GA(x3)
U7_GA(x1, x2)  =  U7_GA(x2)
U8_GA(x1, x2, x3, x4, x5)  =  U8_GA(x5)
U9_GA(x1, x2, x3, x4, x5)  =  U9_GA(x2, x5)
U10_GA(x1, x2, x3, x4, x5)  =  U10_GA(x5)
U11_GA(x1, x2, x3, x4, x5)  =  U11_GA(x2, x5)
U12_GA(x1, x2, x3, x4, x5)  =  U12_GA(x5)
U13_GA(x1, x2, x3, x4, x5)  =  U13_GA(x5)
U14_GA(x1, x2, x3, x4, x5)  =  U14_GA(x5)
U15_GA(x1, x2, x3, x4, x5)  =  U15_GA(x2, x5)
U16_GA(x1, x2, x3, x4, x5)  =  U16_GA(x5)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x2, x5)
U18_GA(x1, x2, x3, x4, x5)  =  U18_GA(x5)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x5)
U20_GA(x1, x2, x3)  =  U20_GA(x3)
U21_GA(x1, x2, x3)  =  U21_GA(x3)
U22_GA(x1, x2, x3)  =  U22_GA(x3)
U7_AA(x1, x2)  =  U7_AA(x2)
U8_AA(x1, x2, x3, x4, x5)  =  U8_AA(x5)
U9_AA(x1, x2, x3, x4, x5)  =  U9_AA(x5)
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)
U11_AA(x1, x2, x3, x4, x5)  =  U11_AA(x5)
U12_AA(x1, x2, x3, x4, x5)  =  U12_AA(x5)
U13_AA(x1, x2, x3, x4, x5)  =  U13_AA(x5)
U14_AA(x1, x2, x3, x4, x5)  =  U14_AA(x5)
U15_AA(x1, x2, x3, x4, x5)  =  U15_AA(x5)
U16_AA(x1, x2, x3, x4, x5)  =  U16_AA(x5)
U17_AA(x1, x2, x3, x4, x5)  =  U17_AA(x5)
U18_AA(x1, x2, x3, x4, x5)  =  U18_AA(x5)
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x5)
U20_AA(x1, x2, x3)  =  U20_AA(x3)
U21_AA(x1, x2, x3)  =  U21_AA(x3)
U22_AA(x1, x2, x3)  =  U22_AA(x3)

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

(56) Obligation:

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

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)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg
U54_gg(x1, x2)  =  U54_gg(x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3)  =  U26_ga(x3)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x6)
U67_gg(x1, x2)  =  U67_gg(x2)
U68_gg(x1, x2, x3)  =  U68_gg(x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x2, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x4)
U56_ag(x1, x2, x3)  =  U56_ag(x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x2, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x3)
U82_gg(x1, x2, x3)  =  U82_gg(x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x3)
U84_gg(x1, x2, x3)  =  U84_gg(x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x5)
U62_ag(x1, x2, x3)  =  U62_ag(x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x6)
U67_ag(x1, x2)  =  U67_ag(x2)
U68_ag(x1, x2, x3)  =  U68_ag(x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x4)
U81_ag(x1, x2, x3)  =  U81_ag(x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x7)
p90_out_ga(x1, x2)  =  p90_out_ga
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x5)
U42_ga(x1, x2, x3)  =  U42_ga(x3)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
U44_ga(x1, x2, x3)  =  U44_ga(x3)
p9_out_ga(x1, x2)  =  p9_out_ga
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P1_IN_AG(x1, x2)  =  P1_IN_AG(x2)
U54_AG(x1, x2)  =  U54_AG(x2)
P9_IN_AA(x1, x2)  =  P9_IN_AA
U6_AA(x1)  =  U6_AA(x1)
P1_IN_GG(x1, x2)  =  P1_IN_GG(x1, x2)
U54_GG(x1, x2)  =  U54_GG(x2)
P9_IN_GA(x1, x2)  =  P9_IN_GA(x1)
U6_GA(x1)  =  U6_GA(x1)
U55_GG(x1, x2)  =  U55_GG(x2)
P90_IN_GA(x1, x2)  =  P90_IN_GA(x1)
U28_GA(x1)  =  U28_GA(x1)
U56_GG(x1, x2, x3)  =  U56_GG(x3)
U57_GG(x1, x2, x3, x4)  =  U57_GG(x4)
U58_GG(x1, x2, x3, x4, x5, x6, x7)  =  U58_GG(x7)
P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)
U45_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U45_GGGGGG(x7)
U59_GG(x1, x2, x3, x4, x5, x6, x7)  =  U59_GG(x7)
U46_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGGG(x3, x4, x5, x6, x7)
U60_GG(x1, x2, x3, x4, x5)  =  U60_GG(x5)
P137_IN_GGGG(x1, x2, x3, x4)  =  P137_IN_GGGG(x1, x2, x3, x4)
U48_GGGG(x1, x2, x3, x4, x5)  =  U48_GGGG(x5)
U61_GG(x1, x2, x3, x4)  =  U61_GG(x4)
P150_IN_GAGG(x1, x2, x3, x4)  =  P150_IN_GAGG(x1, x3, x4)
U51_GAGG(x1, x2, x3, x4, x5)  =  U51_GAGG(x5)
P60_IN_GA(x1, x2)  =  P60_IN_GA(x1)
U23_GA(x1, x2, x3, x4, x5)  =  U23_GA(x5)
P39_IN_GAGA(x1, x2, x3, x4)  =  P39_IN_GAGA(x1, x3)
U3_GAGA(x1, x2, x3, x4, x5)  =  U3_GAGA(x5)
P24_IN_GA(x1, x2)  =  P24_IN_GA(x1)
U1_GA(x1, x2, x3, x4, x5)  =  U1_GA(x5)
U4_GAGA(x1, x2, x3, x4, x5)  =  U4_GAGA(x3, x5)
U2_GA(x1, x2, x3, x4, x5)  =  U2_GA(x5)
U5_GAGA(x1, x2, x3, x4, x5)  =  U5_GAGA(x5)
U24_GA(x1, x2, x3, x4, x5)  =  U24_GA(x5)
U25_GA(x1, x2, x3)  =  U25_GA(x3)
U26_GA(x1, x2, x3)  =  U26_GA(x3)
U27_GA(x1, x2, x3)  =  U27_GA(x3)
P24_IN_AA(x1, x2)  =  P24_IN_AA
U1_AA(x1, x2, x3, x4, x5)  =  U1_AA(x5)
P39_IN_AAAA(x1, x2, x3, x4)  =  P39_IN_AAAA
U3_AAAA(x1, x2, x3, x4, x5)  =  U3_AAAA(x5)
U2_AA(x1, x2, x3, x4, x5)  =  U2_AA(x5)
U4_AAAA(x1, x2, x3, x4, x5)  =  U4_AAAA(x5)
U5_AAAA(x1, x2, x3, x4, x5)  =  U5_AAAA(x5)
U52_GAGG(x1, x2, x3, x4, x5)  =  U52_GAGG(x3, x4, x5)
U53_GAGG(x1, x2, x3, x4, x5)  =  U53_GAGG(x5)
U55_AG(x1, x2)  =  U55_AG(x2)
P90_IN_AA(x1, x2)  =  P90_IN_AA
U28_AA(x1)  =  U28_AA(x1)
U62_GG(x1, x2, x3)  =  U62_GG(x3)
U63_GG(x1, x2, x3, x4)  =  U63_GG(x4)
U64_GG(x1, x2, x3, x4, x5, x6, x7)  =  U64_GG(x7)
U65_GG(x1, x2, x3, x4, x5, x6, x7)  =  U65_GG(x7)
U66_GG(x1, x2, x3, x4, x5, x6)  =  U66_GG(x6)
U67_GG(x1, x2)  =  U67_GG(x2)
U68_GG(x1, x2, x3)  =  U68_GG(x3)
U69_GG(x1, x2, x3, x4)  =  U69_GG(x4)
U70_GG(x1, x2, x3, x4)  =  U70_GG(x2, x4)
U71_GG(x1, x2, x3, x4)  =  U71_GG(x4)
U72_GG(x1, x2, x3, x4)  =  U72_GG(x2, x3, x4)
U73_GG(x1, x2, x3, x4, x5)  =  U73_GG(x3, x5)
U74_GG(x1, x2, x3, x4)  =  U74_GG(x4)
U56_AG(x1, x2, x3)  =  U56_AG(x3)
U57_AG(x1, x2, x3, x4)  =  U57_AG(x4)
U58_AG(x1, x2, x3, x4, x5, x6, x7)  =  U58_AG(x7)
P134_IN_AGAGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_AGAGAG(x2, x4, x6)
U45_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U45_AGAGAG(x7)
U59_AG(x1, x2, x3, x4, x5, x6, x7)  =  U59_AG(x7)
P134_IN_GGGGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGAG(x1, x2, x3, x4, x6)
U45_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U45_GGGGAG(x7)
U75_GG(x1, x2, x3, x4)  =  U75_GG(x4)
U76_GG(x1, x2, x3, x4)  =  U76_GG(x2, x4)
U77_GG(x1, x2, x3, x4)  =  U77_GG(x4)
U78_GG(x1, x2, x3, x4)  =  U78_GG(x2, x3, x4)
U79_GG(x1, x2, x3, x4, x5)  =  U79_GG(x3, x5)
U80_GG(x1, x2, x3, x4)  =  U80_GG(x4)
U60_AG(x1, x2, x3, x4, x5)  =  U60_AG(x5)
U49_GGGG(x1, x2, x3, x4, x5)  =  U49_GGGG(x3, x4, x5)
U81_GG(x1, x2, x3)  =  U81_GG(x3)
U82_GG(x1, x2, x3)  =  U82_GG(x2, x3)
U83_GG(x1, x2, x3)  =  U83_GG(x3)
U84_GG(x1, x2, x3)  =  U84_GG(x2, x3)
U85_GG(x1, x2, x3)  =  U85_GG(x3)
U61_AG(x1, x2, x3, x4)  =  U61_AG(x4)
P150_IN_AAGG(x1, x2, x3, x4)  =  P150_IN_AAGG(x3, x4)
U51_AAGG(x1, x2, x3, x4, x5)  =  U51_AAGG(x5)
P60_IN_AA(x1, x2)  =  P60_IN_AA
U23_AA(x1, x2, x3, x4, x5)  =  U23_AA(x5)
U24_AA(x1, x2, x3, x4, x5)  =  U24_AA(x5)
U25_AA(x1, x2, x3)  =  U25_AA(x3)
U26_AA(x1, x2, x3)  =  U26_AA(x3)
U27_AA(x1, x2, x3)  =  U27_AA(x3)
U52_AAGG(x1, x2, x3, x4, x5)  =  U52_AAGG(x3, x4, x5)
U53_AAGG(x1, x2, x3, x4, x5)  =  U53_AAGG(x5)
U62_AG(x1, x2, x3)  =  U62_AG(x3)
U63_AG(x1, x2, x3, x4)  =  U63_AG(x4)
U64_AG(x1, x2, x3, x4, x5, x6, x7)  =  U64_AG(x7)
U65_AG(x1, x2, x3, x4, x5, x6, x7)  =  U65_AG(x7)
U66_AG(x1, x2, x3, x4, x5, x6)  =  U66_AG(x6)
U67_AG(x1, x2)  =  U67_AG(x2)
U68_AG(x1, x2, x3)  =  U68_AG(x3)
U69_AG(x1, x2, x3, x4)  =  U69_AG(x4)
U70_AG(x1, x2, x3, x4)  =  U70_AG(x4)
U71_AG(x1, x2, x3, x4)  =  U71_AG(x4)
U72_AG(x1, x2, x3, x4)  =  U72_AG(x3, x4)
U73_AG(x1, x2, x3, x4, x5)  =  U73_AG(x3, x5)
U74_AG(x1, x2, x3, x4)  =  U74_AG(x4)
U75_AG(x1, x2, x3, x4)  =  U75_AG(x4)
U76_AG(x1, x2, x3, x4)  =  U76_AG(x4)
U77_AG(x1, x2, x3, x4)  =  U77_AG(x4)
U78_AG(x1, x2, x3, x4)  =  U78_AG(x3, x4)
U79_AG(x1, x2, x3, x4, x5)  =  U79_AG(x3, x5)
U80_AG(x1, x2, x3, x4)  =  U80_AG(x4)
U81_AG(x1, x2, x3)  =  U81_AG(x3)
U82_AG(x1, x2, x3)  =  U82_AG(x2, x3)
U83_AG(x1, x2, x3)  =  U83_AG(x3)
U84_AG(x1, x2, x3)  =  U84_AG(x2, x3)
U85_AG(x1, x2, x3)  =  U85_AG(x3)
U50_GGGG(x1, x2, x3, x4, x5)  =  U50_GGGG(x5)
U46_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGAG(x3, x4, x6, x7)
U47_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U47_GGGGAG(x7)
P137_IN_GGAG(x1, x2, x3, x4)  =  P137_IN_GGAG(x1, x2, x4)
U48_GGAG(x1, x2, x3, x4, x5)  =  U48_GGAG(x5)
U49_GGAG(x1, x2, x3, x4, x5)  =  U49_GGAG(x4, x5)
U50_GGAG(x1, x2, x3, x4, x5)  =  U50_GGAG(x5)
U46_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_AGAGAG(x4, x6, x7)
U47_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U47_AGAGAG(x7)
P137_IN_AGAG(x1, x2, x3, x4)  =  P137_IN_AGAG(x2, x4)
U48_AGAG(x1, x2, x3, x4, x5)  =  U48_AGAG(x5)
U49_AGAG(x1, x2, x3, x4, x5)  =  U49_AGAG(x4, x5)
U50_AGAG(x1, x2, x3, x4, x5)  =  U50_AGAG(x5)
U29_AA(x1, x2)  =  U29_AA(x2)
U30_AA(x1, x2, x3, x4, x5)  =  U30_AA(x5)
U31_AA(x1, x2, x3, x4, x5)  =  U31_AA(x5)
U32_AA(x1, x2, x3, x4, x5)  =  U32_AA(x5)
U33_AA(x1, x2, x3, x4, x5)  =  U33_AA(x5)
U34_AA(x1, x2, x3, x4, x5)  =  U34_AA(x5)
U35_AA(x1, x2, x3, x4, x5)  =  U35_AA(x5)
U36_AA(x1, x2, x3, x4, x5)  =  U36_AA(x5)
U37_AA(x1, x2, x3, x4, x5)  =  U37_AA(x5)
U38_AA(x1, x2, x3, x4, x5)  =  U38_AA(x5)
U39_AA(x1, x2, x3, x4, x5)  =  U39_AA(x5)
U40_AA(x1, x2, x3, x4, x5)  =  U40_AA(x5)
U41_AA(x1, x2, x3, x4, x5)  =  U41_AA(x5)
U42_AA(x1, x2, x3)  =  U42_AA(x3)
U43_AA(x1, x2, x3)  =  U43_AA(x3)
U44_AA(x1, x2, x3)  =  U44_AA(x3)
U47_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U47_GGGGGG(x7)
U29_GA(x1, x2)  =  U29_GA(x2)
U30_GA(x1, x2, x3, x4, x5)  =  U30_GA(x5)
U31_GA(x1, x2, x3, x4, x5)  =  U31_GA(x2, x5)
U32_GA(x1, x2, x3, x4, x5)  =  U32_GA(x5)
U33_GA(x1, x2, x3, x4, x5)  =  U33_GA(x2, x5)
U34_GA(x1, x2, x3, x4, x5)  =  U34_GA(x5)
U35_GA(x1, x2, x3, x4, x5)  =  U35_GA(x5)
U36_GA(x1, x2, x3, x4, x5)  =  U36_GA(x5)
U37_GA(x1, x2, x3, x4, x5)  =  U37_GA(x2, x5)
U38_GA(x1, x2, x3, x4, x5)  =  U38_GA(x5)
U39_GA(x1, x2, x3, x4, x5)  =  U39_GA(x2, x5)
U40_GA(x1, x2, x3, x4, x5)  =  U40_GA(x5)
U41_GA(x1, x2, x3, x4, x5)  =  U41_GA(x5)
U42_GA(x1, x2, x3)  =  U42_GA(x3)
U43_GA(x1, x2, x3)  =  U43_GA(x3)
U44_GA(x1, x2, x3)  =  U44_GA(x3)
U7_GA(x1, x2)  =  U7_GA(x2)
U8_GA(x1, x2, x3, x4, x5)  =  U8_GA(x5)
U9_GA(x1, x2, x3, x4, x5)  =  U9_GA(x2, x5)
U10_GA(x1, x2, x3, x4, x5)  =  U10_GA(x5)
U11_GA(x1, x2, x3, x4, x5)  =  U11_GA(x2, x5)
U12_GA(x1, x2, x3, x4, x5)  =  U12_GA(x5)
U13_GA(x1, x2, x3, x4, x5)  =  U13_GA(x5)
U14_GA(x1, x2, x3, x4, x5)  =  U14_GA(x5)
U15_GA(x1, x2, x3, x4, x5)  =  U15_GA(x2, x5)
U16_GA(x1, x2, x3, x4, x5)  =  U16_GA(x5)
U17_GA(x1, x2, x3, x4, x5)  =  U17_GA(x2, x5)
U18_GA(x1, x2, x3, x4, x5)  =  U18_GA(x5)
U19_GA(x1, x2, x3, x4, x5)  =  U19_GA(x5)
U20_GA(x1, x2, x3)  =  U20_GA(x3)
U21_GA(x1, x2, x3)  =  U21_GA(x3)
U22_GA(x1, x2, x3)  =  U22_GA(x3)
U7_AA(x1, x2)  =  U7_AA(x2)
U8_AA(x1, x2, x3, x4, x5)  =  U8_AA(x5)
U9_AA(x1, x2, x3, x4, x5)  =  U9_AA(x5)
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)
U11_AA(x1, x2, x3, x4, x5)  =  U11_AA(x5)
U12_AA(x1, x2, x3, x4, x5)  =  U12_AA(x5)
U13_AA(x1, x2, x3, x4, x5)  =  U13_AA(x5)
U14_AA(x1, x2, x3, x4, x5)  =  U14_AA(x5)
U15_AA(x1, x2, x3, x4, x5)  =  U15_AA(x5)
U16_AA(x1, x2, x3, x4, x5)  =  U16_AA(x5)
U17_AA(x1, x2, x3, x4, x5)  =  U17_AA(x5)
U18_AA(x1, x2, x3, x4, x5)  =  U18_AA(x5)
U19_AA(x1, x2, x3, x4, x5)  =  U19_AA(x5)
U20_AA(x1, x2, x3)  =  U20_AA(x3)
U21_AA(x1, x2, x3)  =  U21_AA(x3)
U22_AA(x1, x2, x3)  =  U22_AA(x3)

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

(57) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 6 SCCs with 267 less nodes.

(58) Complex Obligation (AND)

(59) Obligation:

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

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)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg
U54_gg(x1, x2)  =  U54_gg(x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3)  =  U26_ga(x3)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x6)
U67_gg(x1, x2)  =  U67_gg(x2)
U68_gg(x1, x2, x3)  =  U68_gg(x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x2, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x4)
U56_ag(x1, x2, x3)  =  U56_ag(x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x2, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x3)
U82_gg(x1, x2, x3)  =  U82_gg(x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x3)
U84_gg(x1, x2, x3)  =  U84_gg(x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x5)
U62_ag(x1, x2, x3)  =  U62_ag(x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x6)
U67_ag(x1, x2)  =  U67_ag(x2)
U68_ag(x1, x2, x3)  =  U68_ag(x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x4)
U81_ag(x1, x2, x3)  =  U81_ag(x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x7)
p90_out_ga(x1, x2)  =  p90_out_ga
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x5)
U42_ga(x1, x2, x3)  =  U42_ga(x3)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
U44_ga(x1, x2, x3)  =  U44_ga(x3)
p9_out_ga(x1, x2)  =  p9_out_ga
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P24_IN_AA(x1, x2)  =  P24_IN_AA
P39_IN_AAAA(x1, x2, x3, x4)  =  P39_IN_AAAA
U4_AAAA(x1, x2, x3, x4, x5)  =  U4_AAAA(x5)

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

(60) UsableRulesProof (EQUIVALENT transformation)

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

(61) Obligation:

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

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)

The TRS R consists of the following rules:

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)

The argument filtering Pi contains the following mapping:
const(x1)  =  const
1  =  1
t  =  t
0  =  0
+(x1, x2)  =  +(x1, x2)
*(x1, x2)  =  *(x1, x2)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
P24_IN_AA(x1, x2)  =  P24_IN_AA
P39_IN_AAAA(x1, x2, x3, x4)  =  P39_IN_AAAA
U4_AAAA(x1, x2, x3, x4, x5)  =  U4_AAAA(x5)

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

(62) PiDPToQDPProof (SOUND transformation)

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

(63) Obligation:

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

P24_IN_AAP39_IN_AAAA
P39_IN_AAAAP24_IN_AA
P39_IN_AAAAU4_AAAA(p24_in_aa)
U4_AAAA(p24_out_aa) → P24_IN_AA

The TRS R consists of the following rules:

p24_in_aap24_out_aa
p24_in_aaU1_aa(p39_in_aaaa)
p24_in_aaU2_aa(p39_in_aaaa)
U1_aa(p39_out_aaaa) → p24_out_aa
U2_aa(p39_out_aaaa) → p24_out_aa
p39_in_aaaaU3_aaaa(p24_in_aa)
p39_in_aaaaU4_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

The set Q consists of the following terms:

p24_in_aa
U1_aa(x0)
U2_aa(x0)
p39_in_aaaa
U3_aaaa(x0)
U4_aaaa(x0)
U5_aaaa(x0)

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

(64) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule P39_IN_AAAAU4_AAAA(p24_in_aa) at position [0] we obtained the following new rules [LPAR04]:

P39_IN_AAAAU4_AAAA(p24_out_aa)
P39_IN_AAAAU4_AAAA(U1_aa(p39_in_aaaa))
P39_IN_AAAAU4_AAAA(U2_aa(p39_in_aaaa))

(65) Obligation:

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

P24_IN_AAP39_IN_AAAA
P39_IN_AAAAP24_IN_AA
U4_AAAA(p24_out_aa) → P24_IN_AA
P39_IN_AAAAU4_AAAA(p24_out_aa)
P39_IN_AAAAU4_AAAA(U1_aa(p39_in_aaaa))
P39_IN_AAAAU4_AAAA(U2_aa(p39_in_aaaa))

The TRS R consists of the following rules:

p24_in_aap24_out_aa
p24_in_aaU1_aa(p39_in_aaaa)
p24_in_aaU2_aa(p39_in_aaaa)
U1_aa(p39_out_aaaa) → p24_out_aa
U2_aa(p39_out_aaaa) → p24_out_aa
p39_in_aaaaU3_aaaa(p24_in_aa)
p39_in_aaaaU4_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

The set Q consists of the following terms:

p24_in_aa
U1_aa(x0)
U2_aa(x0)
p39_in_aaaa
U3_aaaa(x0)
U4_aaaa(x0)
U5_aaaa(x0)

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

(66) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = P39_IN_AAAA evaluates to t =P39_IN_AAAA

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




Rewriting sequence

P39_IN_AAAAP24_IN_AA
with rule P39_IN_AAAAP24_IN_AA at position [] and matcher [ ]

P24_IN_AAP39_IN_AAAA
with rule P24_IN_AAP39_IN_AAAA

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(67) NO

(68) Obligation:

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

P60_IN_AA(d(T125), X316) → P60_IN_AA(T125, X315)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg
U54_gg(x1, x2)  =  U54_gg(x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3)  =  U26_ga(x3)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x6)
U67_gg(x1, x2)  =  U67_gg(x2)
U68_gg(x1, x2, x3)  =  U68_gg(x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x2, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x4)
U56_ag(x1, x2, x3)  =  U56_ag(x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x2, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x3)
U82_gg(x1, x2, x3)  =  U82_gg(x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x3)
U84_gg(x1, x2, x3)  =  U84_gg(x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x5)
U62_ag(x1, x2, x3)  =  U62_ag(x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x6)
U67_ag(x1, x2)  =  U67_ag(x2)
U68_ag(x1, x2, x3)  =  U68_ag(x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x4)
U81_ag(x1, x2, x3)  =  U81_ag(x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x7)
p90_out_ga(x1, x2)  =  p90_out_ga
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x5)
U42_ga(x1, x2, x3)  =  U42_ga(x3)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
U44_ga(x1, x2, x3)  =  U44_ga(x3)
p9_out_ga(x1, x2)  =  p9_out_ga
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P60_IN_AA(x1, x2)  =  P60_IN_AA

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

(69) UsableRulesProof (EQUIVALENT transformation)

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

(70) Obligation:

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

P60_IN_AA(d(T125), X316) → P60_IN_AA(T125, X315)

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

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

(71) PiDPToQDPProof (SOUND transformation)

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

(72) Obligation:

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

P60_IN_AAP60_IN_AA

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

(73) NonTerminationProof (EQUIVALENT transformation)

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

s = P60_IN_AA evaluates to t =P60_IN_AA

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




Rewriting sequence

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



(74) NO

(75) Obligation:

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

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)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg
U54_gg(x1, x2)  =  U54_gg(x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3)  =  U26_ga(x3)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x6)
U67_gg(x1, x2)  =  U67_gg(x2)
U68_gg(x1, x2, x3)  =  U68_gg(x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x2, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x4)
U56_ag(x1, x2, x3)  =  U56_ag(x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x2, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x3)
U82_gg(x1, x2, x3)  =  U82_gg(x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x3)
U84_gg(x1, x2, x3)  =  U84_gg(x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x5)
U62_ag(x1, x2, x3)  =  U62_ag(x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x6)
U67_ag(x1, x2)  =  U67_ag(x2)
U68_ag(x1, x2, x3)  =  U68_ag(x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x4)
U81_ag(x1, x2, x3)  =  U81_ag(x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x7)
p90_out_ga(x1, x2)  =  p90_out_ga
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x5)
U42_ga(x1, x2, x3)  =  U42_ga(x3)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
U44_ga(x1, x2, x3)  =  U44_ga(x3)
p9_out_ga(x1, x2)  =  p9_out_ga
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P39_IN_GAGA(x1, x2, x3, x4)  =  P39_IN_GAGA(x1, x3)
P24_IN_GA(x1, x2)  =  P24_IN_GA(x1)
U4_GAGA(x1, x2, x3, x4, x5)  =  U4_GAGA(x3, x5)

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

(76) UsableRulesProof (EQUIVALENT transformation)

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

(77) Obligation:

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

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)

The TRS R consists of the following rules:

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)

The argument filtering Pi contains the following mapping:
const(x1)  =  const
1  =  1
t  =  t
0  =  0
+(x1, x2)  =  +(x1, x2)
*(x1, x2)  =  *(x1, x2)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x5)
P39_IN_GAGA(x1, x2, x3, x4)  =  P39_IN_GAGA(x1, x3)
P24_IN_GA(x1, x2)  =  P24_IN_GA(x1)
U4_GAGA(x1, x2, x3, x4, x5)  =  U4_GAGA(x3, x5)

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

(78) PiDPToQDPProof (SOUND transformation)

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

(79) Obligation:

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

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)

The TRS R consists of the following rules:

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

The set Q consists of the following terms:

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)

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

(80) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • P39_IN_GAGA(T45, T46) → P24_IN_GA(T45)
    The graph contains the following edges 1 >= 1

  • P39_IN_GAGA(T45, T48) → U4_GAGA(T48, p24_in_ga(T45))
    The graph contains the following edges 2 >= 1

  • U4_GAGA(T48, p24_out_ga) → P24_IN_GA(T48)
    The graph contains the following edges 1 >= 1

  • P24_IN_GA(+(T45, T46)) → P39_IN_GAGA(T45, T46)
    The graph contains the following edges 1 > 1, 1 > 2

  • P24_IN_GA(*(T59, T60)) → P39_IN_GAGA(T59, T60)
    The graph contains the following edges 1 > 1, 1 > 2

(81) YES

(82) Obligation:

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

P60_IN_GA(d(T125), X316) → P60_IN_GA(T125, X315)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg
U54_gg(x1, x2)  =  U54_gg(x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3)  =  U26_ga(x3)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x6)
U67_gg(x1, x2)  =  U67_gg(x2)
U68_gg(x1, x2, x3)  =  U68_gg(x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x2, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x4)
U56_ag(x1, x2, x3)  =  U56_ag(x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x2, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x3)
U82_gg(x1, x2, x3)  =  U82_gg(x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x3)
U84_gg(x1, x2, x3)  =  U84_gg(x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x5)
U62_ag(x1, x2, x3)  =  U62_ag(x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x6)
U67_ag(x1, x2)  =  U67_ag(x2)
U68_ag(x1, x2, x3)  =  U68_ag(x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x4)
U81_ag(x1, x2, x3)  =  U81_ag(x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x7)
p90_out_ga(x1, x2)  =  p90_out_ga
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x5)
U42_ga(x1, x2, x3)  =  U42_ga(x3)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
U44_ga(x1, x2, x3)  =  U44_ga(x3)
p9_out_ga(x1, x2)  =  p9_out_ga
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P60_IN_GA(x1, x2)  =  P60_IN_GA(x1)

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

(83) UsableRulesProof (EQUIVALENT transformation)

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

(84) Obligation:

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

P60_IN_GA(d(T125), X316) → P60_IN_GA(T125, X315)

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

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

(85) PiDPToQDPProof (SOUND transformation)

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

(86) Obligation:

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

P60_IN_GA(d(T125)) → P60_IN_GA(T125)

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

(87) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • P60_IN_GA(d(T125)) → P60_IN_GA(T125)
    The graph contains the following edges 1 > 1

(88) YES

(89) Obligation:

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

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)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg
U54_gg(x1, x2)  =  U54_gg(x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3)  =  U26_ga(x3)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x6)
U67_gg(x1, x2)  =  U67_gg(x2)
U68_gg(x1, x2, x3)  =  U68_gg(x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x2, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x4)
U56_ag(x1, x2, x3)  =  U56_ag(x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x2, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x3)
U82_gg(x1, x2, x3)  =  U82_gg(x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x3)
U84_gg(x1, x2, x3)  =  U84_gg(x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x5)
U62_ag(x1, x2, x3)  =  U62_ag(x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x6)
U67_ag(x1, x2)  =  U67_ag(x2)
U68_ag(x1, x2, x3)  =  U68_ag(x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x4)
U81_ag(x1, x2, x3)  =  U81_ag(x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x7)
p90_out_ga(x1, x2)  =  p90_out_ga
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x5)
U42_ga(x1, x2, x3)  =  U42_ga(x3)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
U44_ga(x1, x2, x3)  =  U44_ga(x3)
p9_out_ga(x1, x2)  =  p9_out_ga
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P1_IN_GG(x1, x2)  =  P1_IN_GG(x1, x2)
P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)
U46_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGGG(x3, x4, x5, x6, x7)
P137_IN_GGGG(x1, x2, x3, x4)  =  P137_IN_GGGG(x1, x2, x3, x4)
U49_GGGG(x1, x2, x3, x4, x5)  =  U49_GGGG(x3, x4, x5)

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

(90) UsableRulesProof (EQUIVALENT transformation)

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

(91) Obligation:

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

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)

The TRS R consists of the following rules:

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)

The argument filtering Pi contains the following mapping:
const(x1)  =  const
1  =  1
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg
0  =  0
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x5)
U62_gg(x1, x2, x3)  =  U62_gg(x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x7)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x3, x4, x5)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x7)
P1_IN_GG(x1, x2)  =  P1_IN_GG(x1, x2)
P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGGG(x1, x2, x3, x4, x5, x6)
U46_GGGGGG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGGG(x3, x4, x5, x6, x7)
P137_IN_GGGG(x1, x2, x3, x4)  =  P137_IN_GGGG(x1, x2, x3, x4)
U49_GGGG(x1, x2, x3, x4, x5)  =  U49_GGGG(x3, x4, x5)

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

(92) PiDPToQDPProof (SOUND transformation)

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

(93) Obligation:

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

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)

The TRS R consists of the following rules:

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

The set Q consists of the following terms:

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)

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

(94) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194) → P1_IN_GG(d(e(T224)), T222)
    The graph contains the following edges 2 >= 2

  • P134_IN_GGGGGG(T224, T222, T227, T223, T228, T194) → U46_GGGGGG(T227, T223, T228, T194, p1_in_gg(d(e(T224)), T222))
    The graph contains the following edges 3 >= 1, 4 >= 2, 5 >= 3, 6 >= 4

  • P1_IN_GG(d(e(*(T267, T268))), +(*(T267, T269), *(T268, T270))) → P137_IN_GGGG(T267, T270, T268, T269)
    The graph contains the following edges 1 > 1, 2 > 1, 2 > 2, 1 > 3, 2 > 3, 2 > 4

  • U46_GGGGGG(T227, T223, T228, T194, p1_out_gg) → P137_IN_GGGG(T227, T223, T228, T194)
    The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3, 4 >= 4

  • P137_IN_GGGG(T227, T223, T229, T194) → U49_GGGG(T229, T194, p1_in_gg(d(e(T227)), T223))
    The graph contains the following edges 3 >= 1, 4 >= 2

  • P137_IN_GGGG(T227, T223, T228, T194) → P1_IN_GG(d(e(T227)), T223)
    The graph contains the following edges 2 >= 2

  • U49_GGGG(T229, T194, p1_out_gg) → P1_IN_GG(d(e(T229)), T194)
    The graph contains the following edges 2 >= 2

  • P1_IN_GG(d(e(+(const, T203))), +(const, T194)) → P1_IN_GG(d(e(T203)), T194)
    The graph contains the following edges 2 > 2

  • P1_IN_GG(d(e(+(t, T197))), +(const, T194)) → P1_IN_GG(d(e(T197)), T194)
    The graph contains the following edges 2 > 2

  • P1_IN_GG(d(e(*(t, T293))), +(*(t, T294), *(T293, const))) → P1_IN_GG(d(e(T293)), T294)
    The graph contains the following edges 2 > 2

  • P1_IN_GG(d(e(*(const, T293))), +(*(const, T294), *(T293, const))) → P1_IN_GG(d(e(T293)), T294)
    The graph contains the following edges 2 > 2

  • P1_IN_GG(d(e(+(+(T224, T225), T226))), +(+(T222, T223), T194)) → P134_IN_GGGGGG(T224, T222, T225, T223, T226, T194)
    The graph contains the following edges 1 > 1, 2 > 2, 1 > 3, 2 > 4, 1 > 5, 2 > 6

  • P1_IN_GG(d(e(+(*(T246, T247), T250))), +(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGGG(T246, T249, T247, T248, T250, T194)
    The graph contains the following edges 1 > 1, 2 > 1, 2 > 2, 1 > 3, 2 > 3, 2 > 4, 1 > 5, 2 > 6

  • P1_IN_GG(d(e(*(+(T317, T318), T293))), +(*(+(T317, T318), T294), *(T293, +(T319, T320)))) → P134_IN_GGGGGG(T317, T319, T318, T320, T293, T294)
    The graph contains the following edges 1 > 1, 2 > 1, 2 > 2, 1 > 3, 2 > 3, 2 > 4, 1 > 5, 2 > 5, 2 > 6

  • 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)
    The graph contains the following edges 1 > 1, 2 > 1, 2 > 2, 1 > 3, 2 > 3, 2 > 4, 1 > 5, 2 > 5, 2 > 6

(95) YES

(96) Obligation:

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

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)

The TRS R consists of the following rules:

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))

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag
U54_ag(x1, x2)  =  U54_ag(x2)
p9_in_aa(x1, x2)  =  p9_in_aa
U6_aa(x1)  =  U6_aa(x1)
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg
U54_gg(x1, x2)  =  U54_gg(x2)
p9_in_ga(x1, x2)  =  p9_in_ga(x1)
U6_ga(x1)  =  U6_ga(x1)
0  =  0
U55_gg(x1, x2)  =  U55_gg(x2)
p90_in_ga(x1, x2)  =  p90_in_ga(x1)
U28_ga(x1)  =  U28_ga(x1)
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x5)
U61_gg(x1, x2, x3, x4)  =  U61_gg(x4)
p150_in_gagg(x1, x2, x3, x4)  =  p150_in_gagg(x1, x3, x4)
U51_gagg(x1, x2, x3, x4, x5)  =  U51_gagg(x5)
p60_in_ga(x1, x2)  =  p60_in_ga(x1)
p60_out_ga(x1, x2)  =  p60_out_ga
U23_ga(x1, x2, x3, x4, x5)  =  U23_ga(x5)
p39_in_gaga(x1, x2, x3, x4)  =  p39_in_gaga(x1, x3)
U3_gaga(x1, x2, x3, x4, x5)  =  U3_gaga(x5)
p24_in_ga(x1, x2)  =  p24_in_ga(x1)
p24_out_ga(x1, x2)  =  p24_out_ga
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x5)
U4_gaga(x1, x2, x3, x4, x5)  =  U4_gaga(x3, x5)
U2_ga(x1, x2, x3, x4, x5)  =  U2_ga(x5)
p39_out_gaga(x1, x2, x3, x4)  =  p39_out_gaga
U5_gaga(x1, x2, x3, x4, x5)  =  U5_gaga(x5)
U24_ga(x1, x2, x3, x4, x5)  =  U24_ga(x5)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
U26_ga(x1, x2, x3)  =  U26_ga(x3)
U27_ga(x1, x2, x3)  =  U27_ga(x3)
p24_in_aa(x1, x2)  =  p24_in_aa
p24_out_aa(x1, x2)  =  p24_out_aa
U1_aa(x1, x2, x3, x4, x5)  =  U1_aa(x5)
p39_in_aaaa(x1, x2, x3, x4)  =  p39_in_aaaa
U3_aaaa(x1, x2, x3, x4, x5)  =  U3_aaaa(x5)
U2_aa(x1, x2, x3, x4, x5)  =  U2_aa(x5)
U4_aaaa(x1, x2, x3, x4, x5)  =  U4_aaaa(x5)
U5_aaaa(x1, x2, x3, x4, x5)  =  U5_aaaa(x5)
p39_out_aaaa(x1, x2, x3, x4)  =  p39_out_aaaa
p150_out_gagg(x1, x2, x3, x4)  =  p150_out_gagg
U52_gagg(x1, x2, x3, x4, x5)  =  U52_gagg(x3, x4, x5)
U53_gagg(x1, x2, x3, x4, x5)  =  U53_gagg(x5)
U55_ag(x1, x2)  =  U55_ag(x2)
p90_in_aa(x1, x2)  =  p90_in_aa
U28_aa(x1)  =  U28_aa(x1)
U62_gg(x1, x2, x3)  =  U62_gg(x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x7)
U66_gg(x1, x2, x3, x4, x5, x6)  =  U66_gg(x6)
U67_gg(x1, x2)  =  U67_gg(x2)
U68_gg(x1, x2, x3)  =  U68_gg(x3)
U69_gg(x1, x2, x3, x4)  =  U69_gg(x4)
U70_gg(x1, x2, x3, x4)  =  U70_gg(x2, x4)
U71_gg(x1, x2, x3, x4)  =  U71_gg(x4)
U72_gg(x1, x2, x3, x4)  =  U72_gg(x2, x3, x4)
U73_gg(x1, x2, x3, x4, x5)  =  U73_gg(x3, x5)
U74_gg(x1, x2, x3, x4)  =  U74_gg(x4)
U56_ag(x1, x2, x3)  =  U56_ag(x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x7)
U75_gg(x1, x2, x3, x4)  =  U75_gg(x4)
U76_gg(x1, x2, x3, x4)  =  U76_gg(x2, x4)
U77_gg(x1, x2, x3, x4)  =  U77_gg(x4)
U78_gg(x1, x2, x3, x4)  =  U78_gg(x2, x3, x4)
U79_gg(x1, x2, x3, x4, x5)  =  U79_gg(x3, x5)
U80_gg(x1, x2, x3, x4)  =  U80_gg(x4)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x3, x4, x5)
U81_gg(x1, x2, x3)  =  U81_gg(x3)
U82_gg(x1, x2, x3)  =  U82_gg(x2, x3)
U83_gg(x1, x2, x3)  =  U83_gg(x3)
U84_gg(x1, x2, x3)  =  U84_gg(x2, x3)
U85_gg(x1, x2, x3)  =  U85_gg(x3)
U61_ag(x1, x2, x3, x4)  =  U61_ag(x4)
p150_in_aagg(x1, x2, x3, x4)  =  p150_in_aagg(x3, x4)
U51_aagg(x1, x2, x3, x4, x5)  =  U51_aagg(x5)
p60_in_aa(x1, x2)  =  p60_in_aa
p60_out_aa(x1, x2)  =  p60_out_aa
U23_aa(x1, x2, x3, x4, x5)  =  U23_aa(x5)
U24_aa(x1, x2, x3, x4, x5)  =  U24_aa(x5)
U25_aa(x1, x2, x3)  =  U25_aa(x3)
U26_aa(x1, x2, x3)  =  U26_aa(x3)
U27_aa(x1, x2, x3)  =  U27_aa(x3)
p150_out_aagg(x1, x2, x3, x4)  =  p150_out_aagg
U52_aagg(x1, x2, x3, x4, x5)  =  U52_aagg(x3, x4, x5)
U53_aagg(x1, x2, x3, x4, x5)  =  U53_aagg(x5)
U62_ag(x1, x2, x3)  =  U62_ag(x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x7)
U66_ag(x1, x2, x3, x4, x5, x6)  =  U66_ag(x6)
U67_ag(x1, x2)  =  U67_ag(x2)
U68_ag(x1, x2, x3)  =  U68_ag(x3)
U69_ag(x1, x2, x3, x4)  =  U69_ag(x4)
U70_ag(x1, x2, x3, x4)  =  U70_ag(x4)
U71_ag(x1, x2, x3, x4)  =  U71_ag(x4)
U72_ag(x1, x2, x3, x4)  =  U72_ag(x3, x4)
U73_ag(x1, x2, x3, x4, x5)  =  U73_ag(x3, x5)
U74_ag(x1, x2, x3, x4)  =  U74_ag(x4)
U75_ag(x1, x2, x3, x4)  =  U75_ag(x4)
U76_ag(x1, x2, x3, x4)  =  U76_ag(x4)
U77_ag(x1, x2, x3, x4)  =  U77_ag(x4)
U78_ag(x1, x2, x3, x4)  =  U78_ag(x3, x4)
U79_ag(x1, x2, x3, x4, x5)  =  U79_ag(x3, x5)
U80_ag(x1, x2, x3, x4)  =  U80_ag(x4)
U81_ag(x1, x2, x3)  =  U81_ag(x3)
U82_ag(x1, x2, x3)  =  U82_ag(x2, x3)
U83_ag(x1, x2, x3)  =  U83_ag(x3)
U84_ag(x1, x2, x3)  =  U84_ag(x2, x3)
U85_ag(x1, x2, x3)  =  U85_ag(x3)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x5)
p90_out_aa(x1, x2)  =  p90_out_aa
U29_aa(x1, x2)  =  U29_aa(x2)
U30_aa(x1, x2, x3, x4, x5)  =  U30_aa(x5)
U31_aa(x1, x2, x3, x4, x5)  =  U31_aa(x5)
U32_aa(x1, x2, x3, x4, x5)  =  U32_aa(x5)
U33_aa(x1, x2, x3, x4, x5)  =  U33_aa(x5)
U34_aa(x1, x2, x3, x4, x5)  =  U34_aa(x5)
U35_aa(x1, x2, x3, x4, x5)  =  U35_aa(x5)
U36_aa(x1, x2, x3, x4, x5)  =  U36_aa(x5)
U37_aa(x1, x2, x3, x4, x5)  =  U37_aa(x5)
U38_aa(x1, x2, x3, x4, x5)  =  U38_aa(x5)
U39_aa(x1, x2, x3, x4, x5)  =  U39_aa(x5)
U40_aa(x1, x2, x3, x4, x5)  =  U40_aa(x5)
U41_aa(x1, x2, x3, x4, x5)  =  U41_aa(x5)
U42_aa(x1, x2, x3)  =  U42_aa(x3)
U43_aa(x1, x2, x3)  =  U43_aa(x3)
U44_aa(x1, x2, x3)  =  U44_aa(x3)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x7)
p90_out_ga(x1, x2)  =  p90_out_ga
U29_ga(x1, x2)  =  U29_ga(x2)
U30_ga(x1, x2, x3, x4, x5)  =  U30_ga(x5)
U31_ga(x1, x2, x3, x4, x5)  =  U31_ga(x2, x5)
U32_ga(x1, x2, x3, x4, x5)  =  U32_ga(x5)
U33_ga(x1, x2, x3, x4, x5)  =  U33_ga(x2, x5)
U34_ga(x1, x2, x3, x4, x5)  =  U34_ga(x5)
U35_ga(x1, x2, x3, x4, x5)  =  U35_ga(x5)
U36_ga(x1, x2, x3, x4, x5)  =  U36_ga(x5)
U37_ga(x1, x2, x3, x4, x5)  =  U37_ga(x2, x5)
U38_ga(x1, x2, x3, x4, x5)  =  U38_ga(x5)
U39_ga(x1, x2, x3, x4, x5)  =  U39_ga(x2, x5)
U40_ga(x1, x2, x3, x4, x5)  =  U40_ga(x5)
U41_ga(x1, x2, x3, x4, x5)  =  U41_ga(x5)
U42_ga(x1, x2, x3)  =  U42_ga(x3)
U43_ga(x1, x2, x3)  =  U43_ga(x3)
U44_ga(x1, x2, x3)  =  U44_ga(x3)
p9_out_ga(x1, x2)  =  p9_out_ga
U7_ga(x1, x2)  =  U7_ga(x2)
U8_ga(x1, x2, x3, x4, x5)  =  U8_ga(x5)
U9_ga(x1, x2, x3, x4, x5)  =  U9_ga(x2, x5)
U10_ga(x1, x2, x3, x4, x5)  =  U10_ga(x5)
U11_ga(x1, x2, x3, x4, x5)  =  U11_ga(x2, x5)
U12_ga(x1, x2, x3, x4, x5)  =  U12_ga(x5)
U13_ga(x1, x2, x3, x4, x5)  =  U13_ga(x5)
U14_ga(x1, x2, x3, x4, x5)  =  U14_ga(x5)
U15_ga(x1, x2, x3, x4, x5)  =  U15_ga(x2, x5)
U16_ga(x1, x2, x3, x4, x5)  =  U16_ga(x5)
U17_ga(x1, x2, x3, x4, x5)  =  U17_ga(x2, x5)
U18_ga(x1, x2, x3, x4, x5)  =  U18_ga(x5)
U19_ga(x1, x2, x3, x4, x5)  =  U19_ga(x5)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U7_aa(x1, x2)  =  U7_aa(x2)
p9_out_aa(x1, x2)  =  p9_out_aa
U8_aa(x1, x2, x3, x4, x5)  =  U8_aa(x5)
U9_aa(x1, x2, x3, x4, x5)  =  U9_aa(x5)
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5)  =  U14_aa(x5)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
U16_aa(x1, x2, x3, x4, x5)  =  U16_aa(x5)
U17_aa(x1, x2, x3, x4, x5)  =  U17_aa(x5)
U18_aa(x1, x2, x3, x4, x5)  =  U18_aa(x5)
U19_aa(x1, x2, x3, x4, x5)  =  U19_aa(x5)
U20_aa(x1, x2, x3)  =  U20_aa(x3)
U21_aa(x1, x2, x3)  =  U21_aa(x3)
U22_aa(x1, x2, x3)  =  U22_aa(x3)
P1_IN_AG(x1, x2)  =  P1_IN_AG(x2)
P134_IN_AGAGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_AGAGAG(x2, x4, x6)
P134_IN_GGGGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGAG(x1, x2, x3, x4, x6)
U46_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGAG(x3, x4, x6, x7)
P137_IN_GGAG(x1, x2, x3, x4)  =  P137_IN_GGAG(x1, x2, x4)
U49_GGAG(x1, x2, x3, x4, x5)  =  U49_GGAG(x4, x5)
U46_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_AGAGAG(x4, x6, x7)
P137_IN_AGAG(x1, x2, x3, x4)  =  P137_IN_AGAG(x2, x4)
U49_AGAG(x1, x2, x3, x4, x5)  =  U49_AGAG(x4, x5)

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

(97) UsableRulesProof (EQUIVALENT transformation)

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

(98) Obligation:

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

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)

The TRS R consists of the following rules:

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)

The argument filtering Pi contains the following mapping:
p1_in_ag(x1, x2)  =  p1_in_ag(x2)
const(x1)  =  const
1  =  1
p1_out_ag(x1, x2)  =  p1_out_ag
p1_in_gg(x1, x2)  =  p1_in_gg(x1, x2)
d(x1)  =  d(x1)
e(x1)  =  e(x1)
t  =  t
p1_out_gg(x1, x2)  =  p1_out_gg
0  =  0
+(x1, x2)  =  +(x1, x2)
U56_gg(x1, x2, x3)  =  U56_gg(x3)
U57_gg(x1, x2, x3, x4)  =  U57_gg(x4)
U58_gg(x1, x2, x3, x4, x5, x6, x7)  =  U58_gg(x7)
p134_in_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_in_gggggg(x1, x2, x3, x4, x5, x6)
U45_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U45_gggggg(x7)
*(x1, x2)  =  *(x1, x2)
U59_gg(x1, x2, x3, x4, x5, x6, x7)  =  U59_gg(x7)
U46_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U46_gggggg(x3, x4, x5, x6, x7)
U60_gg(x1, x2, x3, x4, x5)  =  U60_gg(x5)
p137_in_gggg(x1, x2, x3, x4)  =  p137_in_gggg(x1, x2, x3, x4)
U48_gggg(x1, x2, x3, x4, x5)  =  U48_gggg(x5)
U62_gg(x1, x2, x3)  =  U62_gg(x3)
U63_gg(x1, x2, x3, x4)  =  U63_gg(x4)
U64_gg(x1, x2, x3, x4, x5, x6, x7)  =  U64_gg(x7)
p134_out_gggggg(x1, x2, x3, x4, x5, x6)  =  p134_out_gggggg
U65_gg(x1, x2, x3, x4, x5, x6, x7)  =  U65_gg(x7)
U56_ag(x1, x2, x3)  =  U56_ag(x3)
U57_ag(x1, x2, x3, x4)  =  U57_ag(x4)
U58_ag(x1, x2, x3, x4, x5, x6, x7)  =  U58_ag(x7)
p134_in_agagag(x1, x2, x3, x4, x5, x6)  =  p134_in_agagag(x2, x4, x6)
U45_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U45_agagag(x7)
U59_ag(x1, x2, x3, x4, x5, x6, x7)  =  U59_ag(x7)
p134_in_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_in_ggggag(x1, x2, x3, x4, x6)
U45_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U45_ggggag(x7)
U60_ag(x1, x2, x3, x4, x5)  =  U60_ag(x5)
U49_gggg(x1, x2, x3, x4, x5)  =  U49_gggg(x3, x4, x5)
U62_ag(x1, x2, x3)  =  U62_ag(x3)
U63_ag(x1, x2, x3, x4)  =  U63_ag(x4)
U64_ag(x1, x2, x3, x4, x5, x6, x7)  =  U64_ag(x7)
U65_ag(x1, x2, x3, x4, x5, x6, x7)  =  U65_ag(x7)
U50_gggg(x1, x2, x3, x4, x5)  =  U50_gggg(x5)
p137_out_gggg(x1, x2, x3, x4)  =  p137_out_gggg
p134_out_ggggag(x1, x2, x3, x4, x5, x6)  =  p134_out_ggggag
U46_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U46_ggggag(x3, x4, x6, x7)
U47_ggggag(x1, x2, x3, x4, x5, x6, x7)  =  U47_ggggag(x7)
p137_in_ggag(x1, x2, x3, x4)  =  p137_in_ggag(x1, x2, x4)
U48_ggag(x1, x2, x3, x4, x5)  =  U48_ggag(x5)
p137_out_ggag(x1, x2, x3, x4)  =  p137_out_ggag
U49_ggag(x1, x2, x3, x4, x5)  =  U49_ggag(x4, x5)
U50_ggag(x1, x2, x3, x4, x5)  =  U50_ggag(x5)
p134_out_agagag(x1, x2, x3, x4, x5, x6)  =  p134_out_agagag
U46_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U46_agagag(x4, x6, x7)
U47_agagag(x1, x2, x3, x4, x5, x6, x7)  =  U47_agagag(x7)
p137_in_agag(x1, x2, x3, x4)  =  p137_in_agag(x2, x4)
U48_agag(x1, x2, x3, x4, x5)  =  U48_agag(x5)
p137_out_agag(x1, x2, x3, x4)  =  p137_out_agag
U49_agag(x1, x2, x3, x4, x5)  =  U49_agag(x4, x5)
U50_agag(x1, x2, x3, x4, x5)  =  U50_agag(x5)
U47_gggggg(x1, x2, x3, x4, x5, x6, x7)  =  U47_gggggg(x7)
P1_IN_AG(x1, x2)  =  P1_IN_AG(x2)
P134_IN_AGAGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_AGAGAG(x2, x4, x6)
P134_IN_GGGGAG(x1, x2, x3, x4, x5, x6)  =  P134_IN_GGGGAG(x1, x2, x3, x4, x6)
U46_GGGGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_GGGGAG(x3, x4, x6, x7)
P137_IN_GGAG(x1, x2, x3, x4)  =  P137_IN_GGAG(x1, x2, x4)
U49_GGAG(x1, x2, x3, x4, x5)  =  U49_GGAG(x4, x5)
U46_AGAGAG(x1, x2, x3, x4, x5, x6, x7)  =  U46_AGAGAG(x4, x6, x7)
P137_IN_AGAG(x1, x2, x3, x4)  =  P137_IN_AGAG(x2, x4)
U49_AGAG(x1, x2, x3, x4, x5)  =  U49_AGAG(x4, x5)

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

(99) PiDPToQDPProof (SOUND transformation)

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

(100) Obligation:

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

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)

The TRS R consists of the following rules:

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

The set Q consists of the following terms:

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)

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

(101) QDPSizeChangeProof (EQUIVALENT transformation)

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

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

  • U46_GGGGAG(T227, T223, T194, p1_out_gg) → P137_IN_GGAG(T227, T223, T194)
    The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3

  • P1_IN_AG(+(+(*(T246, T248), *(T247, T249)), T194)) → P134_IN_GGGGAG(T246, T249, T247, T248, T194)
    The graph contains the following edges 1 > 1, 1 > 2, 1 > 3, 1 > 4, 1 > 5

  • P137_IN_GGAG(T227, T223, T194) → U49_GGAG(T194, p1_in_gg(d(e(T227)), T223))
    The graph contains the following edges 3 >= 1

  • P134_IN_GGGGAG(T224, T222, T227, T223, T194) → U46_GGGGAG(T227, T223, T194, p1_in_gg(d(e(T224)), T222))
    The graph contains the following edges 3 >= 1, 4 >= 2, 5 >= 3

  • U49_GGAG(T194, p1_out_gg) → P1_IN_AG(T194)
    The graph contains the following edges 1 >= 1

  • P1_IN_AG(+(const, T194)) → P1_IN_AG(T194)
    The graph contains the following edges 1 > 1

  • P1_IN_AG(+(+(T222, T223), T194)) → P134_IN_AGAGAG(T222, T223, T194)
    The graph contains the following edges 1 > 1, 1 > 2, 1 > 3

  • P134_IN_AGAGAG(T222, T223, T194) → P1_IN_AG(T222)
    The graph contains the following edges 1 >= 1

  • P134_IN_AGAGAG(T222, T223, T194) → U46_AGAGAG(T223, T194, p1_in_ag(T222))
    The graph contains the following edges 2 >= 1, 3 >= 2

  • U46_AGAGAG(T223, T194, p1_out_ag) → P137_IN_AGAG(T223, T194)
    The graph contains the following edges 1 >= 1, 2 >= 2

  • P137_IN_AGAG(T223, T194) → U49_AGAG(T194, p1_in_ag(T223))
    The graph contains the following edges 2 >= 1

  • P137_IN_AGAG(T223, T194) → P1_IN_AG(T223)
    The graph contains the following edges 1 >= 1

  • U49_AGAG(T194, p1_out_ag) → P1_IN_AG(T194)
    The graph contains the following edges 1 >= 1

(102) YES