0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇐)
↳2 Prolog
↳3 PrologToPiTRSProof (⇐)
↳4 PiTRS
↳5 DependencyPairsProof (⇔)
↳6 PiDP
↳7 DependencyGraphProof (⇔)
↳8 AND
↳9 PiDP
↳10 UsableRulesProof (⇔)
↳11 PiDP
↳12 PiDPToQDPProof (⇔)
↳13 QDP
↳14 QDPSizeChangeProof (⇔)
↳15 TRUE
↳16 PiDP
↳17 UsableRulesProof (⇔)
↳18 PiDP
↳19 PiDPToQDPProof (⇐)
↳20 QDP
↳21 QDPSizeChangeProof (⇔)
↳22 TRUE
↳23 PiDP
↳24 UsableRulesProof (⇔)
↳25 PiDP
↳26 PiDPToQDPProof (⇐)
↳27 QDP
↳28 Instantiation (⇔)
↳29 QDP
↳30 Narrowing (⇐)
↳31 QDP
↳32 Narrowing (⇐)
↳33 QDP
↳34 Narrowing (⇐)
↳35 QDP
↳36 Narrowing (⇐)
↳37 QDP
↳38 Narrowing (⇐)
↳39 QDP
↳40 UsableRulesProof (⇔)
↳41 QDP
↳42 QReductionProof (⇔)
↳43 QDP
↳44 Instantiation (⇔)
↳45 QDP
↳46 Narrowing (⇐)
↳47 QDP
↳48 Instantiation (⇔)
↳49 QDP
↳50 Instantiation (⇔)
↳51 QDP
↳52 Instantiation (⇔)
↳53 QDP
↳54 Instantiation (⇔)
↳55 QDP
↳56 Instantiation (⇔)
↳57 QDP
↳58 Instantiation (⇔)
↳59 QDP
↳60 Instantiation (⇔)
↳61 QDP
↳62 Instantiation (⇔)
↳63 QDP
↳64 Instantiation (⇔)
↳65 QDP
↳66 Instantiation (⇔)
↳67 QDP
↳68 Instantiation (⇔)
↳69 QDP
↳70 Instantiation (⇔)
↳71 QDP
↳72 Instantiation (⇔)
↳73 QDP
↳74 Instantiation (⇔)
↳75 QDP
↳76 Instantiation (⇔)
↳77 QDP
↳78 NonTerminationProof (⇔)
↳79 FALSE
↳80 PrologToPiTRSProof (⇐)
↳81 PiTRS
↳82 DependencyPairsProof (⇔)
↳83 PiDP
↳84 DependencyGraphProof (⇔)
↳85 AND
↳86 PiDP
↳87 UsableRulesProof (⇔)
↳88 PiDP
↳89 PiDPToQDPProof (⇔)
↳90 QDP
↳91 QDPSizeChangeProof (⇔)
↳92 TRUE
↳93 PiDP
↳94 UsableRulesProof (⇔)
↳95 PiDP
↳96 PiDPToQDPProof (⇐)
↳97 QDP
↳98 QDPSizeChangeProof (⇔)
↳99 TRUE
↳100 PiDP
↳101 UsableRulesProof (⇔)
↳102 PiDP
↳103 PiDPToQDPProof (⇐)
↳104 QDP
↳105 Instantiation (⇔)
↳106 QDP
↳107 Narrowing (⇐)
↳108 QDP
↳109 Narrowing (⇐)
↳110 QDP
↳111 Narrowing (⇐)
↳112 QDP
↳113 Narrowing (⇐)
↳114 QDP
↳115 Narrowing (⇐)
↳116 QDP
↳117 UsableRulesProof (⇔)
↳118 QDP
↳119 QReductionProof (⇔)
↳120 QDP
↳121 Instantiation (⇔)
↳122 QDP
↳123 Narrowing (⇐)
↳124 QDP
↳125 Instantiation (⇔)
↳126 QDP
↳127 Instantiation (⇔)
↳128 QDP
↳129 Instantiation (⇔)
↳130 QDP
↳131 Instantiation (⇔)
↳132 QDP
↳133 Instantiation (⇔)
↳134 QDP
↳135 Instantiation (⇔)
↳136 QDP
↳137 Instantiation (⇔)
↳138 QDP
↳139 Instantiation (⇔)
↳140 QDP
↳141 Instantiation (⇔)
↳142 QDP
↳143 Instantiation (⇔)
↳144 QDP
↳145 Instantiation (⇔)
↳146 QDP
↳147 Instantiation (⇔)
↳148 QDP
↳149 Instantiation (⇔)
↳150 QDP
↳151 Instantiation (⇔)
↳152 QDP
↳153 Instantiation (⇔)
↳154 QDP
↳155 NonTerminationProof (⇔)
↳156 FALSE
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
P1_IN_GG(0, s(s(s(s(s(s(T31))))))) → U1_GG(T31, less86_in_g(T31))
P1_IN_GG(0, s(s(s(s(s(s(T31))))))) → LESS86_IN_G(T31)
U1_GG(T31, less86_out_g(T31)) → U2_GG(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U1_GG(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(0, s(s(s(s(s(s(T31))))))) → U1_AG(T31, less86_in_g(T31))
P1_IN_AG(0, s(s(s(s(s(s(T31))))))) → LESS86_IN_G(T31)
U1_AG(T31, less86_out_g(T31)) → U2_AG(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U1_AG(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(0), s(s(T42))) → U3_AG(T42, p16_in_g(T42))
P1_IN_AG(s(0), s(s(T42))) → P16_IN_G(T42)
P16_IN_G(s(s(s(s(T31))))) → U10_G(T31, less86_in_g(T31))
P16_IN_G(s(s(s(s(T31))))) → LESS86_IN_G(T31)
U10_G(T31, less86_out_g(T31)) → U11_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(0)), s(s(s(T45)))) → U4_AG(T45, p28_in_g(T45))
P1_IN_AG(s(s(0)), s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
P28_IN_G(s(s(s(T31)))) → LESS86_IN_G(T31)
U12_G(T31, less86_out_g(T31)) → U13_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(0))), s(s(s(s(T48))))) → U5_AG(T48, p43_in_g(T48))
P1_IN_AG(s(s(s(0))), s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
P43_IN_G(s(s(T31))) → LESS86_IN_G(T31)
U14_G(T31, less86_out_g(T31)) → U15_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_AG(T51, p61_in_g(T51))
P1_IN_AG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
P61_IN_G(s(T31)) → LESS86_IN_G(T31)
U16_G(T31, less86_out_g(T31)) → U17_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_AG(T54, p82_in_g(T54))
P1_IN_AG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
P82_IN_G(T31) → LESS86_IN_G(T31)
U18_G(T31, less86_out_g(T31)) → U19_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_AG(T55, T56, less152_in_ag(T55, T56))
P1_IN_AG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → LESS152_IN_AG(T55, T56)
LESS152_IN_AG(s(T59), s(T60)) → U20_AG(T59, T60, less152_in_ag(T59, T60))
LESS152_IN_AG(s(T59), s(T60)) → LESS152_IN_AG(T59, T60)
U8_AG(T55, T56, less152_out_ag(T55, T56)) → U9_AG(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U8_AG(T55, T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(T57), s(s(s(s(s(s(T56)))))))
P1_IN_GG(s(0), s(s(T42))) → U3_GG(T42, p16_in_g(T42))
P1_IN_GG(s(0), s(s(T42))) → P16_IN_G(T42)
P1_IN_GG(s(s(0)), s(s(s(T45)))) → U4_GG(T45, p28_in_g(T45))
P1_IN_GG(s(s(0)), s(s(s(T45)))) → P28_IN_G(T45)
P1_IN_GG(s(s(s(0))), s(s(s(s(T48))))) → U5_GG(T48, p43_in_g(T48))
P1_IN_GG(s(s(s(0))), s(s(s(s(T48))))) → P43_IN_G(T48)
P1_IN_GG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_GG(T51, p61_in_g(T51))
P1_IN_GG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P1_IN_GG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_GG(T54, p82_in_g(T54))
P1_IN_GG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P1_IN_GG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_GG(T55, T56, less152_in_gg(T55, T56))
P1_IN_GG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → LESS152_IN_GG(T55, T56)
LESS152_IN_GG(s(T59), s(T60)) → U20_GG(T59, T60, less152_in_gg(T59, T60))
LESS152_IN_GG(s(T59), s(T60)) → LESS152_IN_GG(T59, T60)
U8_GG(T55, T56, less152_out_gg(T55, T56)) → U9_GG(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U8_GG(T55, T56, less152_out_gg(T55, T56)) → P1_IN_AG(s(T57), s(s(s(s(s(s(T56)))))))
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
P1_IN_GG(0, s(s(s(s(s(s(T31))))))) → U1_GG(T31, less86_in_g(T31))
P1_IN_GG(0, s(s(s(s(s(s(T31))))))) → LESS86_IN_G(T31)
U1_GG(T31, less86_out_g(T31)) → U2_GG(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U1_GG(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(0, s(s(s(s(s(s(T31))))))) → U1_AG(T31, less86_in_g(T31))
P1_IN_AG(0, s(s(s(s(s(s(T31))))))) → LESS86_IN_G(T31)
U1_AG(T31, less86_out_g(T31)) → U2_AG(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U1_AG(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(0), s(s(T42))) → U3_AG(T42, p16_in_g(T42))
P1_IN_AG(s(0), s(s(T42))) → P16_IN_G(T42)
P16_IN_G(s(s(s(s(T31))))) → U10_G(T31, less86_in_g(T31))
P16_IN_G(s(s(s(s(T31))))) → LESS86_IN_G(T31)
U10_G(T31, less86_out_g(T31)) → U11_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(0)), s(s(s(T45)))) → U4_AG(T45, p28_in_g(T45))
P1_IN_AG(s(s(0)), s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
P28_IN_G(s(s(s(T31)))) → LESS86_IN_G(T31)
U12_G(T31, less86_out_g(T31)) → U13_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(0))), s(s(s(s(T48))))) → U5_AG(T48, p43_in_g(T48))
P1_IN_AG(s(s(s(0))), s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
P43_IN_G(s(s(T31))) → LESS86_IN_G(T31)
U14_G(T31, less86_out_g(T31)) → U15_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_AG(T51, p61_in_g(T51))
P1_IN_AG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
P61_IN_G(s(T31)) → LESS86_IN_G(T31)
U16_G(T31, less86_out_g(T31)) → U17_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_AG(T54, p82_in_g(T54))
P1_IN_AG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
P82_IN_G(T31) → LESS86_IN_G(T31)
U18_G(T31, less86_out_g(T31)) → U19_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_AG(T55, T56, less152_in_ag(T55, T56))
P1_IN_AG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → LESS152_IN_AG(T55, T56)
LESS152_IN_AG(s(T59), s(T60)) → U20_AG(T59, T60, less152_in_ag(T59, T60))
LESS152_IN_AG(s(T59), s(T60)) → LESS152_IN_AG(T59, T60)
U8_AG(T55, T56, less152_out_ag(T55, T56)) → U9_AG(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U8_AG(T55, T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(T57), s(s(s(s(s(s(T56)))))))
P1_IN_GG(s(0), s(s(T42))) → U3_GG(T42, p16_in_g(T42))
P1_IN_GG(s(0), s(s(T42))) → P16_IN_G(T42)
P1_IN_GG(s(s(0)), s(s(s(T45)))) → U4_GG(T45, p28_in_g(T45))
P1_IN_GG(s(s(0)), s(s(s(T45)))) → P28_IN_G(T45)
P1_IN_GG(s(s(s(0))), s(s(s(s(T48))))) → U5_GG(T48, p43_in_g(T48))
P1_IN_GG(s(s(s(0))), s(s(s(s(T48))))) → P43_IN_G(T48)
P1_IN_GG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_GG(T51, p61_in_g(T51))
P1_IN_GG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P1_IN_GG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_GG(T54, p82_in_g(T54))
P1_IN_GG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P1_IN_GG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_GG(T55, T56, less152_in_gg(T55, T56))
P1_IN_GG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → LESS152_IN_GG(T55, T56)
LESS152_IN_GG(s(T59), s(T60)) → U20_GG(T59, T60, less152_in_gg(T59, T60))
LESS152_IN_GG(s(T59), s(T60)) → LESS152_IN_GG(T59, T60)
U8_GG(T55, T56, less152_out_gg(T55, T56)) → U9_GG(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U8_GG(T55, T56, less152_out_gg(T55, T56)) → P1_IN_AG(s(T57), s(s(s(s(s(s(T56)))))))
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
LESS152_IN_GG(s(T59), s(T60)) → LESS152_IN_GG(T59, T60)
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
LESS152_IN_GG(s(T59), s(T60)) → LESS152_IN_GG(T59, T60)
LESS152_IN_GG(s(T59), s(T60)) → LESS152_IN_GG(T59, T60)
From the DPs we obtained the following set of size-change graphs:
LESS152_IN_AG(s(T59), s(T60)) → LESS152_IN_AG(T59, T60)
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
LESS152_IN_AG(s(T59), s(T60)) → LESS152_IN_AG(T59, T60)
LESS152_IN_AG(s(T60)) → LESS152_IN_AG(T60)
From the DPs we obtained the following set of size-change graphs:
P1_IN_AG(s(0), s(s(T42))) → P16_IN_G(T42)
P16_IN_G(s(s(s(s(T31))))) → U10_G(T31, less86_in_g(T31))
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(0)), s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(0))), s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_AG(T55, T56, less152_in_ag(T55, T56))
U8_AG(T55, T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(T57), s(s(s(s(s(s(T56)))))))
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
P1_IN_AG(s(0), s(s(T42))) → P16_IN_G(T42)
P16_IN_G(s(s(s(s(T31))))) → U10_G(T31, less86_in_g(T31))
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(0)), s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(0))), s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_AG(T55, T56, less152_in_ag(T55, T56))
U8_AG(T55, T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(T57), s(s(s(s(s(s(T56)))))))
less86_in_g(s(T39)) → less86_out_g(s(T39))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
P16_IN_G(s(s(s(s(T31))))) → U10_G(T31, less86_in_g(T31))
U10_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
less86_in_g(s(T39)) → less86_out_g
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0)
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
P16_IN_G(s(s(s(s(T31))))) → U10_G(T31, less86_in_g(T31))
U10_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
less86_in_g(s(T39)) → less86_out_g
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0)
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
less86_in_g(s(T39)) → less86_out_g
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
less86_in_g(s(T39)) → less86_out_g
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
less86_in_g(s(T39)) → less86_out_g
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
less86_in_g(s(T39)) → less86_out_g
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
less86_in_g(s(T39)) → less86_out_g
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0)
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0)
less86_in_g(x0)
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
U12_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
U14_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
U16_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
U18_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U8_AG(T56, less152_out_ag(T55)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
U8_AG(s(z0), less152_out_ag(0)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(0)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P82_IN_G(s(z0))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(0)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P82_IN_G(s(z0))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P16_IN_G(s(s(s(s(s(z0))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(0)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P82_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P16_IN_G(s(s(s(s(s(z0))))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(0)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P82_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P16_IN_G(s(s(s(s(s(z0))))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(0)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P82_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P16_IN_G(s(s(s(s(s(z0))))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(less152_in_ag(x0)))
U10_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(0)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1)) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P82_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P16_IN_G(s(s(s(s(s(z0))))))
less152_in_ag(s(T58)) → less152_out_ag(0)
less152_in_ag(s(T60)) → U20_ag(less152_in_ag(T60))
U20_ag(less152_out_ag(T59)) → less152_out_ag(s(T59))
less152_in_ag(x0)
U20_ag(x0)
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
P1_IN_GG(0, s(s(s(s(s(s(T31))))))) → U1_GG(T31, less86_in_g(T31))
P1_IN_GG(0, s(s(s(s(s(s(T31))))))) → LESS86_IN_G(T31)
U1_GG(T31, less86_out_g(T31)) → U2_GG(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U1_GG(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(0, s(s(s(s(s(s(T31))))))) → U1_AG(T31, less86_in_g(T31))
P1_IN_AG(0, s(s(s(s(s(s(T31))))))) → LESS86_IN_G(T31)
U1_AG(T31, less86_out_g(T31)) → U2_AG(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U1_AG(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(0), s(s(T42))) → U3_AG(T42, p16_in_g(T42))
P1_IN_AG(s(0), s(s(T42))) → P16_IN_G(T42)
P16_IN_G(s(s(s(s(T31))))) → U10_G(T31, less86_in_g(T31))
P16_IN_G(s(s(s(s(T31))))) → LESS86_IN_G(T31)
U10_G(T31, less86_out_g(T31)) → U11_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(0)), s(s(s(T45)))) → U4_AG(T45, p28_in_g(T45))
P1_IN_AG(s(s(0)), s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
P28_IN_G(s(s(s(T31)))) → LESS86_IN_G(T31)
U12_G(T31, less86_out_g(T31)) → U13_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(0))), s(s(s(s(T48))))) → U5_AG(T48, p43_in_g(T48))
P1_IN_AG(s(s(s(0))), s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
P43_IN_G(s(s(T31))) → LESS86_IN_G(T31)
U14_G(T31, less86_out_g(T31)) → U15_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_AG(T51, p61_in_g(T51))
P1_IN_AG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
P61_IN_G(s(T31)) → LESS86_IN_G(T31)
U16_G(T31, less86_out_g(T31)) → U17_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_AG(T54, p82_in_g(T54))
P1_IN_AG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
P82_IN_G(T31) → LESS86_IN_G(T31)
U18_G(T31, less86_out_g(T31)) → U19_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_AG(T55, T56, less152_in_ag(T55, T56))
P1_IN_AG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → LESS152_IN_AG(T55, T56)
LESS152_IN_AG(s(T59), s(T60)) → U20_AG(T59, T60, less152_in_ag(T59, T60))
LESS152_IN_AG(s(T59), s(T60)) → LESS152_IN_AG(T59, T60)
U8_AG(T55, T56, less152_out_ag(T55, T56)) → U9_AG(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U8_AG(T55, T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(T57), s(s(s(s(s(s(T56)))))))
P1_IN_GG(s(0), s(s(T42))) → U3_GG(T42, p16_in_g(T42))
P1_IN_GG(s(0), s(s(T42))) → P16_IN_G(T42)
P1_IN_GG(s(s(0)), s(s(s(T45)))) → U4_GG(T45, p28_in_g(T45))
P1_IN_GG(s(s(0)), s(s(s(T45)))) → P28_IN_G(T45)
P1_IN_GG(s(s(s(0))), s(s(s(s(T48))))) → U5_GG(T48, p43_in_g(T48))
P1_IN_GG(s(s(s(0))), s(s(s(s(T48))))) → P43_IN_G(T48)
P1_IN_GG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_GG(T51, p61_in_g(T51))
P1_IN_GG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P1_IN_GG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_GG(T54, p82_in_g(T54))
P1_IN_GG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P1_IN_GG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_GG(T55, T56, less152_in_gg(T55, T56))
P1_IN_GG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → LESS152_IN_GG(T55, T56)
LESS152_IN_GG(s(T59), s(T60)) → U20_GG(T59, T60, less152_in_gg(T59, T60))
LESS152_IN_GG(s(T59), s(T60)) → LESS152_IN_GG(T59, T60)
U8_GG(T55, T56, less152_out_gg(T55, T56)) → U9_GG(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U8_GG(T55, T56, less152_out_gg(T55, T56)) → P1_IN_AG(s(T57), s(s(s(s(s(s(T56)))))))
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
P1_IN_GG(0, s(s(s(s(s(s(T31))))))) → U1_GG(T31, less86_in_g(T31))
P1_IN_GG(0, s(s(s(s(s(s(T31))))))) → LESS86_IN_G(T31)
U1_GG(T31, less86_out_g(T31)) → U2_GG(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U1_GG(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(0, s(s(s(s(s(s(T31))))))) → U1_AG(T31, less86_in_g(T31))
P1_IN_AG(0, s(s(s(s(s(s(T31))))))) → LESS86_IN_G(T31)
U1_AG(T31, less86_out_g(T31)) → U2_AG(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U1_AG(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(0), s(s(T42))) → U3_AG(T42, p16_in_g(T42))
P1_IN_AG(s(0), s(s(T42))) → P16_IN_G(T42)
P16_IN_G(s(s(s(s(T31))))) → U10_G(T31, less86_in_g(T31))
P16_IN_G(s(s(s(s(T31))))) → LESS86_IN_G(T31)
U10_G(T31, less86_out_g(T31)) → U11_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(0)), s(s(s(T45)))) → U4_AG(T45, p28_in_g(T45))
P1_IN_AG(s(s(0)), s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
P28_IN_G(s(s(s(T31)))) → LESS86_IN_G(T31)
U12_G(T31, less86_out_g(T31)) → U13_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(0))), s(s(s(s(T48))))) → U5_AG(T48, p43_in_g(T48))
P1_IN_AG(s(s(s(0))), s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
P43_IN_G(s(s(T31))) → LESS86_IN_G(T31)
U14_G(T31, less86_out_g(T31)) → U15_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_AG(T51, p61_in_g(T51))
P1_IN_AG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
P61_IN_G(s(T31)) → LESS86_IN_G(T31)
U16_G(T31, less86_out_g(T31)) → U17_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_AG(T54, p82_in_g(T54))
P1_IN_AG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
P82_IN_G(T31) → LESS86_IN_G(T31)
U18_G(T31, less86_out_g(T31)) → U19_G(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_AG(T55, T56, less152_in_ag(T55, T56))
P1_IN_AG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → LESS152_IN_AG(T55, T56)
LESS152_IN_AG(s(T59), s(T60)) → U20_AG(T59, T60, less152_in_ag(T59, T60))
LESS152_IN_AG(s(T59), s(T60)) → LESS152_IN_AG(T59, T60)
U8_AG(T55, T56, less152_out_ag(T55, T56)) → U9_AG(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U8_AG(T55, T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(T57), s(s(s(s(s(s(T56)))))))
P1_IN_GG(s(0), s(s(T42))) → U3_GG(T42, p16_in_g(T42))
P1_IN_GG(s(0), s(s(T42))) → P16_IN_G(T42)
P1_IN_GG(s(s(0)), s(s(s(T45)))) → U4_GG(T45, p28_in_g(T45))
P1_IN_GG(s(s(0)), s(s(s(T45)))) → P28_IN_G(T45)
P1_IN_GG(s(s(s(0))), s(s(s(s(T48))))) → U5_GG(T48, p43_in_g(T48))
P1_IN_GG(s(s(s(0))), s(s(s(s(T48))))) → P43_IN_G(T48)
P1_IN_GG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_GG(T51, p61_in_g(T51))
P1_IN_GG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P1_IN_GG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_GG(T54, p82_in_g(T54))
P1_IN_GG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P1_IN_GG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_GG(T55, T56, less152_in_gg(T55, T56))
P1_IN_GG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → LESS152_IN_GG(T55, T56)
LESS152_IN_GG(s(T59), s(T60)) → U20_GG(T59, T60, less152_in_gg(T59, T60))
LESS152_IN_GG(s(T59), s(T60)) → LESS152_IN_GG(T59, T60)
U8_GG(T55, T56, less152_out_gg(T55, T56)) → U9_GG(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U8_GG(T55, T56, less152_out_gg(T55, T56)) → P1_IN_AG(s(T57), s(s(s(s(s(s(T56)))))))
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
LESS152_IN_GG(s(T59), s(T60)) → LESS152_IN_GG(T59, T60)
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
LESS152_IN_GG(s(T59), s(T60)) → LESS152_IN_GG(T59, T60)
LESS152_IN_GG(s(T59), s(T60)) → LESS152_IN_GG(T59, T60)
From the DPs we obtained the following set of size-change graphs:
LESS152_IN_AG(s(T59), s(T60)) → LESS152_IN_AG(T59, T60)
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
LESS152_IN_AG(s(T59), s(T60)) → LESS152_IN_AG(T59, T60)
LESS152_IN_AG(s(T60)) → LESS152_IN_AG(T60)
From the DPs we obtained the following set of size-change graphs:
P1_IN_AG(s(0), s(s(T42))) → P16_IN_G(T42)
P16_IN_G(s(s(s(s(T31))))) → U10_G(T31, less86_in_g(T31))
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(0)), s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(0))), s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_AG(T55, T56, less152_in_ag(T55, T56))
U8_AG(T55, T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(T57), s(s(s(s(s(s(T56)))))))
p1_in_gg(0, s(s(s(s(s(s(T31))))))) → U1_gg(T31, less86_in_g(T31))
less86_in_g(s(T39)) → less86_out_g(s(T39))
U1_gg(T31, less86_out_g(T31)) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
U1_gg(T31, less86_out_g(T31)) → U2_gg(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(0, s(s(s(s(s(s(T31))))))) → U1_ag(T31, less86_in_g(T31))
U1_ag(T31, less86_out_g(T31)) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U1_ag(T31, less86_out_g(T31)) → U2_ag(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(0), s(s(T42))) → U3_ag(T42, p16_in_g(T42))
p16_in_g(s(s(s(s(T31))))) → U10_g(T31, less86_in_g(T31))
U10_g(T31, less86_out_g(T31)) → p16_out_g(s(s(s(s(T31)))))
U10_g(T31, less86_out_g(T31)) → U11_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(0)), s(s(s(T45)))) → U4_ag(T45, p28_in_g(T45))
p28_in_g(s(s(s(T31)))) → U12_g(T31, less86_in_g(T31))
U12_g(T31, less86_out_g(T31)) → p28_out_g(s(s(s(T31))))
U12_g(T31, less86_out_g(T31)) → U13_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(0))), s(s(s(s(T48))))) → U5_ag(T48, p43_in_g(T48))
p43_in_g(s(s(T31))) → U14_g(T31, less86_in_g(T31))
U14_g(T31, less86_out_g(T31)) → p43_out_g(s(s(T31)))
U14_g(T31, less86_out_g(T31)) → U15_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_ag(T51, p61_in_g(T51))
p61_in_g(s(T31)) → U16_g(T31, less86_in_g(T31))
U16_g(T31, less86_out_g(T31)) → p61_out_g(s(T31))
U16_g(T31, less86_out_g(T31)) → U17_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_ag(T54, p82_in_g(T54))
p82_in_g(T31) → U18_g(T31, less86_in_g(T31))
U18_g(T31, less86_out_g(T31)) → p82_out_g(T31)
U18_g(T31, less86_out_g(T31)) → U19_g(T31, p1_in_ag(s(T32), s(s(s(s(s(s(T31))))))))
p1_in_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_ag(T55, T56, less152_in_ag(T55, T56))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_ag(T55, T56, less152_out_ag(T55, T56)) → U9_ag(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_ag(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_ag(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U19_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p82_out_g(T31)
U7_ag(T54, p82_out_g(T54)) → p1_out_ag(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
U17_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p61_out_g(s(T31))
U6_ag(T51, p61_out_g(T51)) → p1_out_ag(s(s(s(s(0)))), s(s(s(s(s(T51))))))
U15_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p43_out_g(s(s(T31)))
U5_ag(T48, p43_out_g(T48)) → p1_out_ag(s(s(s(0))), s(s(s(s(T48)))))
U13_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p28_out_g(s(s(s(T31))))
U4_ag(T45, p28_out_g(T45)) → p1_out_ag(s(s(0)), s(s(s(T45))))
U11_g(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p16_out_g(s(s(s(s(T31)))))
U3_ag(T42, p16_out_g(T42)) → p1_out_ag(s(0), s(s(T42)))
U2_ag(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_ag(0, s(s(s(s(s(s(T31)))))))
U2_gg(T31, p1_out_ag(s(T32), s(s(s(s(s(s(T31)))))))) → p1_out_gg(0, s(s(s(s(s(s(T31)))))))
p1_in_gg(s(0), s(s(T42))) → U3_gg(T42, p16_in_g(T42))
U3_gg(T42, p16_out_g(T42)) → p1_out_gg(s(0), s(s(T42)))
p1_in_gg(s(s(0)), s(s(s(T45)))) → U4_gg(T45, p28_in_g(T45))
U4_gg(T45, p28_out_g(T45)) → p1_out_gg(s(s(0)), s(s(s(T45))))
p1_in_gg(s(s(s(0))), s(s(s(s(T48))))) → U5_gg(T48, p43_in_g(T48))
U5_gg(T48, p43_out_g(T48)) → p1_out_gg(s(s(s(0))), s(s(s(s(T48)))))
p1_in_gg(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → U6_gg(T51, p61_in_g(T51))
U6_gg(T51, p61_out_g(T51)) → p1_out_gg(s(s(s(s(0)))), s(s(s(s(s(T51))))))
p1_in_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → U7_gg(T54, p82_in_g(T54))
U7_gg(T54, p82_out_g(T54)) → p1_out_gg(s(s(s(s(s(0))))), s(s(s(s(s(s(T54)))))))
p1_in_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_gg(T55, T56, less152_in_gg(T55, T56))
less152_in_gg(0, s(T58)) → less152_out_gg(0, s(T58))
less152_in_gg(s(T59), s(T60)) → U20_gg(T59, T60, less152_in_gg(T59, T60))
U20_gg(T59, T60, less152_out_gg(T59, T60)) → less152_out_gg(s(T59), s(T60))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
U8_gg(T55, T56, less152_out_gg(T55, T56)) → U9_gg(T55, T56, p1_in_ag(s(T57), s(s(s(s(s(s(T56))))))))
U9_gg(T55, T56, p1_out_ag(s(T57), s(s(s(s(s(s(T56)))))))) → p1_out_gg(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56)))))))
P1_IN_AG(s(0), s(s(T42))) → P16_IN_G(T42)
P16_IN_G(s(s(s(s(T31))))) → U10_G(T31, less86_in_g(T31))
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(0)), s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(0))), s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(0)))), s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(0))))), s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(T32), s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T55)))))), s(s(s(s(s(s(T56))))))) → U8_AG(T55, T56, less152_in_ag(T55, T56))
U8_AG(T55, T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(T57), s(s(s(s(s(s(T56)))))))
less86_in_g(s(T39)) → less86_out_g(s(T39))
less152_in_ag(0, s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T59), s(T60)) → U20_ag(T59, T60, less152_in_ag(T59, T60))
U20_ag(T59, T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
P16_IN_G(s(s(s(s(T31))))) → U10_G(T31, less86_in_g(T31))
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
less86_in_g(s(T39)) → less86_out_g(s(T39))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0, x1)
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
P16_IN_G(s(s(s(s(T31))))) → U10_G(T31, less86_in_g(T31))
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
less86_in_g(s(T39)) → less86_out_g(s(T39))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0, x1)
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
P28_IN_G(s(s(s(T31)))) → U12_G(T31, less86_in_g(T31))
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
less86_in_g(s(T39)) → less86_out_g(s(T39))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0, x1)
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
P43_IN_G(s(s(T31))) → U14_G(T31, less86_in_g(T31))
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
less86_in_g(s(T39)) → less86_out_g(s(T39))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0, x1)
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
P61_IN_G(s(T31)) → U16_G(T31, less86_in_g(T31))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
less86_in_g(s(T39)) → less86_out_g(s(T39))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0, x1)
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P82_IN_G(T31) → U18_G(T31, less86_in_g(T31))
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
less86_in_g(s(T39)) → less86_out_g(s(T39))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0, x1)
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
less86_in_g(s(T39)) → less86_out_g(s(T39))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0, x1)
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less86_in_g(x0)
less152_in_ag(x0)
U20_ag(x0, x1)
less86_in_g(x0)
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T56))))))) → U8_AG(T56, less152_in_ag(T56))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
P1_IN_AG(s(s(T42))) → P16_IN_G(T42)
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(T45)))) → P28_IN_G(T45)
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
U12_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(T48))))) → P43_IN_G(T48)
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
U14_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(T51)))))) → P61_IN_G(T51)
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
U16_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U18_G(T31, less86_out_g(T31)) → P1_IN_AG(s(s(s(s(s(s(T31)))))))
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
U18_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
U8_AG(T56, less152_out_ag(T55, T56)) → P1_IN_AG(s(s(s(s(s(s(T56)))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
U8_AG(s(z0), less152_out_ag(0, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(T54))))))) → P82_IN_G(T54)
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(0, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P82_IN_G(s(z0))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P16_IN_G(s(s(s(s(z0)))))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(0, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P82_IN_G(s(z0))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P16_IN_G(s(s(s(s(s(z0))))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P28_IN_G(s(s(s(z0))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(0, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P82_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P16_IN_G(s(s(s(s(s(z0))))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P43_IN_G(s(s(z0)))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(0, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P82_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P16_IN_G(s(s(s(s(s(z0))))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(z0))))))) → P61_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(0, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P82_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P16_IN_G(s(s(s(s(s(z0))))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
P16_IN_G(s(s(s(s(s(x0)))))) → U10_G(s(x0), less86_out_g(s(x0)))
P28_IN_G(s(s(s(s(x0))))) → U12_G(s(x0), less86_out_g(s(x0)))
P43_IN_G(s(s(s(x0)))) → U14_G(s(x0), less86_out_g(s(x0)))
P61_IN_G(s(s(x0))) → U16_G(s(x0), less86_out_g(s(x0)))
P82_IN_G(s(x0)) → U18_G(s(x0), less86_out_g(s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), less152_out_ag(0, s(x0)))
P1_IN_AG(s(s(s(s(s(s(s(x0)))))))) → U8_AG(s(x0), U20_ag(x0, less152_in_ag(x0)))
U10_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P28_IN_G(s(s(s(s(z0)))))
U12_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P43_IN_G(s(s(s(z0))))
U14_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P61_IN_G(s(s(z0)))
U16_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U18_G(s(z0), less86_out_g(s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(0, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
U8_AG(s(z0), less152_out_ag(x1, s(z0))) → P1_IN_AG(s(s(s(s(s(s(s(z0))))))))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P82_IN_G(s(z0))
P1_IN_AG(s(s(s(s(s(s(s(z0)))))))) → P16_IN_G(s(s(s(s(s(z0))))))
less152_in_ag(s(T58)) → less152_out_ag(0, s(T58))
less152_in_ag(s(T60)) → U20_ag(T60, less152_in_ag(T60))
U20_ag(T60, less152_out_ag(T59, T60)) → less152_out_ag(s(T59), s(T60))
less152_in_ag(x0)
U20_ag(x0, x1)