0 Prolog
↳1 PredefinedPredicateTransformerProof (⇐)
↳2 Prolog
↳3 BuiltinConflictTransformerProof (⇐)
↳4 Prolog
↳5 PrologToPrologProblemTransformerProof (⇐)
↳6 Prolog
↳7 PrologToPiTRSProof (⇐)
↳8 PiTRS
↳9 DependencyPairsProof (⇔)
↳10 PiDP
↳11 DependencyGraphProof (⇔)
↳12 AND
↳13 PiDP
↳14 UsableRulesProof (⇔)
↳15 PiDP
↳16 PiDPToQDPProof (⇐)
↳17 QDP
↳18 NonTerminationProof (⇔)
↳19 NO
↳20 PiDP
↳21 UsableRulesProof (⇔)
↳22 PiDP
↳23 PiDPToQDPProof (⇐)
↳24 QDP
↳25 NonTerminationProof (⇔)
↳26 NO
↳27 PiDP
↳28 UsableRulesProof (⇔)
↳29 PiDP
↳30 PiDPToQDPProof (⇔)
↳31 QDP
↳32 QDPSizeChangeProof (⇔)
↳33 YES
↳34 PiDP
↳35 UsableRulesProof (⇔)
↳36 PiDP
↳37 PiDPToQDPProof (⇐)
↳38 QDP
↳39 QDPSizeChangeProof (⇔)
↳40 YES
↳41 PiDP
↳42 UsableRulesProof (⇔)
↳43 PiDP
↳44 PiDPToQDPProof (⇔)
↳45 QDP
↳46 QDPSizeChangeProof (⇔)
↳47 YES
↳48 PiDP
↳49 UsableRulesProof (⇔)
↳50 PiDP
↳51 PiDPToQDPProof (⇐)
↳52 QDP
↳53 QDPSizeChangeProof (⇔)
↳54 YES
↳55 PiDP
↳56 UsableRulesProof (⇔)
↳57 PiDP
↳58 PiDPToQDPProof (⇐)
↳59 QDP
↳60 Rewriting (⇔)
↳61 QDP
↳62 Rewriting (⇔)
↳63 QDP
↳64 QDPOrderProof (⇔)
↳65 QDP
↳66 DependencyGraphProof (⇔)
↳67 QDP
↳68 QDPOrderProof (⇔)
↳69 QDP
↳70 QDPOrderProof (⇔)
↳71 QDP
↳72 DependencyGraphProof (⇔)
↳73 TRUE
↳74 PrologToPiTRSProof (⇐)
↳75 PiTRS
↳76 DependencyPairsProof (⇔)
↳77 PiDP
↳78 DependencyGraphProof (⇔)
↳79 AND
↳80 PiDP
↳81 UsableRulesProof (⇔)
↳82 PiDP
↳83 PiDPToQDPProof (⇐)
↳84 QDP
↳85 NonTerminationProof (⇔)
↳86 NO
↳87 PiDP
↳88 UsableRulesProof (⇔)
↳89 PiDP
↳90 PiDPToQDPProof (⇐)
↳91 QDP
↳92 NonTerminationProof (⇔)
↳93 NO
↳94 PiDP
↳95 UsableRulesProof (⇔)
↳96 PiDP
↳97 PiDPToQDPProof (⇔)
↳98 QDP
↳99 QDPSizeChangeProof (⇔)
↳100 YES
↳101 PiDP
↳102 UsableRulesProof (⇔)
↳103 PiDP
↳104 PiDPToQDPProof (⇐)
↳105 QDP
↳106 QDPSizeChangeProof (⇔)
↳107 YES
↳108 PiDP
↳109 UsableRulesProof (⇔)
↳110 PiDP
↳111 PiDPToQDPProof (⇔)
↳112 QDP
↳113 QDPSizeChangeProof (⇔)
↳114 YES
↳115 PiDP
↳116 UsableRulesProof (⇔)
↳117 PiDP
↳118 PiDPToQDPProof (⇐)
↳119 QDP
↳120 QDPSizeChangeProof (⇔)
↳121 YES
↳122 PiDP
↳123 UsableRulesProof (⇔)
↳124 PiDP
↳125 PiDPToQDPProof (⇐)
↳126 QDP
↳127 Rewriting (⇔)
↳128 QDP
↳129 Rewriting (⇔)
↳130 QDP
↳131 QDPOrderProof (⇔)
↳132 QDP
↳133 DependencyGraphProof (⇔)
↳134 QDP
↳135 QDPOrderProof (⇔)
↳136 QDP
↳137 DependencyGraphProof (⇔)
↳138 TRUE
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → U11_GGA(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → PLUS32_IN_GAG(T38, X82, T51)
PLUS32_IN_GAG(T62, X119, T63) → U9_GAG(T62, X119, T63, plus36_in_gag(T62, X119, T63))
PLUS32_IN_GAG(T62, X119, T63) → PLUS36_IN_GAG(T62, X119, T63)
PLUS36_IN_GAG(0, T69, T69) → U2_GAG(T69, nat40_in_g(T69))
PLUS36_IN_GAG(0, T69, T69) → NAT40_IN_G(T69)
NAT40_IN_G(s(T72)) → U1_G(T72, nat40_in_g(T72))
NAT40_IN_G(s(T72)) → NAT40_IN_G(T72)
PLUS36_IN_GAG(s(T77), X148, s(T78)) → U3_GAG(T77, X148, T78, plus36_in_gag(T77, X148, T78))
PLUS36_IN_GAG(s(T77), X148, s(T78)) → PLUS36_IN_GAG(T77, X148, T78)
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → U12_GGA(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_GGA(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → WAYS1_IN_GGA(s(T51), T39, X83)
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → U18_GGA(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → PLUS68_IN_GAG(T132, X203, T122)
PLUS68_IN_GAG(T142, X234, T143) → U10_GAG(T142, X234, T143, plus72_in_gag(T142, X234, T143))
PLUS68_IN_GAG(T142, X234, T143) → PLUS72_IN_GAG(T142, X234, T143)
PLUS72_IN_GAG(0, X255, s(X255)) → U7_GAG(X255, nat80_in_g(X255))
PLUS72_IN_GAG(0, X255, s(X255)) → NAT80_IN_G(X255)
NAT80_IN_G(s(X261)) → U6_G(X261, nat80_in_g(X261))
NAT80_IN_G(s(X261)) → NAT80_IN_G(X261)
PLUS72_IN_GAG(s(T148), X273, s(T149)) → U8_GAG(T148, X273, T149, plus72_in_gag(T148, X273, T149))
PLUS72_IN_GAG(s(T148), X273, s(T149)) → PLUS72_IN_GAG(T148, X273, T149)
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → U19_GGA(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_GGA(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_GGA(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U19_GGA(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → WAYS1_IN_GGA(s(T132), T123, T125)
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_GGA(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → WAYS1_IN_GGA(T54, .(s(T38), T39), X84)
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_GGA(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_GGA(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_GGA(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
U16_GGA(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → PLUS55_IN_AAA(T82, T89, T41)
PLUS55_IN_AAA(0, T99, T99) → U4_AAA(T99, nat40_in_a(T99))
PLUS55_IN_AAA(0, T99, T99) → NAT40_IN_A(T99)
NAT40_IN_A(s(T72)) → U1_A(T72, nat40_in_a(T72))
NAT40_IN_A(s(T72)) → NAT40_IN_A(T72)
PLUS55_IN_AAA(s(T106), T107, s(T109)) → U5_AAA(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
PLUS55_IN_AAA(s(T106), T107, s(T109)) → PLUS55_IN_AAA(T106, T107, T109)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → U11_GGA(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → PLUS32_IN_GAG(T38, X82, T51)
PLUS32_IN_GAG(T62, X119, T63) → U9_GAG(T62, X119, T63, plus36_in_gag(T62, X119, T63))
PLUS32_IN_GAG(T62, X119, T63) → PLUS36_IN_GAG(T62, X119, T63)
PLUS36_IN_GAG(0, T69, T69) → U2_GAG(T69, nat40_in_g(T69))
PLUS36_IN_GAG(0, T69, T69) → NAT40_IN_G(T69)
NAT40_IN_G(s(T72)) → U1_G(T72, nat40_in_g(T72))
NAT40_IN_G(s(T72)) → NAT40_IN_G(T72)
PLUS36_IN_GAG(s(T77), X148, s(T78)) → U3_GAG(T77, X148, T78, plus36_in_gag(T77, X148, T78))
PLUS36_IN_GAG(s(T77), X148, s(T78)) → PLUS36_IN_GAG(T77, X148, T78)
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → U12_GGA(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_GGA(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → WAYS1_IN_GGA(s(T51), T39, X83)
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → U18_GGA(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → PLUS68_IN_GAG(T132, X203, T122)
PLUS68_IN_GAG(T142, X234, T143) → U10_GAG(T142, X234, T143, plus72_in_gag(T142, X234, T143))
PLUS68_IN_GAG(T142, X234, T143) → PLUS72_IN_GAG(T142, X234, T143)
PLUS72_IN_GAG(0, X255, s(X255)) → U7_GAG(X255, nat80_in_g(X255))
PLUS72_IN_GAG(0, X255, s(X255)) → NAT80_IN_G(X255)
NAT80_IN_G(s(X261)) → U6_G(X261, nat80_in_g(X261))
NAT80_IN_G(s(X261)) → NAT80_IN_G(X261)
PLUS72_IN_GAG(s(T148), X273, s(T149)) → U8_GAG(T148, X273, T149, plus72_in_gag(T148, X273, T149))
PLUS72_IN_GAG(s(T148), X273, s(T149)) → PLUS72_IN_GAG(T148, X273, T149)
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → U19_GGA(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_GGA(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_GGA(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U19_GGA(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → WAYS1_IN_GGA(s(T132), T123, T125)
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_GGA(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → WAYS1_IN_GGA(T54, .(s(T38), T39), X84)
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_GGA(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_GGA(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_GGA(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
U16_GGA(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → PLUS55_IN_AAA(T82, T89, T41)
PLUS55_IN_AAA(0, T99, T99) → U4_AAA(T99, nat40_in_a(T99))
PLUS55_IN_AAA(0, T99, T99) → NAT40_IN_A(T99)
NAT40_IN_A(s(T72)) → U1_A(T72, nat40_in_a(T72))
NAT40_IN_A(s(T72)) → NAT40_IN_A(T72)
PLUS55_IN_AAA(s(T106), T107, s(T109)) → U5_AAA(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
PLUS55_IN_AAA(s(T106), T107, s(T109)) → PLUS55_IN_AAA(T106, T107, T109)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
NAT40_IN_A(s(T72)) → NAT40_IN_A(T72)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
NAT40_IN_A(s(T72)) → NAT40_IN_A(T72)
NAT40_IN_A → NAT40_IN_A
PLUS55_IN_AAA(s(T106), T107, s(T109)) → PLUS55_IN_AAA(T106, T107, T109)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
PLUS55_IN_AAA(s(T106), T107, s(T109)) → PLUS55_IN_AAA(T106, T107, T109)
PLUS55_IN_AAA → PLUS55_IN_AAA
NAT80_IN_G(s(X261)) → NAT80_IN_G(X261)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
NAT80_IN_G(s(X261)) → NAT80_IN_G(X261)
NAT80_IN_G(s(X261)) → NAT80_IN_G(X261)
From the DPs we obtained the following set of size-change graphs:
PLUS72_IN_GAG(s(T148), X273, s(T149)) → PLUS72_IN_GAG(T148, X273, T149)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
PLUS72_IN_GAG(s(T148), X273, s(T149)) → PLUS72_IN_GAG(T148, X273, T149)
PLUS72_IN_GAG(s(T148), s(T149)) → PLUS72_IN_GAG(T148, T149)
From the DPs we obtained the following set of size-change graphs:
NAT40_IN_G(s(T72)) → NAT40_IN_G(T72)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
NAT40_IN_G(s(T72)) → NAT40_IN_G(T72)
NAT40_IN_G(s(T72)) → NAT40_IN_G(T72)
From the DPs we obtained the following set of size-change graphs:
PLUS36_IN_GAG(s(T77), X148, s(T78)) → PLUS36_IN_GAG(T77, X148, T78)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
PLUS36_IN_GAG(s(T77), X148, s(T78)) → PLUS36_IN_GAG(T77, X148, T78)
PLUS36_IN_GAG(s(T77), s(T78)) → PLUS36_IN_GAG(T77, T78)
From the DPs we obtained the following set of size-change graphs:
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → U12_GGA(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → WAYS1_IN_GGA(s(T51), T39, X83)
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → U19_GGA(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_GGA(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → WAYS1_IN_GGA(s(T132), T123, T125)
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → WAYS1_IN_GGA(T54, .(s(T38), T39), X84)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → U12_GGA(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → WAYS1_IN_GGA(s(T51), T39, X83)
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → U19_GGA(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_GGA(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → WAYS1_IN_GGA(s(T132), T123, T125)
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → WAYS1_IN_GGA(T54, .(s(T38), T39), X84)
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, plus32_in_gag(T38, T51))
U12_GGA(T51, T38, T39, plus32_out_gag(T54)) → WAYS1_IN_GGA(s(T51), T39)
WAYS1_IN_GGA(s(T132), .(s(T122), T123)) → U19_GGA(T132, T123, plus68_in_gag(T132, T122))
U19_GGA(T132, T123, plus68_out_gag(T135)) → WAYS1_IN_GGA(s(T132), T123)
U12_GGA(T51, T38, T39, plus32_out_gag(T54)) → U14_GGA(T38, T39, T54, ways1_in_gga(s(T51), T39))
U14_GGA(T38, T39, T54, ways1_out_gga) → WAYS1_IN_GGA(T54, .(s(T38), T39))
plus32_in_gag(T62, T63) → U9_gag(plus36_in_gag(T62, T63))
plus68_in_gag(T142, T143) → U10_gag(plus72_in_gag(T142, T143))
ways1_in_gga(T30, []) → ways1_out_gga
ways1_in_gga(s(T51), .(s(T38), T39)) → U11_gga(plus32_in_gag(T38, T51))
ways1_in_gga(s(T51), .(s(T38), T39)) → U12_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T132), .(s(T122), T123)) → U18_gga(plus68_in_gag(T132, T122))
ways1_in_gga(s(T132), .(s(T122), T123)) → U19_gga(T132, T123, plus68_in_gag(T132, T122))
U9_gag(plus36_out_gag(X119)) → plus32_out_gag(X119)
U10_gag(plus72_out_gag(X234)) → plus68_out_gag(X234)
U11_gga(plus32_out_gag(X82)) → ways1_out_gga
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U13_gga(ways1_in_gga(s(T51), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U14_gga(T38, T39, T54, ways1_in_gga(s(T51), T39))
U18_gga(plus68_out_gag(X203)) → ways1_out_gga
U19_gga(T132, T123, plus68_out_gag(T135)) → U20_gga(ways1_in_gga(s(T132), T123))
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(plus36_in_gag(T77, T78))
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(plus72_in_gag(T148, T149))
U13_gga(ways1_out_gga) → ways1_out_gga
U14_gga(T38, T39, T54, ways1_out_gga) → U15_gga(ways1_in_gga(T54, .(s(T38), T39)))
U14_gga(T38, T39, T54, ways1_out_gga) → U16_gga(ways1_in_gga(T54, .(s(T38), T39)))
U20_gga(ways1_out_gga) → ways1_out_gga
U2_gag(T69, nat40_out_g) → plus36_out_gag(T69)
U3_gag(plus36_out_gag(X148)) → plus36_out_gag(X148)
U7_gag(X255, nat80_out_g) → plus72_out_gag(X255)
U8_gag(plus72_out_gag(X273)) → plus72_out_gag(X273)
U15_gga(ways1_out_gga) → ways1_out_gga
U16_gga(ways1_out_gga) → U17_gga(plus55_in_aaa)
nat40_in_g(0) → nat40_out_g
nat40_in_g(s(T72)) → U1_g(nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g
nat80_in_g(s(X261)) → U6_g(nat80_in_g(X261))
ways1_in_gga(0, T5) → ways1_out_gga
U17_gga(plus55_out_aaa(T82, T89, T41)) → ways1_out_gga
U1_g(nat40_out_g) → nat40_out_g
U6_g(nat80_out_g) → nat80_out_g
plus55_in_aaa → U4_aaa(nat40_in_a)
plus55_in_aaa → U5_aaa(plus55_in_aaa)
U4_aaa(nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a → nat40_out_a(0)
nat40_in_a → U1_a(nat40_in_a)
U1_a(nat40_out_a(T72)) → nat40_out_a(s(T72))
plus32_in_gag(x0, x1)
plus68_in_gag(x0, x1)
ways1_in_gga(x0, x1)
U9_gag(x0)
U10_gag(x0)
U11_gga(x0)
U12_gga(x0, x1, x2, x3)
U18_gga(x0)
U19_gga(x0, x1, x2)
plus36_in_gag(x0, x1)
plus72_in_gag(x0, x1)
U13_gga(x0)
U14_gga(x0, x1, x2, x3)
U20_gga(x0)
U2_gag(x0, x1)
U3_gag(x0)
U7_gag(x0, x1)
U8_gag(x0)
U15_gga(x0)
U16_gga(x0)
nat40_in_g(x0)
nat80_in_g(x0)
U17_gga(x0)
U1_g(x0)
U6_g(x0)
plus55_in_aaa
U4_aaa(x0)
U5_aaa(x0)
nat40_in_a
U1_a(x0)
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, U9_gag(plus36_in_gag(T38, T51)))
U12_GGA(T51, T38, T39, plus32_out_gag(T54)) → WAYS1_IN_GGA(s(T51), T39)
WAYS1_IN_GGA(s(T132), .(s(T122), T123)) → U19_GGA(T132, T123, plus68_in_gag(T132, T122))
U19_GGA(T132, T123, plus68_out_gag(T135)) → WAYS1_IN_GGA(s(T132), T123)
U12_GGA(T51, T38, T39, plus32_out_gag(T54)) → U14_GGA(T38, T39, T54, ways1_in_gga(s(T51), T39))
U14_GGA(T38, T39, T54, ways1_out_gga) → WAYS1_IN_GGA(T54, .(s(T38), T39))
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, U9_gag(plus36_in_gag(T38, T51)))
plus32_in_gag(T62, T63) → U9_gag(plus36_in_gag(T62, T63))
plus68_in_gag(T142, T143) → U10_gag(plus72_in_gag(T142, T143))
ways1_in_gga(T30, []) → ways1_out_gga
ways1_in_gga(s(T51), .(s(T38), T39)) → U11_gga(plus32_in_gag(T38, T51))
ways1_in_gga(s(T51), .(s(T38), T39)) → U12_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T132), .(s(T122), T123)) → U18_gga(plus68_in_gag(T132, T122))
ways1_in_gga(s(T132), .(s(T122), T123)) → U19_gga(T132, T123, plus68_in_gag(T132, T122))
U9_gag(plus36_out_gag(X119)) → plus32_out_gag(X119)
U10_gag(plus72_out_gag(X234)) → plus68_out_gag(X234)
U11_gga(plus32_out_gag(X82)) → ways1_out_gga
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U13_gga(ways1_in_gga(s(T51), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U14_gga(T38, T39, T54, ways1_in_gga(s(T51), T39))
U18_gga(plus68_out_gag(X203)) → ways1_out_gga
U19_gga(T132, T123, plus68_out_gag(T135)) → U20_gga(ways1_in_gga(s(T132), T123))
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(plus36_in_gag(T77, T78))
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(plus72_in_gag(T148, T149))
U13_gga(ways1_out_gga) → ways1_out_gga
U14_gga(T38, T39, T54, ways1_out_gga) → U15_gga(ways1_in_gga(T54, .(s(T38), T39)))
U14_gga(T38, T39, T54, ways1_out_gga) → U16_gga(ways1_in_gga(T54, .(s(T38), T39)))
U20_gga(ways1_out_gga) → ways1_out_gga
U2_gag(T69, nat40_out_g) → plus36_out_gag(T69)
U3_gag(plus36_out_gag(X148)) → plus36_out_gag(X148)
U7_gag(X255, nat80_out_g) → plus72_out_gag(X255)
U8_gag(plus72_out_gag(X273)) → plus72_out_gag(X273)
U15_gga(ways1_out_gga) → ways1_out_gga
U16_gga(ways1_out_gga) → U17_gga(plus55_in_aaa)
nat40_in_g(0) → nat40_out_g
nat40_in_g(s(T72)) → U1_g(nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g
nat80_in_g(s(X261)) → U6_g(nat80_in_g(X261))
ways1_in_gga(0, T5) → ways1_out_gga
U17_gga(plus55_out_aaa(T82, T89, T41)) → ways1_out_gga
U1_g(nat40_out_g) → nat40_out_g
U6_g(nat80_out_g) → nat80_out_g
plus55_in_aaa → U4_aaa(nat40_in_a)
plus55_in_aaa → U5_aaa(plus55_in_aaa)
U4_aaa(nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a → nat40_out_a(0)
nat40_in_a → U1_a(nat40_in_a)
U1_a(nat40_out_a(T72)) → nat40_out_a(s(T72))
plus32_in_gag(x0, x1)
plus68_in_gag(x0, x1)
ways1_in_gga(x0, x1)
U9_gag(x0)
U10_gag(x0)
U11_gga(x0)
U12_gga(x0, x1, x2, x3)
U18_gga(x0)
U19_gga(x0, x1, x2)
plus36_in_gag(x0, x1)
plus72_in_gag(x0, x1)
U13_gga(x0)
U14_gga(x0, x1, x2, x3)
U20_gga(x0)
U2_gag(x0, x1)
U3_gag(x0)
U7_gag(x0, x1)
U8_gag(x0)
U15_gga(x0)
U16_gga(x0)
nat40_in_g(x0)
nat80_in_g(x0)
U17_gga(x0)
U1_g(x0)
U6_g(x0)
plus55_in_aaa
U4_aaa(x0)
U5_aaa(x0)
nat40_in_a
U1_a(x0)
WAYS1_IN_GGA(s(T132), .(s(T122), T123)) → U19_GGA(T132, T123, U10_gag(plus72_in_gag(T132, T122)))
U12_GGA(T51, T38, T39, plus32_out_gag(T54)) → WAYS1_IN_GGA(s(T51), T39)
U19_GGA(T132, T123, plus68_out_gag(T135)) → WAYS1_IN_GGA(s(T132), T123)
U12_GGA(T51, T38, T39, plus32_out_gag(T54)) → U14_GGA(T38, T39, T54, ways1_in_gga(s(T51), T39))
U14_GGA(T38, T39, T54, ways1_out_gga) → WAYS1_IN_GGA(T54, .(s(T38), T39))
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, U9_gag(plus36_in_gag(T38, T51)))
WAYS1_IN_GGA(s(T132), .(s(T122), T123)) → U19_GGA(T132, T123, U10_gag(plus72_in_gag(T132, T122)))
plus32_in_gag(T62, T63) → U9_gag(plus36_in_gag(T62, T63))
plus68_in_gag(T142, T143) → U10_gag(plus72_in_gag(T142, T143))
ways1_in_gga(T30, []) → ways1_out_gga
ways1_in_gga(s(T51), .(s(T38), T39)) → U11_gga(plus32_in_gag(T38, T51))
ways1_in_gga(s(T51), .(s(T38), T39)) → U12_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T132), .(s(T122), T123)) → U18_gga(plus68_in_gag(T132, T122))
ways1_in_gga(s(T132), .(s(T122), T123)) → U19_gga(T132, T123, plus68_in_gag(T132, T122))
U9_gag(plus36_out_gag(X119)) → plus32_out_gag(X119)
U10_gag(plus72_out_gag(X234)) → plus68_out_gag(X234)
U11_gga(plus32_out_gag(X82)) → ways1_out_gga
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U13_gga(ways1_in_gga(s(T51), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U14_gga(T38, T39, T54, ways1_in_gga(s(T51), T39))
U18_gga(plus68_out_gag(X203)) → ways1_out_gga
U19_gga(T132, T123, plus68_out_gag(T135)) → U20_gga(ways1_in_gga(s(T132), T123))
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(plus36_in_gag(T77, T78))
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(plus72_in_gag(T148, T149))
U13_gga(ways1_out_gga) → ways1_out_gga
U14_gga(T38, T39, T54, ways1_out_gga) → U15_gga(ways1_in_gga(T54, .(s(T38), T39)))
U14_gga(T38, T39, T54, ways1_out_gga) → U16_gga(ways1_in_gga(T54, .(s(T38), T39)))
U20_gga(ways1_out_gga) → ways1_out_gga
U2_gag(T69, nat40_out_g) → plus36_out_gag(T69)
U3_gag(plus36_out_gag(X148)) → plus36_out_gag(X148)
U7_gag(X255, nat80_out_g) → plus72_out_gag(X255)
U8_gag(plus72_out_gag(X273)) → plus72_out_gag(X273)
U15_gga(ways1_out_gga) → ways1_out_gga
U16_gga(ways1_out_gga) → U17_gga(plus55_in_aaa)
nat40_in_g(0) → nat40_out_g
nat40_in_g(s(T72)) → U1_g(nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g
nat80_in_g(s(X261)) → U6_g(nat80_in_g(X261))
ways1_in_gga(0, T5) → ways1_out_gga
U17_gga(plus55_out_aaa(T82, T89, T41)) → ways1_out_gga
U1_g(nat40_out_g) → nat40_out_g
U6_g(nat80_out_g) → nat80_out_g
plus55_in_aaa → U4_aaa(nat40_in_a)
plus55_in_aaa → U5_aaa(plus55_in_aaa)
U4_aaa(nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a → nat40_out_a(0)
nat40_in_a → U1_a(nat40_in_a)
U1_a(nat40_out_a(T72)) → nat40_out_a(s(T72))
plus32_in_gag(x0, x1)
plus68_in_gag(x0, x1)
ways1_in_gga(x0, x1)
U9_gag(x0)
U10_gag(x0)
U11_gga(x0)
U12_gga(x0, x1, x2, x3)
U18_gga(x0)
U19_gga(x0, x1, x2)
plus36_in_gag(x0, x1)
plus72_in_gag(x0, x1)
U13_gga(x0)
U14_gga(x0, x1, x2, x3)
U20_gga(x0)
U2_gag(x0, x1)
U3_gag(x0)
U7_gag(x0, x1)
U8_gag(x0)
U15_gga(x0)
U16_gga(x0)
nat40_in_g(x0)
nat80_in_g(x0)
U17_gga(x0)
U1_g(x0)
U6_g(x0)
plus55_in_aaa
U4_aaa(x0)
U5_aaa(x0)
nat40_in_a
U1_a(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U19_GGA(T132, T123, plus68_out_gag(T135)) → WAYS1_IN_GGA(s(T132), T123)
POL(.(x1, x2)) = x1 + x2
POL(0) = 1
POL(U10_gag(x1)) = x1
POL(U11_gga(x1)) = 0
POL(U12_GGA(x1, x2, x3, x4)) = x2 + x3
POL(U12_gga(x1, x2, x3, x4)) = 0
POL(U13_gga(x1)) = 0
POL(U14_GGA(x1, x2, x3, x4)) = x1 + x2
POL(U14_gga(x1, x2, x3, x4)) = 0
POL(U15_gga(x1)) = 0
POL(U16_gga(x1)) = 0
POL(U17_gga(x1)) = 0
POL(U18_gga(x1)) = 0
POL(U19_GGA(x1, x2, x3)) = x2 + x3
POL(U19_gga(x1, x2, x3)) = 0
POL(U1_a(x1)) = 0
POL(U1_g(x1)) = 0
POL(U20_gga(x1)) = 0
POL(U2_gag(x1, x2)) = 0
POL(U3_gag(x1)) = 0
POL(U4_aaa(x1)) = 0
POL(U5_aaa(x1)) = 0
POL(U6_g(x1)) = x1
POL(U7_gag(x1, x2)) = x2
POL(U8_gag(x1)) = x1
POL(U9_gag(x1)) = 0
POL(WAYS1_IN_GGA(x1, x2)) = x2
POL([]) = 0
POL(nat40_in_a) = 0
POL(nat40_in_g(x1)) = 0
POL(nat40_out_a(x1)) = 0
POL(nat40_out_g) = 0
POL(nat80_in_g(x1)) = x1
POL(nat80_out_g) = 1
POL(plus32_in_gag(x1, x2)) = 0
POL(plus32_out_gag(x1)) = 0
POL(plus36_in_gag(x1, x2)) = 0
POL(plus36_out_gag(x1)) = 0
POL(plus55_in_aaa) = 0
POL(plus55_out_aaa(x1, x2, x3)) = 0
POL(plus68_in_gag(x1, x2)) = x2
POL(plus68_out_gag(x1)) = 1
POL(plus72_in_gag(x1, x2)) = x2
POL(plus72_out_gag(x1)) = 1
POL(s(x1)) = x1
POL(ways1_in_gga(x1, x2)) = 0
POL(ways1_out_gga) = 0
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(plus72_in_gag(T148, T149))
U10_gag(plus72_out_gag(X234)) → plus68_out_gag(X234)
U8_gag(plus72_out_gag(X273)) → plus72_out_gag(X273)
nat80_in_g(0) → nat80_out_g
nat80_in_g(s(X261)) → U6_g(nat80_in_g(X261))
U7_gag(X255, nat80_out_g) → plus72_out_gag(X255)
U6_g(nat80_out_g) → nat80_out_g
U12_GGA(T51, T38, T39, plus32_out_gag(T54)) → WAYS1_IN_GGA(s(T51), T39)
U12_GGA(T51, T38, T39, plus32_out_gag(T54)) → U14_GGA(T38, T39, T54, ways1_in_gga(s(T51), T39))
U14_GGA(T38, T39, T54, ways1_out_gga) → WAYS1_IN_GGA(T54, .(s(T38), T39))
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, U9_gag(plus36_in_gag(T38, T51)))
WAYS1_IN_GGA(s(T132), .(s(T122), T123)) → U19_GGA(T132, T123, U10_gag(plus72_in_gag(T132, T122)))
plus32_in_gag(T62, T63) → U9_gag(plus36_in_gag(T62, T63))
plus68_in_gag(T142, T143) → U10_gag(plus72_in_gag(T142, T143))
ways1_in_gga(T30, []) → ways1_out_gga
ways1_in_gga(s(T51), .(s(T38), T39)) → U11_gga(plus32_in_gag(T38, T51))
ways1_in_gga(s(T51), .(s(T38), T39)) → U12_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T132), .(s(T122), T123)) → U18_gga(plus68_in_gag(T132, T122))
ways1_in_gga(s(T132), .(s(T122), T123)) → U19_gga(T132, T123, plus68_in_gag(T132, T122))
U9_gag(plus36_out_gag(X119)) → plus32_out_gag(X119)
U10_gag(plus72_out_gag(X234)) → plus68_out_gag(X234)
U11_gga(plus32_out_gag(X82)) → ways1_out_gga
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U13_gga(ways1_in_gga(s(T51), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U14_gga(T38, T39, T54, ways1_in_gga(s(T51), T39))
U18_gga(plus68_out_gag(X203)) → ways1_out_gga
U19_gga(T132, T123, plus68_out_gag(T135)) → U20_gga(ways1_in_gga(s(T132), T123))
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(plus36_in_gag(T77, T78))
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(plus72_in_gag(T148, T149))
U13_gga(ways1_out_gga) → ways1_out_gga
U14_gga(T38, T39, T54, ways1_out_gga) → U15_gga(ways1_in_gga(T54, .(s(T38), T39)))
U14_gga(T38, T39, T54, ways1_out_gga) → U16_gga(ways1_in_gga(T54, .(s(T38), T39)))
U20_gga(ways1_out_gga) → ways1_out_gga
U2_gag(T69, nat40_out_g) → plus36_out_gag(T69)
U3_gag(plus36_out_gag(X148)) → plus36_out_gag(X148)
U7_gag(X255, nat80_out_g) → plus72_out_gag(X255)
U8_gag(plus72_out_gag(X273)) → plus72_out_gag(X273)
U15_gga(ways1_out_gga) → ways1_out_gga
U16_gga(ways1_out_gga) → U17_gga(plus55_in_aaa)
nat40_in_g(0) → nat40_out_g
nat40_in_g(s(T72)) → U1_g(nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g
nat80_in_g(s(X261)) → U6_g(nat80_in_g(X261))
ways1_in_gga(0, T5) → ways1_out_gga
U17_gga(plus55_out_aaa(T82, T89, T41)) → ways1_out_gga
U1_g(nat40_out_g) → nat40_out_g
U6_g(nat80_out_g) → nat80_out_g
plus55_in_aaa → U4_aaa(nat40_in_a)
plus55_in_aaa → U5_aaa(plus55_in_aaa)
U4_aaa(nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a → nat40_out_a(0)
nat40_in_a → U1_a(nat40_in_a)
U1_a(nat40_out_a(T72)) → nat40_out_a(s(T72))
plus32_in_gag(x0, x1)
plus68_in_gag(x0, x1)
ways1_in_gga(x0, x1)
U9_gag(x0)
U10_gag(x0)
U11_gga(x0)
U12_gga(x0, x1, x2, x3)
U18_gga(x0)
U19_gga(x0, x1, x2)
plus36_in_gag(x0, x1)
plus72_in_gag(x0, x1)
U13_gga(x0)
U14_gga(x0, x1, x2, x3)
U20_gga(x0)
U2_gag(x0, x1)
U3_gag(x0)
U7_gag(x0, x1)
U8_gag(x0)
U15_gga(x0)
U16_gga(x0)
nat40_in_g(x0)
nat80_in_g(x0)
U17_gga(x0)
U1_g(x0)
U6_g(x0)
plus55_in_aaa
U4_aaa(x0)
U5_aaa(x0)
nat40_in_a
U1_a(x0)
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, U9_gag(plus36_in_gag(T38, T51)))
U12_GGA(T51, T38, T39, plus32_out_gag(T54)) → WAYS1_IN_GGA(s(T51), T39)
U12_GGA(T51, T38, T39, plus32_out_gag(T54)) → U14_GGA(T38, T39, T54, ways1_in_gga(s(T51), T39))
U14_GGA(T38, T39, T54, ways1_out_gga) → WAYS1_IN_GGA(T54, .(s(T38), T39))
plus32_in_gag(T62, T63) → U9_gag(plus36_in_gag(T62, T63))
plus68_in_gag(T142, T143) → U10_gag(plus72_in_gag(T142, T143))
ways1_in_gga(T30, []) → ways1_out_gga
ways1_in_gga(s(T51), .(s(T38), T39)) → U11_gga(plus32_in_gag(T38, T51))
ways1_in_gga(s(T51), .(s(T38), T39)) → U12_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T132), .(s(T122), T123)) → U18_gga(plus68_in_gag(T132, T122))
ways1_in_gga(s(T132), .(s(T122), T123)) → U19_gga(T132, T123, plus68_in_gag(T132, T122))
U9_gag(plus36_out_gag(X119)) → plus32_out_gag(X119)
U10_gag(plus72_out_gag(X234)) → plus68_out_gag(X234)
U11_gga(plus32_out_gag(X82)) → ways1_out_gga
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U13_gga(ways1_in_gga(s(T51), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U14_gga(T38, T39, T54, ways1_in_gga(s(T51), T39))
U18_gga(plus68_out_gag(X203)) → ways1_out_gga
U19_gga(T132, T123, plus68_out_gag(T135)) → U20_gga(ways1_in_gga(s(T132), T123))
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(plus36_in_gag(T77, T78))
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(plus72_in_gag(T148, T149))
U13_gga(ways1_out_gga) → ways1_out_gga
U14_gga(T38, T39, T54, ways1_out_gga) → U15_gga(ways1_in_gga(T54, .(s(T38), T39)))
U14_gga(T38, T39, T54, ways1_out_gga) → U16_gga(ways1_in_gga(T54, .(s(T38), T39)))
U20_gga(ways1_out_gga) → ways1_out_gga
U2_gag(T69, nat40_out_g) → plus36_out_gag(T69)
U3_gag(plus36_out_gag(X148)) → plus36_out_gag(X148)
U7_gag(X255, nat80_out_g) → plus72_out_gag(X255)
U8_gag(plus72_out_gag(X273)) → plus72_out_gag(X273)
U15_gga(ways1_out_gga) → ways1_out_gga
U16_gga(ways1_out_gga) → U17_gga(plus55_in_aaa)
nat40_in_g(0) → nat40_out_g
nat40_in_g(s(T72)) → U1_g(nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g
nat80_in_g(s(X261)) → U6_g(nat80_in_g(X261))
ways1_in_gga(0, T5) → ways1_out_gga
U17_gga(plus55_out_aaa(T82, T89, T41)) → ways1_out_gga
U1_g(nat40_out_g) → nat40_out_g
U6_g(nat80_out_g) → nat80_out_g
plus55_in_aaa → U4_aaa(nat40_in_a)
plus55_in_aaa → U5_aaa(plus55_in_aaa)
U4_aaa(nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a → nat40_out_a(0)
nat40_in_a → U1_a(nat40_in_a)
U1_a(nat40_out_a(T72)) → nat40_out_a(s(T72))
plus32_in_gag(x0, x1)
plus68_in_gag(x0, x1)
ways1_in_gga(x0, x1)
U9_gag(x0)
U10_gag(x0)
U11_gga(x0)
U12_gga(x0, x1, x2, x3)
U18_gga(x0)
U19_gga(x0, x1, x2)
plus36_in_gag(x0, x1)
plus72_in_gag(x0, x1)
U13_gga(x0)
U14_gga(x0, x1, x2, x3)
U20_gga(x0)
U2_gag(x0, x1)
U3_gag(x0)
U7_gag(x0, x1)
U8_gag(x0)
U15_gga(x0)
U16_gga(x0)
nat40_in_g(x0)
nat80_in_g(x0)
U17_gga(x0)
U1_g(x0)
U6_g(x0)
plus55_in_aaa
U4_aaa(x0)
U5_aaa(x0)
nat40_in_a
U1_a(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U12_GGA(T51, T38, T39, plus32_out_gag(T54)) → WAYS1_IN_GGA(s(T51), T39)
POL(.(x1, x2)) = x1 + x2
POL(0) = 0
POL(U10_gag(x1)) = x1
POL(U11_gga(x1)) = 0
POL(U12_GGA(x1, x2, x3, x4)) = 1 + x3
POL(U12_gga(x1, x2, x3, x4)) = 0
POL(U13_gga(x1)) = 0
POL(U14_GGA(x1, x2, x3, x4)) = 1 + x2
POL(U14_gga(x1, x2, x3, x4)) = 0
POL(U15_gga(x1)) = 0
POL(U16_gga(x1)) = 0
POL(U17_gga(x1)) = 0
POL(U18_gga(x1)) = 0
POL(U19_gga(x1, x2, x3)) = 0
POL(U1_a(x1)) = 0
POL(U1_g(x1)) = 0
POL(U20_gga(x1)) = 0
POL(U2_gag(x1, x2)) = 0
POL(U3_gag(x1)) = 0
POL(U4_aaa(x1)) = 0
POL(U5_aaa(x1)) = 0
POL(U6_g(x1)) = 0
POL(U7_gag(x1, x2)) = 0
POL(U8_gag(x1)) = 0
POL(U9_gag(x1)) = 0
POL(WAYS1_IN_GGA(x1, x2)) = x2
POL([]) = 0
POL(nat40_in_a) = 0
POL(nat40_in_g(x1)) = 0
POL(nat40_out_a(x1)) = 0
POL(nat40_out_g) = 0
POL(nat80_in_g(x1)) = 0
POL(nat80_out_g) = 0
POL(plus32_in_gag(x1, x2)) = x1 + x2
POL(plus32_out_gag(x1)) = 0
POL(plus36_in_gag(x1, x2)) = 0
POL(plus36_out_gag(x1)) = 0
POL(plus55_in_aaa) = 0
POL(plus55_out_aaa(x1, x2, x3)) = 0
POL(plus68_in_gag(x1, x2)) = x1
POL(plus68_out_gag(x1)) = 0
POL(plus72_in_gag(x1, x2)) = 0
POL(plus72_out_gag(x1)) = x1
POL(s(x1)) = 1
POL(ways1_in_gga(x1, x2)) = 0
POL(ways1_out_gga) = 0
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, U9_gag(plus36_in_gag(T38, T51)))
U12_GGA(T51, T38, T39, plus32_out_gag(T54)) → U14_GGA(T38, T39, T54, ways1_in_gga(s(T51), T39))
U14_GGA(T38, T39, T54, ways1_out_gga) → WAYS1_IN_GGA(T54, .(s(T38), T39))
plus32_in_gag(T62, T63) → U9_gag(plus36_in_gag(T62, T63))
plus68_in_gag(T142, T143) → U10_gag(plus72_in_gag(T142, T143))
ways1_in_gga(T30, []) → ways1_out_gga
ways1_in_gga(s(T51), .(s(T38), T39)) → U11_gga(plus32_in_gag(T38, T51))
ways1_in_gga(s(T51), .(s(T38), T39)) → U12_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T132), .(s(T122), T123)) → U18_gga(plus68_in_gag(T132, T122))
ways1_in_gga(s(T132), .(s(T122), T123)) → U19_gga(T132, T123, plus68_in_gag(T132, T122))
U9_gag(plus36_out_gag(X119)) → plus32_out_gag(X119)
U10_gag(plus72_out_gag(X234)) → plus68_out_gag(X234)
U11_gga(plus32_out_gag(X82)) → ways1_out_gga
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U13_gga(ways1_in_gga(s(T51), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U14_gga(T38, T39, T54, ways1_in_gga(s(T51), T39))
U18_gga(plus68_out_gag(X203)) → ways1_out_gga
U19_gga(T132, T123, plus68_out_gag(T135)) → U20_gga(ways1_in_gga(s(T132), T123))
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(plus36_in_gag(T77, T78))
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(plus72_in_gag(T148, T149))
U13_gga(ways1_out_gga) → ways1_out_gga
U14_gga(T38, T39, T54, ways1_out_gga) → U15_gga(ways1_in_gga(T54, .(s(T38), T39)))
U14_gga(T38, T39, T54, ways1_out_gga) → U16_gga(ways1_in_gga(T54, .(s(T38), T39)))
U20_gga(ways1_out_gga) → ways1_out_gga
U2_gag(T69, nat40_out_g) → plus36_out_gag(T69)
U3_gag(plus36_out_gag(X148)) → plus36_out_gag(X148)
U7_gag(X255, nat80_out_g) → plus72_out_gag(X255)
U8_gag(plus72_out_gag(X273)) → plus72_out_gag(X273)
U15_gga(ways1_out_gga) → ways1_out_gga
U16_gga(ways1_out_gga) → U17_gga(plus55_in_aaa)
nat40_in_g(0) → nat40_out_g
nat40_in_g(s(T72)) → U1_g(nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g
nat80_in_g(s(X261)) → U6_g(nat80_in_g(X261))
ways1_in_gga(0, T5) → ways1_out_gga
U17_gga(plus55_out_aaa(T82, T89, T41)) → ways1_out_gga
U1_g(nat40_out_g) → nat40_out_g
U6_g(nat80_out_g) → nat80_out_g
plus55_in_aaa → U4_aaa(nat40_in_a)
plus55_in_aaa → U5_aaa(plus55_in_aaa)
U4_aaa(nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a → nat40_out_a(0)
nat40_in_a → U1_a(nat40_in_a)
U1_a(nat40_out_a(T72)) → nat40_out_a(s(T72))
plus32_in_gag(x0, x1)
plus68_in_gag(x0, x1)
ways1_in_gga(x0, x1)
U9_gag(x0)
U10_gag(x0)
U11_gga(x0)
U12_gga(x0, x1, x2, x3)
U18_gga(x0)
U19_gga(x0, x1, x2)
plus36_in_gag(x0, x1)
plus72_in_gag(x0, x1)
U13_gga(x0)
U14_gga(x0, x1, x2, x3)
U20_gga(x0)
U2_gag(x0, x1)
U3_gag(x0)
U7_gag(x0, x1)
U8_gag(x0)
U15_gga(x0)
U16_gga(x0)
nat40_in_g(x0)
nat80_in_g(x0)
U17_gga(x0)
U1_g(x0)
U6_g(x0)
plus55_in_aaa
U4_aaa(x0)
U5_aaa(x0)
nat40_in_a
U1_a(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, U9_gag(plus36_in_gag(T38, T51)))
POL(.(x1, x2)) = 0
POL(0) = 0
POL(U10_gag(x1)) = 1 + x1
POL(U11_gga(x1)) = 0
POL(U12_GGA(x1, x2, x3, x4)) = x4
POL(U12_gga(x1, x2, x3, x4)) = 0
POL(U13_gga(x1)) = 0
POL(U14_GGA(x1, x2, x3, x4)) = x3
POL(U14_gga(x1, x2, x3, x4)) = 0
POL(U15_gga(x1)) = 0
POL(U16_gga(x1)) = 0
POL(U17_gga(x1)) = 0
POL(U18_gga(x1)) = 0
POL(U19_gga(x1, x2, x3)) = 0
POL(U1_a(x1)) = 0
POL(U1_g(x1)) = 0
POL(U20_gga(x1)) = 0
POL(U2_gag(x1, x2)) = x1
POL(U3_gag(x1)) = x1
POL(U4_aaa(x1)) = x1
POL(U5_aaa(x1)) = 0
POL(U6_g(x1)) = x1
POL(U7_gag(x1, x2)) = 0
POL(U8_gag(x1)) = 0
POL(U9_gag(x1)) = x1
POL(WAYS1_IN_GGA(x1, x2)) = x1
POL([]) = 0
POL(nat40_in_a) = 0
POL(nat40_in_g(x1)) = 0
POL(nat40_out_a(x1)) = x1
POL(nat40_out_g) = 0
POL(nat80_in_g(x1)) = 1 + x1
POL(nat80_out_g) = 0
POL(plus32_in_gag(x1, x2)) = 0
POL(plus32_out_gag(x1)) = x1
POL(plus36_in_gag(x1, x2)) = x2
POL(plus36_out_gag(x1)) = x1
POL(plus55_in_aaa) = 0
POL(plus55_out_aaa(x1, x2, x3)) = 0
POL(plus68_in_gag(x1, x2)) = 1 + x1
POL(plus68_out_gag(x1)) = 1
POL(plus72_in_gag(x1, x2)) = x1
POL(plus72_out_gag(x1)) = 1
POL(s(x1)) = 1 + x1
POL(ways1_in_gga(x1, x2)) = 0
POL(ways1_out_gga) = 0
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(plus36_in_gag(T77, T78))
U9_gag(plus36_out_gag(X119)) → plus32_out_gag(X119)
U3_gag(plus36_out_gag(X148)) → plus36_out_gag(X148)
U2_gag(T69, nat40_out_g) → plus36_out_gag(T69)
U12_GGA(T51, T38, T39, plus32_out_gag(T54)) → U14_GGA(T38, T39, T54, ways1_in_gga(s(T51), T39))
U14_GGA(T38, T39, T54, ways1_out_gga) → WAYS1_IN_GGA(T54, .(s(T38), T39))
plus32_in_gag(T62, T63) → U9_gag(plus36_in_gag(T62, T63))
plus68_in_gag(T142, T143) → U10_gag(plus72_in_gag(T142, T143))
ways1_in_gga(T30, []) → ways1_out_gga
ways1_in_gga(s(T51), .(s(T38), T39)) → U11_gga(plus32_in_gag(T38, T51))
ways1_in_gga(s(T51), .(s(T38), T39)) → U12_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T132), .(s(T122), T123)) → U18_gga(plus68_in_gag(T132, T122))
ways1_in_gga(s(T132), .(s(T122), T123)) → U19_gga(T132, T123, plus68_in_gag(T132, T122))
U9_gag(plus36_out_gag(X119)) → plus32_out_gag(X119)
U10_gag(plus72_out_gag(X234)) → plus68_out_gag(X234)
U11_gga(plus32_out_gag(X82)) → ways1_out_gga
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U13_gga(ways1_in_gga(s(T51), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T54)) → U14_gga(T38, T39, T54, ways1_in_gga(s(T51), T39))
U18_gga(plus68_out_gag(X203)) → ways1_out_gga
U19_gga(T132, T123, plus68_out_gag(T135)) → U20_gga(ways1_in_gga(s(T132), T123))
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(plus36_in_gag(T77, T78))
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(plus72_in_gag(T148, T149))
U13_gga(ways1_out_gga) → ways1_out_gga
U14_gga(T38, T39, T54, ways1_out_gga) → U15_gga(ways1_in_gga(T54, .(s(T38), T39)))
U14_gga(T38, T39, T54, ways1_out_gga) → U16_gga(ways1_in_gga(T54, .(s(T38), T39)))
U20_gga(ways1_out_gga) → ways1_out_gga
U2_gag(T69, nat40_out_g) → plus36_out_gag(T69)
U3_gag(plus36_out_gag(X148)) → plus36_out_gag(X148)
U7_gag(X255, nat80_out_g) → plus72_out_gag(X255)
U8_gag(plus72_out_gag(X273)) → plus72_out_gag(X273)
U15_gga(ways1_out_gga) → ways1_out_gga
U16_gga(ways1_out_gga) → U17_gga(plus55_in_aaa)
nat40_in_g(0) → nat40_out_g
nat40_in_g(s(T72)) → U1_g(nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g
nat80_in_g(s(X261)) → U6_g(nat80_in_g(X261))
ways1_in_gga(0, T5) → ways1_out_gga
U17_gga(plus55_out_aaa(T82, T89, T41)) → ways1_out_gga
U1_g(nat40_out_g) → nat40_out_g
U6_g(nat80_out_g) → nat80_out_g
plus55_in_aaa → U4_aaa(nat40_in_a)
plus55_in_aaa → U5_aaa(plus55_in_aaa)
U4_aaa(nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a → nat40_out_a(0)
nat40_in_a → U1_a(nat40_in_a)
U1_a(nat40_out_a(T72)) → nat40_out_a(s(T72))
plus32_in_gag(x0, x1)
plus68_in_gag(x0, x1)
ways1_in_gga(x0, x1)
U9_gag(x0)
U10_gag(x0)
U11_gga(x0)
U12_gga(x0, x1, x2, x3)
U18_gga(x0)
U19_gga(x0, x1, x2)
plus36_in_gag(x0, x1)
plus72_in_gag(x0, x1)
U13_gga(x0)
U14_gga(x0, x1, x2, x3)
U20_gga(x0)
U2_gag(x0, x1)
U3_gag(x0)
U7_gag(x0, x1)
U8_gag(x0)
U15_gga(x0)
U16_gga(x0)
nat40_in_g(x0)
nat80_in_g(x0)
U17_gga(x0)
U1_g(x0)
U6_g(x0)
plus55_in_aaa
U4_aaa(x0)
U5_aaa(x0)
nat40_in_a
U1_a(x0)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → U11_GGA(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → PLUS32_IN_GAG(T38, X82, T51)
PLUS32_IN_GAG(T62, X119, T63) → U9_GAG(T62, X119, T63, plus36_in_gag(T62, X119, T63))
PLUS32_IN_GAG(T62, X119, T63) → PLUS36_IN_GAG(T62, X119, T63)
PLUS36_IN_GAG(0, T69, T69) → U2_GAG(T69, nat40_in_g(T69))
PLUS36_IN_GAG(0, T69, T69) → NAT40_IN_G(T69)
NAT40_IN_G(s(T72)) → U1_G(T72, nat40_in_g(T72))
NAT40_IN_G(s(T72)) → NAT40_IN_G(T72)
PLUS36_IN_GAG(s(T77), X148, s(T78)) → U3_GAG(T77, X148, T78, plus36_in_gag(T77, X148, T78))
PLUS36_IN_GAG(s(T77), X148, s(T78)) → PLUS36_IN_GAG(T77, X148, T78)
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → U12_GGA(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_GGA(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → WAYS1_IN_GGA(s(T51), T39, X83)
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → U18_GGA(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → PLUS68_IN_GAG(T132, X203, T122)
PLUS68_IN_GAG(T142, X234, T143) → U10_GAG(T142, X234, T143, plus72_in_gag(T142, X234, T143))
PLUS68_IN_GAG(T142, X234, T143) → PLUS72_IN_GAG(T142, X234, T143)
PLUS72_IN_GAG(0, X255, s(X255)) → U7_GAG(X255, nat80_in_g(X255))
PLUS72_IN_GAG(0, X255, s(X255)) → NAT80_IN_G(X255)
NAT80_IN_G(s(X261)) → U6_G(X261, nat80_in_g(X261))
NAT80_IN_G(s(X261)) → NAT80_IN_G(X261)
PLUS72_IN_GAG(s(T148), X273, s(T149)) → U8_GAG(T148, X273, T149, plus72_in_gag(T148, X273, T149))
PLUS72_IN_GAG(s(T148), X273, s(T149)) → PLUS72_IN_GAG(T148, X273, T149)
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → U19_GGA(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_GGA(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_GGA(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U19_GGA(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → WAYS1_IN_GGA(s(T132), T123, T125)
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_GGA(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → WAYS1_IN_GGA(T54, .(s(T38), T39), X84)
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_GGA(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_GGA(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_GGA(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
U16_GGA(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → PLUS55_IN_AAA(T82, T89, T41)
PLUS55_IN_AAA(0, T99, T99) → U4_AAA(T99, nat40_in_a(T99))
PLUS55_IN_AAA(0, T99, T99) → NAT40_IN_A(T99)
NAT40_IN_A(s(T72)) → U1_A(T72, nat40_in_a(T72))
NAT40_IN_A(s(T72)) → NAT40_IN_A(T72)
PLUS55_IN_AAA(s(T106), T107, s(T109)) → U5_AAA(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
PLUS55_IN_AAA(s(T106), T107, s(T109)) → PLUS55_IN_AAA(T106, T107, T109)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → U11_GGA(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → PLUS32_IN_GAG(T38, X82, T51)
PLUS32_IN_GAG(T62, X119, T63) → U9_GAG(T62, X119, T63, plus36_in_gag(T62, X119, T63))
PLUS32_IN_GAG(T62, X119, T63) → PLUS36_IN_GAG(T62, X119, T63)
PLUS36_IN_GAG(0, T69, T69) → U2_GAG(T69, nat40_in_g(T69))
PLUS36_IN_GAG(0, T69, T69) → NAT40_IN_G(T69)
NAT40_IN_G(s(T72)) → U1_G(T72, nat40_in_g(T72))
NAT40_IN_G(s(T72)) → NAT40_IN_G(T72)
PLUS36_IN_GAG(s(T77), X148, s(T78)) → U3_GAG(T77, X148, T78, plus36_in_gag(T77, X148, T78))
PLUS36_IN_GAG(s(T77), X148, s(T78)) → PLUS36_IN_GAG(T77, X148, T78)
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → U12_GGA(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_GGA(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → WAYS1_IN_GGA(s(T51), T39, X83)
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → U18_GGA(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → PLUS68_IN_GAG(T132, X203, T122)
PLUS68_IN_GAG(T142, X234, T143) → U10_GAG(T142, X234, T143, plus72_in_gag(T142, X234, T143))
PLUS68_IN_GAG(T142, X234, T143) → PLUS72_IN_GAG(T142, X234, T143)
PLUS72_IN_GAG(0, X255, s(X255)) → U7_GAG(X255, nat80_in_g(X255))
PLUS72_IN_GAG(0, X255, s(X255)) → NAT80_IN_G(X255)
NAT80_IN_G(s(X261)) → U6_G(X261, nat80_in_g(X261))
NAT80_IN_G(s(X261)) → NAT80_IN_G(X261)
PLUS72_IN_GAG(s(T148), X273, s(T149)) → U8_GAG(T148, X273, T149, plus72_in_gag(T148, X273, T149))
PLUS72_IN_GAG(s(T148), X273, s(T149)) → PLUS72_IN_GAG(T148, X273, T149)
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → U19_GGA(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_GGA(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_GGA(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U19_GGA(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → WAYS1_IN_GGA(s(T132), T123, T125)
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_GGA(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → WAYS1_IN_GGA(T54, .(s(T38), T39), X84)
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_GGA(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_GGA(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_GGA(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
U16_GGA(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → PLUS55_IN_AAA(T82, T89, T41)
PLUS55_IN_AAA(0, T99, T99) → U4_AAA(T99, nat40_in_a(T99))
PLUS55_IN_AAA(0, T99, T99) → NAT40_IN_A(T99)
NAT40_IN_A(s(T72)) → U1_A(T72, nat40_in_a(T72))
NAT40_IN_A(s(T72)) → NAT40_IN_A(T72)
PLUS55_IN_AAA(s(T106), T107, s(T109)) → U5_AAA(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
PLUS55_IN_AAA(s(T106), T107, s(T109)) → PLUS55_IN_AAA(T106, T107, T109)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
NAT40_IN_A(s(T72)) → NAT40_IN_A(T72)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
NAT40_IN_A(s(T72)) → NAT40_IN_A(T72)
NAT40_IN_A → NAT40_IN_A
PLUS55_IN_AAA(s(T106), T107, s(T109)) → PLUS55_IN_AAA(T106, T107, T109)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
PLUS55_IN_AAA(s(T106), T107, s(T109)) → PLUS55_IN_AAA(T106, T107, T109)
PLUS55_IN_AAA → PLUS55_IN_AAA
NAT80_IN_G(s(X261)) → NAT80_IN_G(X261)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
NAT80_IN_G(s(X261)) → NAT80_IN_G(X261)
NAT80_IN_G(s(X261)) → NAT80_IN_G(X261)
From the DPs we obtained the following set of size-change graphs:
PLUS72_IN_GAG(s(T148), X273, s(T149)) → PLUS72_IN_GAG(T148, X273, T149)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
PLUS72_IN_GAG(s(T148), X273, s(T149)) → PLUS72_IN_GAG(T148, X273, T149)
PLUS72_IN_GAG(s(T148), s(T149)) → PLUS72_IN_GAG(T148, T149)
From the DPs we obtained the following set of size-change graphs:
NAT40_IN_G(s(T72)) → NAT40_IN_G(T72)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
NAT40_IN_G(s(T72)) → NAT40_IN_G(T72)
NAT40_IN_G(s(T72)) → NAT40_IN_G(T72)
From the DPs we obtained the following set of size-change graphs:
PLUS36_IN_GAG(s(T77), X148, s(T78)) → PLUS36_IN_GAG(T77, X148, T78)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
PLUS36_IN_GAG(s(T77), X148, s(T78)) → PLUS36_IN_GAG(T77, X148, T78)
PLUS36_IN_GAG(s(T77), s(T78)) → PLUS36_IN_GAG(T77, T78)
From the DPs we obtained the following set of size-change graphs:
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → U12_GGA(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → WAYS1_IN_GGA(s(T51), T39, X83)
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → U19_GGA(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_GGA(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → WAYS1_IN_GGA(s(T132), T123, T125)
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → WAYS1_IN_GGA(T54, .(s(T38), T39), X84)
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
ways1_in_gga(0, [], 0) → ways1_out_gga(0, [], 0)
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
WAYS1_IN_GGA(s(T51), .(s(T38), T39), T41) → U12_GGA(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → WAYS1_IN_GGA(s(T51), T39, X83)
WAYS1_IN_GGA(s(T132), .(s(T122), T123), T125) → U19_GGA(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U19_GGA(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → WAYS1_IN_GGA(s(T132), T123, T125)
U12_GGA(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U14_GGA(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → WAYS1_IN_GGA(T54, .(s(T38), T39), X84)
plus32_in_gag(T62, X119, T63) → U9_gag(T62, X119, T63, plus36_in_gag(T62, X119, T63))
plus68_in_gag(T142, X234, T143) → U10_gag(T142, X234, T143, plus72_in_gag(T142, X234, T143))
ways1_in_gga(T30, [], 0) → ways1_out_gga(T30, [], 0)
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U11_gga(T51, T38, T39, T41, plus32_in_gag(T38, X82, T51))
ways1_in_gga(s(T51), .(s(T38), T39), T41) → U12_gga(T51, T38, T39, T41, plus32_in_gag(T38, T54, T51))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U18_gga(T132, T122, T123, T125, plus68_in_gag(T132, X203, T122))
ways1_in_gga(s(T132), .(s(T122), T123), T125) → U19_gga(T132, T122, T123, T125, plus68_in_gag(T132, T135, T122))
U9_gag(T62, X119, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U10_gag(T142, X234, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U11_gga(T51, T38, T39, T41, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, T41, ways1_in_gga(s(T51), T39, X83))
U12_gga(T51, T38, T39, T41, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T41, T54, ways1_in_gga(s(T51), T39, T82))
U18_gga(T132, T122, T123, T125, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U19_gga(T132, T122, T123, T125, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, T125, ways1_in_gga(s(T132), T123, T125))
plus36_in_gag(0, T69, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), X148, s(T78)) → U3_gag(T77, X148, T78, plus36_in_gag(T77, X148, T78))
plus72_in_gag(0, X255, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), X273, s(T149)) → U8_gag(T148, X273, T149, plus72_in_gag(T148, X273, T149))
U13_gga(T51, T38, T39, T41, ways1_out_gga(s(T51), T39, X83)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U15_gga(T51, T38, T39, T41, ways1_in_gga(T54, .(s(T38), T39), X84))
U14_gga(T51, T38, T39, T41, T54, ways1_out_gga(s(T51), T39, T82)) → U16_gga(T51, T38, T39, T41, T82, ways1_in_gga(T54, .(s(T38), T39), T89))
U20_gga(T132, T122, T123, T125, ways1_out_gga(s(T132), T123, T125)) → ways1_out_gga(s(T132), .(s(T122), T123), T125)
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
U3_gag(T77, X148, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
U8_gag(T148, X273, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U15_gga(T51, T38, T39, T41, ways1_out_gga(T54, .(s(T38), T39), X84)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U16_gga(T51, T38, T39, T41, T82, ways1_out_gga(T54, .(s(T38), T39), T89)) → U17_gga(T51, T38, T39, T41, plus55_in_aaa(T82, T89, T41))
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
ways1_in_gga(0, T5, s(0)) → ways1_out_gga(0, T5, s(0))
U17_gga(T51, T38, T39, T41, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39), T41)
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
plus55_in_aaa(0, T99, T99) → U4_aaa(T99, nat40_in_a(T99))
plus55_in_aaa(s(T106), T107, s(T109)) → U5_aaa(T106, T107, T109, plus55_in_aaa(T106, T107, T109))
U4_aaa(T99, nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(T106, T107, T109, plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a(0) → nat40_out_a(0)
nat40_in_a(s(T72)) → U1_a(T72, nat40_in_a(T72))
U1_a(T72, nat40_out_a(T72)) → nat40_out_a(s(T72))
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, plus32_in_gag(T38, T51))
U12_GGA(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → WAYS1_IN_GGA(s(T51), T39)
WAYS1_IN_GGA(s(T132), .(s(T122), T123)) → U19_GGA(T132, T122, T123, plus68_in_gag(T132, T122))
U19_GGA(T132, T122, T123, plus68_out_gag(T132, T135, T122)) → WAYS1_IN_GGA(s(T132), T123)
U12_GGA(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T54, ways1_in_gga(s(T51), T39))
U14_GGA(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → WAYS1_IN_GGA(T54, .(s(T38), T39))
plus32_in_gag(T62, T63) → U9_gag(T62, T63, plus36_in_gag(T62, T63))
plus68_in_gag(T142, T143) → U10_gag(T142, T143, plus72_in_gag(T142, T143))
ways1_in_gga(T30, []) → ways1_out_gga(T30, [])
ways1_in_gga(s(T51), .(s(T38), T39)) → U11_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T51), .(s(T38), T39)) → U12_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T132), .(s(T122), T123)) → U18_gga(T132, T122, T123, plus68_in_gag(T132, T122))
ways1_in_gga(s(T132), .(s(T122), T123)) → U19_gga(T132, T122, T123, plus68_in_gag(T132, T122))
U9_gag(T62, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U10_gag(T142, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U11_gga(T51, T38, T39, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, ways1_in_gga(s(T51), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T54, ways1_in_gga(s(T51), T39))
U18_gga(T132, T122, T123, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123))
U19_gga(T132, T122, T123, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, ways1_in_gga(s(T132), T123))
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(T77, T78, plus36_in_gag(T77, T78))
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(T148, T149, plus72_in_gag(T148, T149))
U13_gga(T51, T38, T39, ways1_out_gga(s(T51), T39)) → ways1_out_gga(s(T51), .(s(T38), T39))
U14_gga(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → U15_gga(T51, T38, T39, ways1_in_gga(T54, .(s(T38), T39)))
U14_gga(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → U16_gga(T51, T38, T39, ways1_in_gga(T54, .(s(T38), T39)))
U20_gga(T132, T122, T123, ways1_out_gga(s(T132), T123)) → ways1_out_gga(s(T132), .(s(T122), T123))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
U3_gag(T77, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
U8_gag(T148, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U15_gga(T51, T38, T39, ways1_out_gga(T54, .(s(T38), T39))) → ways1_out_gga(s(T51), .(s(T38), T39))
U16_gga(T51, T38, T39, ways1_out_gga(T54, .(s(T38), T39))) → U17_gga(T51, T38, T39, plus55_in_aaa)
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
ways1_in_gga(0, T5) → ways1_out_gga(0, T5)
U17_gga(T51, T38, T39, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
plus55_in_aaa → U4_aaa(nat40_in_a)
plus55_in_aaa → U5_aaa(plus55_in_aaa)
U4_aaa(nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a → nat40_out_a(0)
nat40_in_a → U1_a(nat40_in_a)
U1_a(nat40_out_a(T72)) → nat40_out_a(s(T72))
plus32_in_gag(x0, x1)
plus68_in_gag(x0, x1)
ways1_in_gga(x0, x1)
U9_gag(x0, x1, x2)
U10_gag(x0, x1, x2)
U11_gga(x0, x1, x2, x3)
U12_gga(x0, x1, x2, x3)
U18_gga(x0, x1, x2, x3)
U19_gga(x0, x1, x2, x3)
plus36_in_gag(x0, x1)
plus72_in_gag(x0, x1)
U13_gga(x0, x1, x2, x3)
U14_gga(x0, x1, x2, x3, x4)
U20_gga(x0, x1, x2, x3)
U2_gag(x0, x1)
U3_gag(x0, x1, x2)
U7_gag(x0, x1)
U8_gag(x0, x1, x2)
U15_gga(x0, x1, x2, x3)
U16_gga(x0, x1, x2, x3)
nat40_in_g(x0)
nat80_in_g(x0)
U17_gga(x0, x1, x2, x3)
U1_g(x0, x1)
U6_g(x0, x1)
plus55_in_aaa
U4_aaa(x0)
U5_aaa(x0)
nat40_in_a
U1_a(x0)
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, U9_gag(T38, T51, plus36_in_gag(T38, T51)))
U12_GGA(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → WAYS1_IN_GGA(s(T51), T39)
WAYS1_IN_GGA(s(T132), .(s(T122), T123)) → U19_GGA(T132, T122, T123, plus68_in_gag(T132, T122))
U19_GGA(T132, T122, T123, plus68_out_gag(T132, T135, T122)) → WAYS1_IN_GGA(s(T132), T123)
U12_GGA(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T54, ways1_in_gga(s(T51), T39))
U14_GGA(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → WAYS1_IN_GGA(T54, .(s(T38), T39))
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, U9_gag(T38, T51, plus36_in_gag(T38, T51)))
plus32_in_gag(T62, T63) → U9_gag(T62, T63, plus36_in_gag(T62, T63))
plus68_in_gag(T142, T143) → U10_gag(T142, T143, plus72_in_gag(T142, T143))
ways1_in_gga(T30, []) → ways1_out_gga(T30, [])
ways1_in_gga(s(T51), .(s(T38), T39)) → U11_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T51), .(s(T38), T39)) → U12_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T132), .(s(T122), T123)) → U18_gga(T132, T122, T123, plus68_in_gag(T132, T122))
ways1_in_gga(s(T132), .(s(T122), T123)) → U19_gga(T132, T122, T123, plus68_in_gag(T132, T122))
U9_gag(T62, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U10_gag(T142, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U11_gga(T51, T38, T39, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, ways1_in_gga(s(T51), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T54, ways1_in_gga(s(T51), T39))
U18_gga(T132, T122, T123, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123))
U19_gga(T132, T122, T123, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, ways1_in_gga(s(T132), T123))
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(T77, T78, plus36_in_gag(T77, T78))
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(T148, T149, plus72_in_gag(T148, T149))
U13_gga(T51, T38, T39, ways1_out_gga(s(T51), T39)) → ways1_out_gga(s(T51), .(s(T38), T39))
U14_gga(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → U15_gga(T51, T38, T39, ways1_in_gga(T54, .(s(T38), T39)))
U14_gga(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → U16_gga(T51, T38, T39, ways1_in_gga(T54, .(s(T38), T39)))
U20_gga(T132, T122, T123, ways1_out_gga(s(T132), T123)) → ways1_out_gga(s(T132), .(s(T122), T123))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
U3_gag(T77, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
U8_gag(T148, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U15_gga(T51, T38, T39, ways1_out_gga(T54, .(s(T38), T39))) → ways1_out_gga(s(T51), .(s(T38), T39))
U16_gga(T51, T38, T39, ways1_out_gga(T54, .(s(T38), T39))) → U17_gga(T51, T38, T39, plus55_in_aaa)
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
ways1_in_gga(0, T5) → ways1_out_gga(0, T5)
U17_gga(T51, T38, T39, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
plus55_in_aaa → U4_aaa(nat40_in_a)
plus55_in_aaa → U5_aaa(plus55_in_aaa)
U4_aaa(nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a → nat40_out_a(0)
nat40_in_a → U1_a(nat40_in_a)
U1_a(nat40_out_a(T72)) → nat40_out_a(s(T72))
plus32_in_gag(x0, x1)
plus68_in_gag(x0, x1)
ways1_in_gga(x0, x1)
U9_gag(x0, x1, x2)
U10_gag(x0, x1, x2)
U11_gga(x0, x1, x2, x3)
U12_gga(x0, x1, x2, x3)
U18_gga(x0, x1, x2, x3)
U19_gga(x0, x1, x2, x3)
plus36_in_gag(x0, x1)
plus72_in_gag(x0, x1)
U13_gga(x0, x1, x2, x3)
U14_gga(x0, x1, x2, x3, x4)
U20_gga(x0, x1, x2, x3)
U2_gag(x0, x1)
U3_gag(x0, x1, x2)
U7_gag(x0, x1)
U8_gag(x0, x1, x2)
U15_gga(x0, x1, x2, x3)
U16_gga(x0, x1, x2, x3)
nat40_in_g(x0)
nat80_in_g(x0)
U17_gga(x0, x1, x2, x3)
U1_g(x0, x1)
U6_g(x0, x1)
plus55_in_aaa
U4_aaa(x0)
U5_aaa(x0)
nat40_in_a
U1_a(x0)
WAYS1_IN_GGA(s(T132), .(s(T122), T123)) → U19_GGA(T132, T122, T123, U10_gag(T132, T122, plus72_in_gag(T132, T122)))
U12_GGA(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → WAYS1_IN_GGA(s(T51), T39)
U19_GGA(T132, T122, T123, plus68_out_gag(T132, T135, T122)) → WAYS1_IN_GGA(s(T132), T123)
U12_GGA(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T54, ways1_in_gga(s(T51), T39))
U14_GGA(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → WAYS1_IN_GGA(T54, .(s(T38), T39))
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, U9_gag(T38, T51, plus36_in_gag(T38, T51)))
WAYS1_IN_GGA(s(T132), .(s(T122), T123)) → U19_GGA(T132, T122, T123, U10_gag(T132, T122, plus72_in_gag(T132, T122)))
plus32_in_gag(T62, T63) → U9_gag(T62, T63, plus36_in_gag(T62, T63))
plus68_in_gag(T142, T143) → U10_gag(T142, T143, plus72_in_gag(T142, T143))
ways1_in_gga(T30, []) → ways1_out_gga(T30, [])
ways1_in_gga(s(T51), .(s(T38), T39)) → U11_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T51), .(s(T38), T39)) → U12_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T132), .(s(T122), T123)) → U18_gga(T132, T122, T123, plus68_in_gag(T132, T122))
ways1_in_gga(s(T132), .(s(T122), T123)) → U19_gga(T132, T122, T123, plus68_in_gag(T132, T122))
U9_gag(T62, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U10_gag(T142, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U11_gga(T51, T38, T39, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, ways1_in_gga(s(T51), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T54, ways1_in_gga(s(T51), T39))
U18_gga(T132, T122, T123, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123))
U19_gga(T132, T122, T123, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, ways1_in_gga(s(T132), T123))
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(T77, T78, plus36_in_gag(T77, T78))
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(T148, T149, plus72_in_gag(T148, T149))
U13_gga(T51, T38, T39, ways1_out_gga(s(T51), T39)) → ways1_out_gga(s(T51), .(s(T38), T39))
U14_gga(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → U15_gga(T51, T38, T39, ways1_in_gga(T54, .(s(T38), T39)))
U14_gga(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → U16_gga(T51, T38, T39, ways1_in_gga(T54, .(s(T38), T39)))
U20_gga(T132, T122, T123, ways1_out_gga(s(T132), T123)) → ways1_out_gga(s(T132), .(s(T122), T123))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
U3_gag(T77, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
U8_gag(T148, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U15_gga(T51, T38, T39, ways1_out_gga(T54, .(s(T38), T39))) → ways1_out_gga(s(T51), .(s(T38), T39))
U16_gga(T51, T38, T39, ways1_out_gga(T54, .(s(T38), T39))) → U17_gga(T51, T38, T39, plus55_in_aaa)
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
ways1_in_gga(0, T5) → ways1_out_gga(0, T5)
U17_gga(T51, T38, T39, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
plus55_in_aaa → U4_aaa(nat40_in_a)
plus55_in_aaa → U5_aaa(plus55_in_aaa)
U4_aaa(nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a → nat40_out_a(0)
nat40_in_a → U1_a(nat40_in_a)
U1_a(nat40_out_a(T72)) → nat40_out_a(s(T72))
plus32_in_gag(x0, x1)
plus68_in_gag(x0, x1)
ways1_in_gga(x0, x1)
U9_gag(x0, x1, x2)
U10_gag(x0, x1, x2)
U11_gga(x0, x1, x2, x3)
U12_gga(x0, x1, x2, x3)
U18_gga(x0, x1, x2, x3)
U19_gga(x0, x1, x2, x3)
plus36_in_gag(x0, x1)
plus72_in_gag(x0, x1)
U13_gga(x0, x1, x2, x3)
U14_gga(x0, x1, x2, x3, x4)
U20_gga(x0, x1, x2, x3)
U2_gag(x0, x1)
U3_gag(x0, x1, x2)
U7_gag(x0, x1)
U8_gag(x0, x1, x2)
U15_gga(x0, x1, x2, x3)
U16_gga(x0, x1, x2, x3)
nat40_in_g(x0)
nat80_in_g(x0)
U17_gga(x0, x1, x2, x3)
U1_g(x0, x1)
U6_g(x0, x1)
plus55_in_aaa
U4_aaa(x0)
U5_aaa(x0)
nat40_in_a
U1_a(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U12_GGA(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → WAYS1_IN_GGA(s(T51), T39)
WAYS1_IN_GGA(s(T132), .(s(T122), T123)) → U19_GGA(T132, T122, T123, U10_gag(T132, T122, plus72_in_gag(T132, T122)))
POL(.(x1, x2)) = 1 + x2
POL(0) = 0
POL(U10_gag(x1, x2, x3)) = 0
POL(U11_gga(x1, x2, x3, x4)) = 0
POL(U12_GGA(x1, x2, x3, x4)) = 1 + x3
POL(U12_gga(x1, x2, x3, x4)) = 0
POL(U13_gga(x1, x2, x3, x4)) = 0
POL(U14_GGA(x1, x2, x3, x4, x5)) = 1 + x3
POL(U14_gga(x1, x2, x3, x4, x5)) = 0
POL(U15_gga(x1, x2, x3, x4)) = 0
POL(U16_gga(x1, x2, x3, x4)) = 0
POL(U17_gga(x1, x2, x3, x4)) = 0
POL(U18_gga(x1, x2, x3, x4)) = 0
POL(U19_GGA(x1, x2, x3, x4)) = x3
POL(U19_gga(x1, x2, x3, x4)) = 0
POL(U1_a(x1)) = 1
POL(U1_g(x1, x2)) = 0
POL(U20_gga(x1, x2, x3, x4)) = 0
POL(U2_gag(x1, x2)) = 0
POL(U3_gag(x1, x2, x3)) = 0
POL(U4_aaa(x1)) = 1
POL(U5_aaa(x1)) = 0
POL(U6_g(x1, x2)) = 0
POL(U7_gag(x1, x2)) = 0
POL(U8_gag(x1, x2, x3)) = 0
POL(U9_gag(x1, x2, x3)) = 0
POL(WAYS1_IN_GGA(x1, x2)) = x2
POL([]) = 0
POL(nat40_in_a) = 1
POL(nat40_in_g(x1)) = 0
POL(nat40_out_a(x1)) = 0
POL(nat40_out_g(x1)) = 0
POL(nat80_in_g(x1)) = 0
POL(nat80_out_g(x1)) = 0
POL(plus32_in_gag(x1, x2)) = 0
POL(plus32_out_gag(x1, x2, x3)) = 0
POL(plus36_in_gag(x1, x2)) = 0
POL(plus36_out_gag(x1, x2, x3)) = 0
POL(plus55_in_aaa) = 1
POL(plus55_out_aaa(x1, x2, x3)) = 0
POL(plus68_in_gag(x1, x2)) = x2
POL(plus68_out_gag(x1, x2, x3)) = 0
POL(plus72_in_gag(x1, x2)) = 0
POL(plus72_out_gag(x1, x2, x3)) = 0
POL(s(x1)) = 0
POL(ways1_in_gga(x1, x2)) = 0
POL(ways1_out_gga(x1, x2)) = 0
U19_GGA(T132, T122, T123, plus68_out_gag(T132, T135, T122)) → WAYS1_IN_GGA(s(T132), T123)
U12_GGA(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T54, ways1_in_gga(s(T51), T39))
U14_GGA(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → WAYS1_IN_GGA(T54, .(s(T38), T39))
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, U9_gag(T38, T51, plus36_in_gag(T38, T51)))
plus32_in_gag(T62, T63) → U9_gag(T62, T63, plus36_in_gag(T62, T63))
plus68_in_gag(T142, T143) → U10_gag(T142, T143, plus72_in_gag(T142, T143))
ways1_in_gga(T30, []) → ways1_out_gga(T30, [])
ways1_in_gga(s(T51), .(s(T38), T39)) → U11_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T51), .(s(T38), T39)) → U12_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T132), .(s(T122), T123)) → U18_gga(T132, T122, T123, plus68_in_gag(T132, T122))
ways1_in_gga(s(T132), .(s(T122), T123)) → U19_gga(T132, T122, T123, plus68_in_gag(T132, T122))
U9_gag(T62, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U10_gag(T142, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U11_gga(T51, T38, T39, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, ways1_in_gga(s(T51), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T54, ways1_in_gga(s(T51), T39))
U18_gga(T132, T122, T123, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123))
U19_gga(T132, T122, T123, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, ways1_in_gga(s(T132), T123))
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(T77, T78, plus36_in_gag(T77, T78))
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(T148, T149, plus72_in_gag(T148, T149))
U13_gga(T51, T38, T39, ways1_out_gga(s(T51), T39)) → ways1_out_gga(s(T51), .(s(T38), T39))
U14_gga(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → U15_gga(T51, T38, T39, ways1_in_gga(T54, .(s(T38), T39)))
U14_gga(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → U16_gga(T51, T38, T39, ways1_in_gga(T54, .(s(T38), T39)))
U20_gga(T132, T122, T123, ways1_out_gga(s(T132), T123)) → ways1_out_gga(s(T132), .(s(T122), T123))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
U3_gag(T77, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
U8_gag(T148, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U15_gga(T51, T38, T39, ways1_out_gga(T54, .(s(T38), T39))) → ways1_out_gga(s(T51), .(s(T38), T39))
U16_gga(T51, T38, T39, ways1_out_gga(T54, .(s(T38), T39))) → U17_gga(T51, T38, T39, plus55_in_aaa)
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
ways1_in_gga(0, T5) → ways1_out_gga(0, T5)
U17_gga(T51, T38, T39, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
plus55_in_aaa → U4_aaa(nat40_in_a)
plus55_in_aaa → U5_aaa(plus55_in_aaa)
U4_aaa(nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a → nat40_out_a(0)
nat40_in_a → U1_a(nat40_in_a)
U1_a(nat40_out_a(T72)) → nat40_out_a(s(T72))
plus32_in_gag(x0, x1)
plus68_in_gag(x0, x1)
ways1_in_gga(x0, x1)
U9_gag(x0, x1, x2)
U10_gag(x0, x1, x2)
U11_gga(x0, x1, x2, x3)
U12_gga(x0, x1, x2, x3)
U18_gga(x0, x1, x2, x3)
U19_gga(x0, x1, x2, x3)
plus36_in_gag(x0, x1)
plus72_in_gag(x0, x1)
U13_gga(x0, x1, x2, x3)
U14_gga(x0, x1, x2, x3, x4)
U20_gga(x0, x1, x2, x3)
U2_gag(x0, x1)
U3_gag(x0, x1, x2)
U7_gag(x0, x1)
U8_gag(x0, x1, x2)
U15_gga(x0, x1, x2, x3)
U16_gga(x0, x1, x2, x3)
nat40_in_g(x0)
nat80_in_g(x0)
U17_gga(x0, x1, x2, x3)
U1_g(x0, x1)
U6_g(x0, x1)
plus55_in_aaa
U4_aaa(x0)
U5_aaa(x0)
nat40_in_a
U1_a(x0)
U14_GGA(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → WAYS1_IN_GGA(T54, .(s(T38), T39))
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, U9_gag(T38, T51, plus36_in_gag(T38, T51)))
U12_GGA(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T54, ways1_in_gga(s(T51), T39))
plus32_in_gag(T62, T63) → U9_gag(T62, T63, plus36_in_gag(T62, T63))
plus68_in_gag(T142, T143) → U10_gag(T142, T143, plus72_in_gag(T142, T143))
ways1_in_gga(T30, []) → ways1_out_gga(T30, [])
ways1_in_gga(s(T51), .(s(T38), T39)) → U11_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T51), .(s(T38), T39)) → U12_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T132), .(s(T122), T123)) → U18_gga(T132, T122, T123, plus68_in_gag(T132, T122))
ways1_in_gga(s(T132), .(s(T122), T123)) → U19_gga(T132, T122, T123, plus68_in_gag(T132, T122))
U9_gag(T62, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U10_gag(T142, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U11_gga(T51, T38, T39, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, ways1_in_gga(s(T51), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T54, ways1_in_gga(s(T51), T39))
U18_gga(T132, T122, T123, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123))
U19_gga(T132, T122, T123, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, ways1_in_gga(s(T132), T123))
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(T77, T78, plus36_in_gag(T77, T78))
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(T148, T149, plus72_in_gag(T148, T149))
U13_gga(T51, T38, T39, ways1_out_gga(s(T51), T39)) → ways1_out_gga(s(T51), .(s(T38), T39))
U14_gga(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → U15_gga(T51, T38, T39, ways1_in_gga(T54, .(s(T38), T39)))
U14_gga(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → U16_gga(T51, T38, T39, ways1_in_gga(T54, .(s(T38), T39)))
U20_gga(T132, T122, T123, ways1_out_gga(s(T132), T123)) → ways1_out_gga(s(T132), .(s(T122), T123))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
U3_gag(T77, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
U8_gag(T148, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U15_gga(T51, T38, T39, ways1_out_gga(T54, .(s(T38), T39))) → ways1_out_gga(s(T51), .(s(T38), T39))
U16_gga(T51, T38, T39, ways1_out_gga(T54, .(s(T38), T39))) → U17_gga(T51, T38, T39, plus55_in_aaa)
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
ways1_in_gga(0, T5) → ways1_out_gga(0, T5)
U17_gga(T51, T38, T39, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
plus55_in_aaa → U4_aaa(nat40_in_a)
plus55_in_aaa → U5_aaa(plus55_in_aaa)
U4_aaa(nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a → nat40_out_a(0)
nat40_in_a → U1_a(nat40_in_a)
U1_a(nat40_out_a(T72)) → nat40_out_a(s(T72))
plus32_in_gag(x0, x1)
plus68_in_gag(x0, x1)
ways1_in_gga(x0, x1)
U9_gag(x0, x1, x2)
U10_gag(x0, x1, x2)
U11_gga(x0, x1, x2, x3)
U12_gga(x0, x1, x2, x3)
U18_gga(x0, x1, x2, x3)
U19_gga(x0, x1, x2, x3)
plus36_in_gag(x0, x1)
plus72_in_gag(x0, x1)
U13_gga(x0, x1, x2, x3)
U14_gga(x0, x1, x2, x3, x4)
U20_gga(x0, x1, x2, x3)
U2_gag(x0, x1)
U3_gag(x0, x1, x2)
U7_gag(x0, x1)
U8_gag(x0, x1, x2)
U15_gga(x0, x1, x2, x3)
U16_gga(x0, x1, x2, x3)
nat40_in_g(x0)
nat80_in_g(x0)
U17_gga(x0, x1, x2, x3)
U1_g(x0, x1)
U6_g(x0, x1)
plus55_in_aaa
U4_aaa(x0)
U5_aaa(x0)
nat40_in_a
U1_a(x0)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U12_GGA(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U14_GGA(T51, T38, T39, T54, ways1_in_gga(s(T51), T39))
POL(.(x1, x2)) = x2
POL(0) = 0
POL(U10_gag(x1, x2, x3)) = 0
POL(U11_gga(x1, x2, x3, x4)) = x3
POL(U12_GGA(x1, x2, x3, x4)) = x4
POL(U12_gga(x1, x2, x3, x4)) = x3
POL(U13_gga(x1, x2, x3, x4)) = 0
POL(U14_GGA(x1, x2, x3, x4, x5)) = x4
POL(U14_gga(x1, x2, x3, x4, x5)) = x5
POL(U15_gga(x1, x2, x3, x4)) = 0
POL(U16_gga(x1, x2, x3, x4)) = 0
POL(U17_gga(x1, x2, x3, x4)) = 0
POL(U18_gga(x1, x2, x3, x4)) = x3
POL(U19_gga(x1, x2, x3, x4)) = x3
POL(U1_a(x1)) = 0
POL(U1_g(x1, x2)) = 0
POL(U20_gga(x1, x2, x3, x4)) = 0
POL(U2_gag(x1, x2)) = x1
POL(U3_gag(x1, x2, x3)) = 1 + x3
POL(U4_aaa(x1)) = 0
POL(U5_aaa(x1)) = 0
POL(U6_g(x1, x2)) = 0
POL(U7_gag(x1, x2)) = 0
POL(U8_gag(x1, x2, x3)) = 0
POL(U9_gag(x1, x2, x3)) = 1 + x3
POL(WAYS1_IN_GGA(x1, x2)) = x1
POL([]) = 0
POL(nat40_in_a) = 0
POL(nat40_in_g(x1)) = 0
POL(nat40_out_a(x1)) = 0
POL(nat40_out_g(x1)) = 0
POL(nat80_in_g(x1)) = 0
POL(nat80_out_g(x1)) = 0
POL(plus32_in_gag(x1, x2)) = 0
POL(plus32_out_gag(x1, x2, x3)) = 1 + x2
POL(plus36_in_gag(x1, x2)) = x2
POL(plus36_out_gag(x1, x2, x3)) = x2
POL(plus55_in_aaa) = 0
POL(plus55_out_aaa(x1, x2, x3)) = 0
POL(plus68_in_gag(x1, x2)) = 0
POL(plus68_out_gag(x1, x2, x3)) = 0
POL(plus72_in_gag(x1, x2)) = 0
POL(plus72_out_gag(x1, x2, x3)) = 0
POL(s(x1)) = 1 + x1
POL(ways1_in_gga(x1, x2)) = x2
POL(ways1_out_gga(x1, x2)) = 0
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(T77, T78, plus36_in_gag(T77, T78))
U9_gag(T62, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U3_gag(T77, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
U14_GGA(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → WAYS1_IN_GGA(T54, .(s(T38), T39))
WAYS1_IN_GGA(s(T51), .(s(T38), T39)) → U12_GGA(T51, T38, T39, U9_gag(T38, T51, plus36_in_gag(T38, T51)))
plus32_in_gag(T62, T63) → U9_gag(T62, T63, plus36_in_gag(T62, T63))
plus68_in_gag(T142, T143) → U10_gag(T142, T143, plus72_in_gag(T142, T143))
ways1_in_gga(T30, []) → ways1_out_gga(T30, [])
ways1_in_gga(s(T51), .(s(T38), T39)) → U11_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T51), .(s(T38), T39)) → U12_gga(T51, T38, T39, plus32_in_gag(T38, T51))
ways1_in_gga(s(T132), .(s(T122), T123)) → U18_gga(T132, T122, T123, plus68_in_gag(T132, T122))
ways1_in_gga(s(T132), .(s(T122), T123)) → U19_gga(T132, T122, T123, plus68_in_gag(T132, T122))
U9_gag(T62, T63, plus36_out_gag(T62, X119, T63)) → plus32_out_gag(T62, X119, T63)
U10_gag(T142, T143, plus72_out_gag(T142, X234, T143)) → plus68_out_gag(T142, X234, T143)
U11_gga(T51, T38, T39, plus32_out_gag(T38, X82, T51)) → ways1_out_gga(s(T51), .(s(T38), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U13_gga(T51, T38, T39, ways1_in_gga(s(T51), T39))
U12_gga(T51, T38, T39, plus32_out_gag(T38, T54, T51)) → U14_gga(T51, T38, T39, T54, ways1_in_gga(s(T51), T39))
U18_gga(T132, T122, T123, plus68_out_gag(T132, X203, T122)) → ways1_out_gga(s(T132), .(s(T122), T123))
U19_gga(T132, T122, T123, plus68_out_gag(T132, T135, T122)) → U20_gga(T132, T122, T123, ways1_in_gga(s(T132), T123))
plus36_in_gag(0, T69) → U2_gag(T69, nat40_in_g(T69))
plus36_in_gag(s(T77), s(T78)) → U3_gag(T77, T78, plus36_in_gag(T77, T78))
plus72_in_gag(0, s(X255)) → U7_gag(X255, nat80_in_g(X255))
plus72_in_gag(s(T148), s(T149)) → U8_gag(T148, T149, plus72_in_gag(T148, T149))
U13_gga(T51, T38, T39, ways1_out_gga(s(T51), T39)) → ways1_out_gga(s(T51), .(s(T38), T39))
U14_gga(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → U15_gga(T51, T38, T39, ways1_in_gga(T54, .(s(T38), T39)))
U14_gga(T51, T38, T39, T54, ways1_out_gga(s(T51), T39)) → U16_gga(T51, T38, T39, ways1_in_gga(T54, .(s(T38), T39)))
U20_gga(T132, T122, T123, ways1_out_gga(s(T132), T123)) → ways1_out_gga(s(T132), .(s(T122), T123))
U2_gag(T69, nat40_out_g(T69)) → plus36_out_gag(0, T69, T69)
U3_gag(T77, T78, plus36_out_gag(T77, X148, T78)) → plus36_out_gag(s(T77), X148, s(T78))
U7_gag(X255, nat80_out_g(X255)) → plus72_out_gag(0, X255, s(X255))
U8_gag(T148, T149, plus72_out_gag(T148, X273, T149)) → plus72_out_gag(s(T148), X273, s(T149))
U15_gga(T51, T38, T39, ways1_out_gga(T54, .(s(T38), T39))) → ways1_out_gga(s(T51), .(s(T38), T39))
U16_gga(T51, T38, T39, ways1_out_gga(T54, .(s(T38), T39))) → U17_gga(T51, T38, T39, plus55_in_aaa)
nat40_in_g(0) → nat40_out_g(0)
nat40_in_g(s(T72)) → U1_g(T72, nat40_in_g(T72))
nat80_in_g(0) → nat80_out_g(0)
nat80_in_g(s(X261)) → U6_g(X261, nat80_in_g(X261))
ways1_in_gga(0, T5) → ways1_out_gga(0, T5)
U17_gga(T51, T38, T39, plus55_out_aaa(T82, T89, T41)) → ways1_out_gga(s(T51), .(s(T38), T39))
U1_g(T72, nat40_out_g(T72)) → nat40_out_g(s(T72))
U6_g(X261, nat80_out_g(X261)) → nat80_out_g(s(X261))
plus55_in_aaa → U4_aaa(nat40_in_a)
plus55_in_aaa → U5_aaa(plus55_in_aaa)
U4_aaa(nat40_out_a(T99)) → plus55_out_aaa(0, T99, T99)
U5_aaa(plus55_out_aaa(T106, T107, T109)) → plus55_out_aaa(s(T106), T107, s(T109))
nat40_in_a → nat40_out_a(0)
nat40_in_a → U1_a(nat40_in_a)
U1_a(nat40_out_a(T72)) → nat40_out_a(s(T72))
plus32_in_gag(x0, x1)
plus68_in_gag(x0, x1)
ways1_in_gga(x0, x1)
U9_gag(x0, x1, x2)
U10_gag(x0, x1, x2)
U11_gga(x0, x1, x2, x3)
U12_gga(x0, x1, x2, x3)
U18_gga(x0, x1, x2, x3)
U19_gga(x0, x1, x2, x3)
plus36_in_gag(x0, x1)
plus72_in_gag(x0, x1)
U13_gga(x0, x1, x2, x3)
U14_gga(x0, x1, x2, x3, x4)
U20_gga(x0, x1, x2, x3)
U2_gag(x0, x1)
U3_gag(x0, x1, x2)
U7_gag(x0, x1)
U8_gag(x0, x1, x2)
U15_gga(x0, x1, x2, x3)
U16_gga(x0, x1, x2, x3)
nat40_in_g(x0)
nat80_in_g(x0)
U17_gga(x0, x1, x2, x3)
U1_g(x0, x1)
U6_g(x0, x1)
plus55_in_aaa
U4_aaa(x0)
U5_aaa(x0)
nat40_in_a
U1_a(x0)