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 YES
↳16 PiDP
↳17 UsableRulesProof (⇔)
↳18 PiDP
↳19 PiDPToQDPProof (⇐)
↳20 QDP
↳21 QDPSizeChangeProof (⇔)
↳22 YES
↳23 PiDP
↳24 UsableRulesProof (⇔)
↳25 PiDP
↳26 PiDPToQDPProof (⇐)
↳27 QDP
↳28 Rewriting (⇔)
↳29 QDP
↳30 UsableRulesProof (⇔)
↳31 QDP
↳32 QReductionProof (⇔)
↳33 QDP
↳34 QDPOrderProof (⇔)
↳35 QDP
↳36 DependencyGraphProof (⇔)
↳37 TRUE
↳38 PiDP
↳39 UsableRulesProof (⇔)
↳40 PiDP
↳41 PiDPToQDPProof (⇐)
↳42 QDP
↳43 QDPSizeChangeProof (⇔)
↳44 YES
↳45 PiDP
↳46 UsableRulesProof (⇔)
↳47 PiDP
↳48 PiDPToQDPProof (⇐)
↳49 QDP
↳50 NonTerminationProof (⇔)
↳51 NO
↳52 PrologToPiTRSProof (⇐)
↳53 PiTRS
↳54 DependencyPairsProof (⇔)
↳55 PiDP
↳56 DependencyGraphProof (⇔)
↳57 AND
↳58 PiDP
↳59 UsableRulesProof (⇔)
↳60 PiDP
↳61 PiDPToQDPProof (⇔)
↳62 QDP
↳63 QDPSizeChangeProof (⇔)
↳64 YES
↳65 PiDP
↳66 UsableRulesProof (⇔)
↳67 PiDP
↳68 PiDPToQDPProof (⇐)
↳69 QDP
↳70 QDPSizeChangeProof (⇔)
↳71 YES
↳72 PiDP
↳73 UsableRulesProof (⇔)
↳74 PiDP
↳75 PiDPToQDPProof (⇐)
↳76 QDP
↳77 MRRProof (⇔)
↳78 QDP
↳79 QReductionProof (⇔)
↳80 QDP
↳81 MRRProof (⇔)
↳82 QDP
↳83 DependencyGraphProof (⇔)
↳84 TRUE
↳85 PiDP
↳86 UsableRulesProof (⇔)
↳87 PiDP
↳88 PiDPToQDPProof (⇐)
↳89 QDP
↳90 QDPSizeChangeProof (⇔)
↳91 YES
↳92 PiDP
↳93 UsableRulesProof (⇔)
↳94 PiDP
↳95 PiDPToQDPProof (⇐)
↳96 QDP
↳97 NonTerminationProof (⇔)
↳98 NO
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
LOG21_IN_AG(s(s(T14)), T13) → U8_AG(T14, T13, half17_in_aa(T14, X28))
LOG21_IN_AG(s(s(T14)), T13) → HALF17_IN_AA(T14, X28)
HALF17_IN_AA(T22, s(X46)) → U2_AA(T22, X46, half22_in_aa(T22, X46))
HALF17_IN_AA(T22, s(X46)) → HALF22_IN_AA(T22, X46)
HALF22_IN_AA(s(s(T26)), s(X55)) → U1_AA(T26, X55, half22_in_aa(T26, X55))
HALF22_IN_AA(s(s(T26)), s(X55)) → HALF22_IN_AA(T26, X55)
LOG21_IN_AG(s(s(T14)), s(0)) → U9_AG(T14, half17_in_ag(T14, 0))
LOG21_IN_AG(s(s(T14)), s(0)) → HALF17_IN_AG(T14, 0)
HALF17_IN_AG(T22, s(X46)) → U2_AG(T22, X46, half22_in_ag(T22, X46))
HALF17_IN_AG(T22, s(X46)) → HALF22_IN_AG(T22, X46)
HALF22_IN_AG(s(s(T26)), s(X55)) → U1_AG(T26, X55, half22_in_ag(T26, X55))
HALF22_IN_AG(s(s(T26)), s(X55)) → HALF22_IN_AG(T26, X55)
LOG21_IN_AG(s(s(T14)), s(0)) → U10_AG(T14, half17_in_ag(T14, s(0)))
LOG21_IN_AG(s(s(T14)), s(0)) → HALF17_IN_AG(T14, s(0))
LOG21_IN_AG(s(s(T14)), T32) → U11_AG(T14, T32, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), T32) → HALF17_IN_AA(T14, s(s(T31)))
U11_AG(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_AG(T14, T32, half17_in_ga(T31, X82))
U11_AG(T14, T32, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, X82)
HALF17_IN_GA(T22, s(X46)) → U2_GA(T22, X46, half22_in_ga(T22, X46))
HALF17_IN_GA(T22, s(X46)) → HALF22_IN_GA(T22, X46)
HALF22_IN_GA(s(s(T26)), s(X55)) → U1_GA(T26, X55, half22_in_ga(T26, X55))
HALF22_IN_GA(s(s(T26)), s(X55)) → HALF22_IN_GA(T26, X55)
LOG21_IN_AG(s(s(T14)), s(s(0))) → U13_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(0))) → HALF17_IN_AA(T14, s(s(T31)))
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → U14_AG(T14, half17_in_gg(T31, 0))
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GG(T31, 0)
HALF17_IN_GG(T22, s(X46)) → U2_GG(T22, X46, half22_in_gg(T22, X46))
HALF17_IN_GG(T22, s(X46)) → HALF22_IN_GG(T22, X46)
HALF22_IN_GG(s(s(T26)), s(X55)) → U1_GG(T26, X55, half22_in_gg(T26, X55))
HALF22_IN_GG(s(s(T26)), s(X55)) → HALF22_IN_GG(T26, X55)
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → U15_AG(T14, half17_in_gg(T31, s(0)))
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GG(T31, s(0))
LOG21_IN_AG(s(s(T14)), T41) → U16_AG(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_AG(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_AG(T14, T41, half17_in_ga(T31, s(s(T40))))
U16_AG(T14, T41, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U17_AG(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_AG(T14, T41, half17_in_ga(T40, X116))
U17_AG(T14, T41, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, X116)
LOG21_IN_AG(s(s(T14)), s(s(s(0)))) → U19_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(0)))) → HALF17_IN_AA(T14, s(s(T31)))
U19_AG(T14, half17_out_aa(T14, s(s(T31)))) → U20_AG(T14, half17_in_ga(T31, s(s(T40))))
U19_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → U21_AG(T14, half17_in_gg(T40, 0))
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GG(T40, 0)
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → U22_AG(T14, half17_in_gg(T40, s(0)))
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GG(T40, s(0))
LOG21_IN_AG(s(s(T14)), T50) → U23_AG(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_AG(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_AG(T14, T50, half17_in_ga(T31, s(s(T40))))
U23_AG(T14, T50, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U24_AG(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_AG(T14, T50, half17_in_ga(T40, s(s(T49))))
U24_AG(T14, T50, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U25_AG(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_AG(T14, T50, half17_in_ga(T49, X150))
U25_AG(T14, T50, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, X150)
LOG21_IN_AG(s(s(T14)), s(s(s(s(0))))) → U27_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(0))))) → HALF17_IN_AA(T14, s(s(T31)))
U27_AG(T14, half17_out_aa(T14, s(s(T31)))) → U28_AG(T14, half17_in_ga(T31, s(s(T40))))
U27_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U28_AG(T14, half17_out_ga(T31, s(s(T40)))) → U29_AG(T14, half17_in_ga(T40, s(s(T49))))
U28_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → U30_AG(T14, half17_in_gg(T49, 0))
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GG(T49, 0)
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → U31_AG(T14, half17_in_gg(T49, s(0)))
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GG(T49, s(0))
LOG21_IN_AG(s(s(T14)), T59) → U32_AG(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_AG(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_AG(T14, T59, half17_in_ga(T31, s(s(T40))))
U32_AG(T14, T59, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U33_AG(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_AG(T14, T59, half17_in_ga(T40, s(s(T49))))
U33_AG(T14, T59, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U34_AG(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_AG(T14, T59, half17_in_ga(T49, s(s(T58))))
U34_AG(T14, T59, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U35_AG(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_AG(T14, T59, half17_in_ga(T58, X184))
U35_AG(T14, T59, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, X184)
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(0)))))) → U37_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(0)))))) → HALF17_IN_AA(T14, s(s(T31)))
U37_AG(T14, half17_out_aa(T14, s(s(T31)))) → U38_AG(T14, half17_in_ga(T31, s(s(T40))))
U37_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U38_AG(T14, half17_out_ga(T31, s(s(T40)))) → U39_AG(T14, half17_in_ga(T40, s(s(T49))))
U38_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U39_AG(T14, half17_out_ga(T40, s(s(T49)))) → U40_AG(T14, half17_in_ga(T49, s(s(T58))))
U39_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → U41_AG(T14, half17_in_gg(T58, 0))
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GG(T58, 0)
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → U42_AG(T14, half17_in_gg(T58, s(0)))
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GG(T58, s(0))
LOG21_IN_AG(s(s(T14)), T68) → U43_AG(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_AG(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_AG(T14, T68, half17_in_ga(T31, s(s(T40))))
U43_AG(T14, T68, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U44_AG(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_AG(T14, T68, half17_in_ga(T40, s(s(T49))))
U44_AG(T14, T68, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U45_AG(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_AG(T14, T68, half17_in_ga(T49, s(s(T58))))
U45_AG(T14, T68, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U46_AG(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_AG(T14, T68, half17_in_ga(T58, s(s(T67))))
U46_AG(T14, T68, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U47_AG(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_AG(T14, T68, half17_in_ga(T67, X218))
U47_AG(T14, T68, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, X218)
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(0))))))) → HALF17_IN_AA(T14, s(s(T31)))
U49_AG(T14, half17_out_aa(T14, s(s(T31)))) → U50_AG(T14, half17_in_ga(T31, s(s(T40))))
U49_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U50_AG(T14, half17_out_ga(T31, s(s(T40)))) → U51_AG(T14, half17_in_ga(T40, s(s(T49))))
U50_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U51_AG(T14, half17_out_ga(T40, s(s(T49)))) → U52_AG(T14, half17_in_ga(T49, s(s(T58))))
U51_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U52_AG(T14, half17_out_ga(T49, s(s(T58)))) → U53_AG(T14, half17_in_ga(T58, s(s(T67))))
U52_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → U54_AG(T14, half17_in_gg(T67, 0))
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GG(T67, 0)
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → U55_AG(T14, half17_in_gg(T67, s(0)))
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GG(T67, s(0))
LOG21_IN_AG(s(s(T14)), T77) → U56_AG(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_AG(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_AG(T14, T77, half17_in_ga(T31, s(s(T40))))
U56_AG(T14, T77, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U57_AG(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_AG(T14, T77, half17_in_ga(T40, s(s(T49))))
U57_AG(T14, T77, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U58_AG(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_AG(T14, T77, half17_in_ga(T49, s(s(T58))))
U58_AG(T14, T77, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U59_AG(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_AG(T14, T77, half17_in_ga(T58, s(s(T67))))
U59_AG(T14, T77, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U60_AG(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_AG(T14, T77, half17_in_ga(T67, s(s(T76))))
U60_AG(T14, T77, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, s(s(T76)))
U61_AG(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_AG(T14, T77, half17_in_ga(T76, X252))
U61_AG(T14, T77, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GA(T76, X252)
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → HALF17_IN_AA(T14, s(s(T31)))
U63_AG(T14, half17_out_aa(T14, s(s(T31)))) → U64_AG(T14, half17_in_ga(T31, s(s(T40))))
U63_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U64_AG(T14, half17_out_ga(T31, s(s(T40)))) → U65_AG(T14, half17_in_ga(T40, s(s(T49))))
U64_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U65_AG(T14, half17_out_ga(T40, s(s(T49)))) → U66_AG(T14, half17_in_ga(T49, s(s(T58))))
U65_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U66_AG(T14, half17_out_ga(T49, s(s(T58)))) → U67_AG(T14, half17_in_ga(T58, s(s(T67))))
U66_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U67_AG(T14, half17_out_ga(T58, s(s(T67)))) → U68_AG(T14, half17_in_ga(T67, s(s(T76))))
U67_AG(T14, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, s(s(T76)))
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → U69_AG(T14, half17_in_gg(T76, 0))
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GG(T76, 0)
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → U70_AG(T14, half17_in_gg(T76, s(0)))
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GG(T76, s(0))
LOG21_IN_AG(s(s(T14)), T86) → U71_AG(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_AG(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_AG(T14, T86, half17_in_ga(T31, s(s(T40))))
U71_AG(T14, T86, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U72_AG(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_AG(T14, T86, half17_in_ga(T40, s(s(T49))))
U72_AG(T14, T86, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U73_AG(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_AG(T14, T86, half17_in_ga(T49, s(s(T58))))
U73_AG(T14, T86, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U74_AG(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_AG(T14, T86, half17_in_ga(T58, s(s(T67))))
U74_AG(T14, T86, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U75_AG(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_AG(T14, T86, half17_in_ga(T67, s(s(T76))))
U75_AG(T14, T86, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, s(s(T76)))
U76_AG(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_AG(T14, T86, half17_in_ga(T76, s(s(T85))))
U76_AG(T14, T86, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GA(T76, s(s(T85)))
U77_AG(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_AG(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
U77_AG(T14, T86, half17_out_ga(T76, s(s(T85)))) → P139_IN_GAGG(T85, X286, s(s(s(s(s(s(s(0))))))), T86)
P139_IN_GAGG(T85, X286, T88, T86) → U3_GAGG(T85, X286, T88, T86, half17_in_ga(T85, X286))
P139_IN_GAGG(T85, X286, T88, T86) → HALF17_IN_GA(T85, X286)
P139_IN_GAGG(T85, 0, T98, s(T98)) → U4_GAGG(T85, T98, half17_in_gg(T85, 0))
P139_IN_GAGG(T85, 0, T98, s(T98)) → HALF17_IN_GG(T85, 0)
P139_IN_GAGG(T85, s(0), T103, s(T103)) → U5_GAGG(T85, T103, half17_in_gg(T85, s(0)))
P139_IN_GAGG(T85, s(0), T103, s(T103)) → HALF17_IN_GG(T85, s(0))
P139_IN_GAGG(T85, s(s(T110)), T111, T112) → U6_GAGG(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
P139_IN_GAGG(T85, s(s(T110)), T111, T112) → HALF17_IN_GA(T85, s(s(T110)))
U6_GAGG(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_GAGG(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U6_GAGG(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → P139_IN_GAGG(T110, X323, s(T111), T112)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
LOG21_IN_AG(s(s(T14)), T13) → U8_AG(T14, T13, half17_in_aa(T14, X28))
LOG21_IN_AG(s(s(T14)), T13) → HALF17_IN_AA(T14, X28)
HALF17_IN_AA(T22, s(X46)) → U2_AA(T22, X46, half22_in_aa(T22, X46))
HALF17_IN_AA(T22, s(X46)) → HALF22_IN_AA(T22, X46)
HALF22_IN_AA(s(s(T26)), s(X55)) → U1_AA(T26, X55, half22_in_aa(T26, X55))
HALF22_IN_AA(s(s(T26)), s(X55)) → HALF22_IN_AA(T26, X55)
LOG21_IN_AG(s(s(T14)), s(0)) → U9_AG(T14, half17_in_ag(T14, 0))
LOG21_IN_AG(s(s(T14)), s(0)) → HALF17_IN_AG(T14, 0)
HALF17_IN_AG(T22, s(X46)) → U2_AG(T22, X46, half22_in_ag(T22, X46))
HALF17_IN_AG(T22, s(X46)) → HALF22_IN_AG(T22, X46)
HALF22_IN_AG(s(s(T26)), s(X55)) → U1_AG(T26, X55, half22_in_ag(T26, X55))
HALF22_IN_AG(s(s(T26)), s(X55)) → HALF22_IN_AG(T26, X55)
LOG21_IN_AG(s(s(T14)), s(0)) → U10_AG(T14, half17_in_ag(T14, s(0)))
LOG21_IN_AG(s(s(T14)), s(0)) → HALF17_IN_AG(T14, s(0))
LOG21_IN_AG(s(s(T14)), T32) → U11_AG(T14, T32, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), T32) → HALF17_IN_AA(T14, s(s(T31)))
U11_AG(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_AG(T14, T32, half17_in_ga(T31, X82))
U11_AG(T14, T32, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, X82)
HALF17_IN_GA(T22, s(X46)) → U2_GA(T22, X46, half22_in_ga(T22, X46))
HALF17_IN_GA(T22, s(X46)) → HALF22_IN_GA(T22, X46)
HALF22_IN_GA(s(s(T26)), s(X55)) → U1_GA(T26, X55, half22_in_ga(T26, X55))
HALF22_IN_GA(s(s(T26)), s(X55)) → HALF22_IN_GA(T26, X55)
LOG21_IN_AG(s(s(T14)), s(s(0))) → U13_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(0))) → HALF17_IN_AA(T14, s(s(T31)))
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → U14_AG(T14, half17_in_gg(T31, 0))
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GG(T31, 0)
HALF17_IN_GG(T22, s(X46)) → U2_GG(T22, X46, half22_in_gg(T22, X46))
HALF17_IN_GG(T22, s(X46)) → HALF22_IN_GG(T22, X46)
HALF22_IN_GG(s(s(T26)), s(X55)) → U1_GG(T26, X55, half22_in_gg(T26, X55))
HALF22_IN_GG(s(s(T26)), s(X55)) → HALF22_IN_GG(T26, X55)
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → U15_AG(T14, half17_in_gg(T31, s(0)))
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GG(T31, s(0))
LOG21_IN_AG(s(s(T14)), T41) → U16_AG(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_AG(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_AG(T14, T41, half17_in_ga(T31, s(s(T40))))
U16_AG(T14, T41, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U17_AG(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_AG(T14, T41, half17_in_ga(T40, X116))
U17_AG(T14, T41, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, X116)
LOG21_IN_AG(s(s(T14)), s(s(s(0)))) → U19_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(0)))) → HALF17_IN_AA(T14, s(s(T31)))
U19_AG(T14, half17_out_aa(T14, s(s(T31)))) → U20_AG(T14, half17_in_ga(T31, s(s(T40))))
U19_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → U21_AG(T14, half17_in_gg(T40, 0))
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GG(T40, 0)
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → U22_AG(T14, half17_in_gg(T40, s(0)))
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GG(T40, s(0))
LOG21_IN_AG(s(s(T14)), T50) → U23_AG(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_AG(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_AG(T14, T50, half17_in_ga(T31, s(s(T40))))
U23_AG(T14, T50, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U24_AG(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_AG(T14, T50, half17_in_ga(T40, s(s(T49))))
U24_AG(T14, T50, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U25_AG(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_AG(T14, T50, half17_in_ga(T49, X150))
U25_AG(T14, T50, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, X150)
LOG21_IN_AG(s(s(T14)), s(s(s(s(0))))) → U27_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(0))))) → HALF17_IN_AA(T14, s(s(T31)))
U27_AG(T14, half17_out_aa(T14, s(s(T31)))) → U28_AG(T14, half17_in_ga(T31, s(s(T40))))
U27_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U28_AG(T14, half17_out_ga(T31, s(s(T40)))) → U29_AG(T14, half17_in_ga(T40, s(s(T49))))
U28_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → U30_AG(T14, half17_in_gg(T49, 0))
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GG(T49, 0)
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → U31_AG(T14, half17_in_gg(T49, s(0)))
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GG(T49, s(0))
LOG21_IN_AG(s(s(T14)), T59) → U32_AG(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_AG(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_AG(T14, T59, half17_in_ga(T31, s(s(T40))))
U32_AG(T14, T59, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U33_AG(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_AG(T14, T59, half17_in_ga(T40, s(s(T49))))
U33_AG(T14, T59, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U34_AG(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_AG(T14, T59, half17_in_ga(T49, s(s(T58))))
U34_AG(T14, T59, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U35_AG(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_AG(T14, T59, half17_in_ga(T58, X184))
U35_AG(T14, T59, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, X184)
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(0)))))) → U37_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(0)))))) → HALF17_IN_AA(T14, s(s(T31)))
U37_AG(T14, half17_out_aa(T14, s(s(T31)))) → U38_AG(T14, half17_in_ga(T31, s(s(T40))))
U37_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U38_AG(T14, half17_out_ga(T31, s(s(T40)))) → U39_AG(T14, half17_in_ga(T40, s(s(T49))))
U38_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U39_AG(T14, half17_out_ga(T40, s(s(T49)))) → U40_AG(T14, half17_in_ga(T49, s(s(T58))))
U39_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → U41_AG(T14, half17_in_gg(T58, 0))
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GG(T58, 0)
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → U42_AG(T14, half17_in_gg(T58, s(0)))
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GG(T58, s(0))
LOG21_IN_AG(s(s(T14)), T68) → U43_AG(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_AG(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_AG(T14, T68, half17_in_ga(T31, s(s(T40))))
U43_AG(T14, T68, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U44_AG(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_AG(T14, T68, half17_in_ga(T40, s(s(T49))))
U44_AG(T14, T68, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U45_AG(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_AG(T14, T68, half17_in_ga(T49, s(s(T58))))
U45_AG(T14, T68, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U46_AG(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_AG(T14, T68, half17_in_ga(T58, s(s(T67))))
U46_AG(T14, T68, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U47_AG(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_AG(T14, T68, half17_in_ga(T67, X218))
U47_AG(T14, T68, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, X218)
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(0))))))) → HALF17_IN_AA(T14, s(s(T31)))
U49_AG(T14, half17_out_aa(T14, s(s(T31)))) → U50_AG(T14, half17_in_ga(T31, s(s(T40))))
U49_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U50_AG(T14, half17_out_ga(T31, s(s(T40)))) → U51_AG(T14, half17_in_ga(T40, s(s(T49))))
U50_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U51_AG(T14, half17_out_ga(T40, s(s(T49)))) → U52_AG(T14, half17_in_ga(T49, s(s(T58))))
U51_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U52_AG(T14, half17_out_ga(T49, s(s(T58)))) → U53_AG(T14, half17_in_ga(T58, s(s(T67))))
U52_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → U54_AG(T14, half17_in_gg(T67, 0))
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GG(T67, 0)
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → U55_AG(T14, half17_in_gg(T67, s(0)))
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GG(T67, s(0))
LOG21_IN_AG(s(s(T14)), T77) → U56_AG(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_AG(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_AG(T14, T77, half17_in_ga(T31, s(s(T40))))
U56_AG(T14, T77, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U57_AG(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_AG(T14, T77, half17_in_ga(T40, s(s(T49))))
U57_AG(T14, T77, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U58_AG(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_AG(T14, T77, half17_in_ga(T49, s(s(T58))))
U58_AG(T14, T77, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U59_AG(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_AG(T14, T77, half17_in_ga(T58, s(s(T67))))
U59_AG(T14, T77, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U60_AG(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_AG(T14, T77, half17_in_ga(T67, s(s(T76))))
U60_AG(T14, T77, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, s(s(T76)))
U61_AG(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_AG(T14, T77, half17_in_ga(T76, X252))
U61_AG(T14, T77, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GA(T76, X252)
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → HALF17_IN_AA(T14, s(s(T31)))
U63_AG(T14, half17_out_aa(T14, s(s(T31)))) → U64_AG(T14, half17_in_ga(T31, s(s(T40))))
U63_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U64_AG(T14, half17_out_ga(T31, s(s(T40)))) → U65_AG(T14, half17_in_ga(T40, s(s(T49))))
U64_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U65_AG(T14, half17_out_ga(T40, s(s(T49)))) → U66_AG(T14, half17_in_ga(T49, s(s(T58))))
U65_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U66_AG(T14, half17_out_ga(T49, s(s(T58)))) → U67_AG(T14, half17_in_ga(T58, s(s(T67))))
U66_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U67_AG(T14, half17_out_ga(T58, s(s(T67)))) → U68_AG(T14, half17_in_ga(T67, s(s(T76))))
U67_AG(T14, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, s(s(T76)))
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → U69_AG(T14, half17_in_gg(T76, 0))
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GG(T76, 0)
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → U70_AG(T14, half17_in_gg(T76, s(0)))
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GG(T76, s(0))
LOG21_IN_AG(s(s(T14)), T86) → U71_AG(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_AG(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_AG(T14, T86, half17_in_ga(T31, s(s(T40))))
U71_AG(T14, T86, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U72_AG(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_AG(T14, T86, half17_in_ga(T40, s(s(T49))))
U72_AG(T14, T86, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U73_AG(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_AG(T14, T86, half17_in_ga(T49, s(s(T58))))
U73_AG(T14, T86, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U74_AG(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_AG(T14, T86, half17_in_ga(T58, s(s(T67))))
U74_AG(T14, T86, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U75_AG(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_AG(T14, T86, half17_in_ga(T67, s(s(T76))))
U75_AG(T14, T86, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, s(s(T76)))
U76_AG(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_AG(T14, T86, half17_in_ga(T76, s(s(T85))))
U76_AG(T14, T86, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GA(T76, s(s(T85)))
U77_AG(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_AG(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
U77_AG(T14, T86, half17_out_ga(T76, s(s(T85)))) → P139_IN_GAGG(T85, X286, s(s(s(s(s(s(s(0))))))), T86)
P139_IN_GAGG(T85, X286, T88, T86) → U3_GAGG(T85, X286, T88, T86, half17_in_ga(T85, X286))
P139_IN_GAGG(T85, X286, T88, T86) → HALF17_IN_GA(T85, X286)
P139_IN_GAGG(T85, 0, T98, s(T98)) → U4_GAGG(T85, T98, half17_in_gg(T85, 0))
P139_IN_GAGG(T85, 0, T98, s(T98)) → HALF17_IN_GG(T85, 0)
P139_IN_GAGG(T85, s(0), T103, s(T103)) → U5_GAGG(T85, T103, half17_in_gg(T85, s(0)))
P139_IN_GAGG(T85, s(0), T103, s(T103)) → HALF17_IN_GG(T85, s(0))
P139_IN_GAGG(T85, s(s(T110)), T111, T112) → U6_GAGG(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
P139_IN_GAGG(T85, s(s(T110)), T111, T112) → HALF17_IN_GA(T85, s(s(T110)))
U6_GAGG(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_GAGG(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U6_GAGG(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → P139_IN_GAGG(T110, X323, s(T111), T112)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
HALF22_IN_GG(s(s(T26)), s(X55)) → HALF22_IN_GG(T26, X55)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
HALF22_IN_GG(s(s(T26)), s(X55)) → HALF22_IN_GG(T26, X55)
HALF22_IN_GG(s(s(T26)), s(X55)) → HALF22_IN_GG(T26, X55)
From the DPs we obtained the following set of size-change graphs:
HALF22_IN_GA(s(s(T26)), s(X55)) → HALF22_IN_GA(T26, X55)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
HALF22_IN_GA(s(s(T26)), s(X55)) → HALF22_IN_GA(T26, X55)
HALF22_IN_GA(s(s(T26))) → HALF22_IN_GA(T26)
From the DPs we obtained the following set of size-change graphs:
P139_IN_GAGG(T85, s(s(T110)), T111, T112) → U6_GAGG(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_GAGG(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → P139_IN_GAGG(T110, X323, s(T111), T112)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
P139_IN_GAGG(T85, s(s(T110)), T111, T112) → U6_GAGG(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_GAGG(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → P139_IN_GAGG(T110, X323, s(T111), T112)
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
P139_IN_GAGG(T85, T111, T112) → U6_GAGG(T85, T111, T112, half17_in_ga(T85))
U6_GAGG(T85, T111, T112, half17_out_ga(T85, s(s(T110)))) → P139_IN_GAGG(T110, s(T111), T112)
half17_in_ga(T22) → U2_ga(T22, half22_in_ga(T22))
U2_ga(T22, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
half22_in_ga(0) → half22_out_ga(0, 0)
half22_in_ga(s(0)) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26))) → U1_ga(T26, half22_in_ga(T26))
U1_ga(T26, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
half17_in_ga(x0)
U2_ga(x0, x1)
half22_in_ga(x0)
U1_ga(x0, x1)
P139_IN_GAGG(T85, T111, T112) → U6_GAGG(T85, T111, T112, U2_ga(T85, half22_in_ga(T85)))
U6_GAGG(T85, T111, T112, half17_out_ga(T85, s(s(T110)))) → P139_IN_GAGG(T110, s(T111), T112)
P139_IN_GAGG(T85, T111, T112) → U6_GAGG(T85, T111, T112, U2_ga(T85, half22_in_ga(T85)))
half17_in_ga(T22) → U2_ga(T22, half22_in_ga(T22))
U2_ga(T22, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
half22_in_ga(0) → half22_out_ga(0, 0)
half22_in_ga(s(0)) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26))) → U1_ga(T26, half22_in_ga(T26))
U1_ga(T26, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
half17_in_ga(x0)
U2_ga(x0, x1)
half22_in_ga(x0)
U1_ga(x0, x1)
U6_GAGG(T85, T111, T112, half17_out_ga(T85, s(s(T110)))) → P139_IN_GAGG(T110, s(T111), T112)
P139_IN_GAGG(T85, T111, T112) → U6_GAGG(T85, T111, T112, U2_ga(T85, half22_in_ga(T85)))
half22_in_ga(0) → half22_out_ga(0, 0)
half22_in_ga(s(0)) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26))) → U1_ga(T26, half22_in_ga(T26))
U2_ga(T22, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U1_ga(T26, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
half17_in_ga(x0)
U2_ga(x0, x1)
half22_in_ga(x0)
U1_ga(x0, x1)
half17_in_ga(x0)
U6_GAGG(T85, T111, T112, half17_out_ga(T85, s(s(T110)))) → P139_IN_GAGG(T110, s(T111), T112)
P139_IN_GAGG(T85, T111, T112) → U6_GAGG(T85, T111, T112, U2_ga(T85, half22_in_ga(T85)))
half22_in_ga(0) → half22_out_ga(0, 0)
half22_in_ga(s(0)) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26))) → U1_ga(T26, half22_in_ga(T26))
U2_ga(T22, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U1_ga(T26, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(x0, x1)
half22_in_ga(x0)
U1_ga(x0, x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U6_GAGG(T85, T111, T112, half17_out_ga(T85, s(s(T110)))) → P139_IN_GAGG(T110, s(T111), T112)
POL(0) = 0
POL(P139_IN_GAGG(x1, x2, x3)) = 1 + x1
POL(U1_ga(x1, x2)) = 1 + x2
POL(U2_ga(x1, x2)) = x2
POL(U6_GAGG(x1, x2, x3, x4)) = x4
POL(half17_out_ga(x1, x2)) = x2
POL(half22_in_ga(x1)) = 1 + x1
POL(half22_out_ga(x1, x2)) = 1 + x2
POL(s(x1)) = 1 + x1
half22_in_ga(0) → half22_out_ga(0, 0)
half22_in_ga(s(0)) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26))) → U1_ga(T26, half22_in_ga(T26))
U2_ga(T22, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U1_ga(T26, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
P139_IN_GAGG(T85, T111, T112) → U6_GAGG(T85, T111, T112, U2_ga(T85, half22_in_ga(T85)))
half22_in_ga(0) → half22_out_ga(0, 0)
half22_in_ga(s(0)) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26))) → U1_ga(T26, half22_in_ga(T26))
U2_ga(T22, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U1_ga(T26, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(x0, x1)
half22_in_ga(x0)
U1_ga(x0, x1)
HALF22_IN_AG(s(s(T26)), s(X55)) → HALF22_IN_AG(T26, X55)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
HALF22_IN_AG(s(s(T26)), s(X55)) → HALF22_IN_AG(T26, X55)
HALF22_IN_AG(s(X55)) → HALF22_IN_AG(X55)
From the DPs we obtained the following set of size-change graphs:
HALF22_IN_AA(s(s(T26)), s(X55)) → HALF22_IN_AA(T26, X55)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
HALF22_IN_AA(s(s(T26)), s(X55)) → HALF22_IN_AA(T26, X55)
HALF22_IN_AA → HALF22_IN_AA
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
LOG21_IN_AG(s(s(T14)), T13) → U8_AG(T14, T13, half17_in_aa(T14, X28))
LOG21_IN_AG(s(s(T14)), T13) → HALF17_IN_AA(T14, X28)
HALF17_IN_AA(T22, s(X46)) → U2_AA(T22, X46, half22_in_aa(T22, X46))
HALF17_IN_AA(T22, s(X46)) → HALF22_IN_AA(T22, X46)
HALF22_IN_AA(s(s(T26)), s(X55)) → U1_AA(T26, X55, half22_in_aa(T26, X55))
HALF22_IN_AA(s(s(T26)), s(X55)) → HALF22_IN_AA(T26, X55)
LOG21_IN_AG(s(s(T14)), s(0)) → U9_AG(T14, half17_in_ag(T14, 0))
LOG21_IN_AG(s(s(T14)), s(0)) → HALF17_IN_AG(T14, 0)
HALF17_IN_AG(T22, s(X46)) → U2_AG(T22, X46, half22_in_ag(T22, X46))
HALF17_IN_AG(T22, s(X46)) → HALF22_IN_AG(T22, X46)
HALF22_IN_AG(s(s(T26)), s(X55)) → U1_AG(T26, X55, half22_in_ag(T26, X55))
HALF22_IN_AG(s(s(T26)), s(X55)) → HALF22_IN_AG(T26, X55)
LOG21_IN_AG(s(s(T14)), s(0)) → U10_AG(T14, half17_in_ag(T14, s(0)))
LOG21_IN_AG(s(s(T14)), s(0)) → HALF17_IN_AG(T14, s(0))
LOG21_IN_AG(s(s(T14)), T32) → U11_AG(T14, T32, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), T32) → HALF17_IN_AA(T14, s(s(T31)))
U11_AG(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_AG(T14, T32, half17_in_ga(T31, X82))
U11_AG(T14, T32, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, X82)
HALF17_IN_GA(T22, s(X46)) → U2_GA(T22, X46, half22_in_ga(T22, X46))
HALF17_IN_GA(T22, s(X46)) → HALF22_IN_GA(T22, X46)
HALF22_IN_GA(s(s(T26)), s(X55)) → U1_GA(T26, X55, half22_in_ga(T26, X55))
HALF22_IN_GA(s(s(T26)), s(X55)) → HALF22_IN_GA(T26, X55)
LOG21_IN_AG(s(s(T14)), s(s(0))) → U13_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(0))) → HALF17_IN_AA(T14, s(s(T31)))
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → U14_AG(T14, half17_in_gg(T31, 0))
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GG(T31, 0)
HALF17_IN_GG(T22, s(X46)) → U2_GG(T22, X46, half22_in_gg(T22, X46))
HALF17_IN_GG(T22, s(X46)) → HALF22_IN_GG(T22, X46)
HALF22_IN_GG(s(s(T26)), s(X55)) → U1_GG(T26, X55, half22_in_gg(T26, X55))
HALF22_IN_GG(s(s(T26)), s(X55)) → HALF22_IN_GG(T26, X55)
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → U15_AG(T14, half17_in_gg(T31, s(0)))
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GG(T31, s(0))
LOG21_IN_AG(s(s(T14)), T41) → U16_AG(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_AG(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_AG(T14, T41, half17_in_ga(T31, s(s(T40))))
U16_AG(T14, T41, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U17_AG(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_AG(T14, T41, half17_in_ga(T40, X116))
U17_AG(T14, T41, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, X116)
LOG21_IN_AG(s(s(T14)), s(s(s(0)))) → U19_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(0)))) → HALF17_IN_AA(T14, s(s(T31)))
U19_AG(T14, half17_out_aa(T14, s(s(T31)))) → U20_AG(T14, half17_in_ga(T31, s(s(T40))))
U19_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → U21_AG(T14, half17_in_gg(T40, 0))
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GG(T40, 0)
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → U22_AG(T14, half17_in_gg(T40, s(0)))
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GG(T40, s(0))
LOG21_IN_AG(s(s(T14)), T50) → U23_AG(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_AG(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_AG(T14, T50, half17_in_ga(T31, s(s(T40))))
U23_AG(T14, T50, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U24_AG(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_AG(T14, T50, half17_in_ga(T40, s(s(T49))))
U24_AG(T14, T50, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U25_AG(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_AG(T14, T50, half17_in_ga(T49, X150))
U25_AG(T14, T50, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, X150)
LOG21_IN_AG(s(s(T14)), s(s(s(s(0))))) → U27_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(0))))) → HALF17_IN_AA(T14, s(s(T31)))
U27_AG(T14, half17_out_aa(T14, s(s(T31)))) → U28_AG(T14, half17_in_ga(T31, s(s(T40))))
U27_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U28_AG(T14, half17_out_ga(T31, s(s(T40)))) → U29_AG(T14, half17_in_ga(T40, s(s(T49))))
U28_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → U30_AG(T14, half17_in_gg(T49, 0))
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GG(T49, 0)
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → U31_AG(T14, half17_in_gg(T49, s(0)))
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GG(T49, s(0))
LOG21_IN_AG(s(s(T14)), T59) → U32_AG(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_AG(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_AG(T14, T59, half17_in_ga(T31, s(s(T40))))
U32_AG(T14, T59, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U33_AG(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_AG(T14, T59, half17_in_ga(T40, s(s(T49))))
U33_AG(T14, T59, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U34_AG(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_AG(T14, T59, half17_in_ga(T49, s(s(T58))))
U34_AG(T14, T59, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U35_AG(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_AG(T14, T59, half17_in_ga(T58, X184))
U35_AG(T14, T59, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, X184)
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(0)))))) → U37_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(0)))))) → HALF17_IN_AA(T14, s(s(T31)))
U37_AG(T14, half17_out_aa(T14, s(s(T31)))) → U38_AG(T14, half17_in_ga(T31, s(s(T40))))
U37_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U38_AG(T14, half17_out_ga(T31, s(s(T40)))) → U39_AG(T14, half17_in_ga(T40, s(s(T49))))
U38_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U39_AG(T14, half17_out_ga(T40, s(s(T49)))) → U40_AG(T14, half17_in_ga(T49, s(s(T58))))
U39_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → U41_AG(T14, half17_in_gg(T58, 0))
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GG(T58, 0)
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → U42_AG(T14, half17_in_gg(T58, s(0)))
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GG(T58, s(0))
LOG21_IN_AG(s(s(T14)), T68) → U43_AG(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_AG(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_AG(T14, T68, half17_in_ga(T31, s(s(T40))))
U43_AG(T14, T68, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U44_AG(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_AG(T14, T68, half17_in_ga(T40, s(s(T49))))
U44_AG(T14, T68, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U45_AG(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_AG(T14, T68, half17_in_ga(T49, s(s(T58))))
U45_AG(T14, T68, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U46_AG(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_AG(T14, T68, half17_in_ga(T58, s(s(T67))))
U46_AG(T14, T68, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U47_AG(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_AG(T14, T68, half17_in_ga(T67, X218))
U47_AG(T14, T68, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, X218)
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(0))))))) → HALF17_IN_AA(T14, s(s(T31)))
U49_AG(T14, half17_out_aa(T14, s(s(T31)))) → U50_AG(T14, half17_in_ga(T31, s(s(T40))))
U49_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U50_AG(T14, half17_out_ga(T31, s(s(T40)))) → U51_AG(T14, half17_in_ga(T40, s(s(T49))))
U50_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U51_AG(T14, half17_out_ga(T40, s(s(T49)))) → U52_AG(T14, half17_in_ga(T49, s(s(T58))))
U51_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U52_AG(T14, half17_out_ga(T49, s(s(T58)))) → U53_AG(T14, half17_in_ga(T58, s(s(T67))))
U52_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → U54_AG(T14, half17_in_gg(T67, 0))
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GG(T67, 0)
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → U55_AG(T14, half17_in_gg(T67, s(0)))
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GG(T67, s(0))
LOG21_IN_AG(s(s(T14)), T77) → U56_AG(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_AG(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_AG(T14, T77, half17_in_ga(T31, s(s(T40))))
U56_AG(T14, T77, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U57_AG(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_AG(T14, T77, half17_in_ga(T40, s(s(T49))))
U57_AG(T14, T77, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U58_AG(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_AG(T14, T77, half17_in_ga(T49, s(s(T58))))
U58_AG(T14, T77, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U59_AG(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_AG(T14, T77, half17_in_ga(T58, s(s(T67))))
U59_AG(T14, T77, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U60_AG(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_AG(T14, T77, half17_in_ga(T67, s(s(T76))))
U60_AG(T14, T77, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, s(s(T76)))
U61_AG(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_AG(T14, T77, half17_in_ga(T76, X252))
U61_AG(T14, T77, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GA(T76, X252)
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → HALF17_IN_AA(T14, s(s(T31)))
U63_AG(T14, half17_out_aa(T14, s(s(T31)))) → U64_AG(T14, half17_in_ga(T31, s(s(T40))))
U63_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U64_AG(T14, half17_out_ga(T31, s(s(T40)))) → U65_AG(T14, half17_in_ga(T40, s(s(T49))))
U64_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U65_AG(T14, half17_out_ga(T40, s(s(T49)))) → U66_AG(T14, half17_in_ga(T49, s(s(T58))))
U65_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U66_AG(T14, half17_out_ga(T49, s(s(T58)))) → U67_AG(T14, half17_in_ga(T58, s(s(T67))))
U66_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U67_AG(T14, half17_out_ga(T58, s(s(T67)))) → U68_AG(T14, half17_in_ga(T67, s(s(T76))))
U67_AG(T14, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, s(s(T76)))
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → U69_AG(T14, half17_in_gg(T76, 0))
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GG(T76, 0)
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → U70_AG(T14, half17_in_gg(T76, s(0)))
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GG(T76, s(0))
LOG21_IN_AG(s(s(T14)), T86) → U71_AG(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_AG(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_AG(T14, T86, half17_in_ga(T31, s(s(T40))))
U71_AG(T14, T86, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U72_AG(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_AG(T14, T86, half17_in_ga(T40, s(s(T49))))
U72_AG(T14, T86, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U73_AG(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_AG(T14, T86, half17_in_ga(T49, s(s(T58))))
U73_AG(T14, T86, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U74_AG(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_AG(T14, T86, half17_in_ga(T58, s(s(T67))))
U74_AG(T14, T86, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U75_AG(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_AG(T14, T86, half17_in_ga(T67, s(s(T76))))
U75_AG(T14, T86, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, s(s(T76)))
U76_AG(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_AG(T14, T86, half17_in_ga(T76, s(s(T85))))
U76_AG(T14, T86, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GA(T76, s(s(T85)))
U77_AG(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_AG(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
U77_AG(T14, T86, half17_out_ga(T76, s(s(T85)))) → P139_IN_GAGG(T85, X286, s(s(s(s(s(s(s(0))))))), T86)
P139_IN_GAGG(T85, X286, T88, T86) → U3_GAGG(T85, X286, T88, T86, half17_in_ga(T85, X286))
P139_IN_GAGG(T85, X286, T88, T86) → HALF17_IN_GA(T85, X286)
P139_IN_GAGG(T85, 0, T98, s(T98)) → U4_GAGG(T85, T98, half17_in_gg(T85, 0))
P139_IN_GAGG(T85, 0, T98, s(T98)) → HALF17_IN_GG(T85, 0)
P139_IN_GAGG(T85, s(0), T103, s(T103)) → U5_GAGG(T85, T103, half17_in_gg(T85, s(0)))
P139_IN_GAGG(T85, s(0), T103, s(T103)) → HALF17_IN_GG(T85, s(0))
P139_IN_GAGG(T85, s(s(T110)), T111, T112) → U6_GAGG(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
P139_IN_GAGG(T85, s(s(T110)), T111, T112) → HALF17_IN_GA(T85, s(s(T110)))
U6_GAGG(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_GAGG(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U6_GAGG(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → P139_IN_GAGG(T110, X323, s(T111), T112)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
LOG21_IN_AG(s(s(T14)), T13) → U8_AG(T14, T13, half17_in_aa(T14, X28))
LOG21_IN_AG(s(s(T14)), T13) → HALF17_IN_AA(T14, X28)
HALF17_IN_AA(T22, s(X46)) → U2_AA(T22, X46, half22_in_aa(T22, X46))
HALF17_IN_AA(T22, s(X46)) → HALF22_IN_AA(T22, X46)
HALF22_IN_AA(s(s(T26)), s(X55)) → U1_AA(T26, X55, half22_in_aa(T26, X55))
HALF22_IN_AA(s(s(T26)), s(X55)) → HALF22_IN_AA(T26, X55)
LOG21_IN_AG(s(s(T14)), s(0)) → U9_AG(T14, half17_in_ag(T14, 0))
LOG21_IN_AG(s(s(T14)), s(0)) → HALF17_IN_AG(T14, 0)
HALF17_IN_AG(T22, s(X46)) → U2_AG(T22, X46, half22_in_ag(T22, X46))
HALF17_IN_AG(T22, s(X46)) → HALF22_IN_AG(T22, X46)
HALF22_IN_AG(s(s(T26)), s(X55)) → U1_AG(T26, X55, half22_in_ag(T26, X55))
HALF22_IN_AG(s(s(T26)), s(X55)) → HALF22_IN_AG(T26, X55)
LOG21_IN_AG(s(s(T14)), s(0)) → U10_AG(T14, half17_in_ag(T14, s(0)))
LOG21_IN_AG(s(s(T14)), s(0)) → HALF17_IN_AG(T14, s(0))
LOG21_IN_AG(s(s(T14)), T32) → U11_AG(T14, T32, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), T32) → HALF17_IN_AA(T14, s(s(T31)))
U11_AG(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_AG(T14, T32, half17_in_ga(T31, X82))
U11_AG(T14, T32, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, X82)
HALF17_IN_GA(T22, s(X46)) → U2_GA(T22, X46, half22_in_ga(T22, X46))
HALF17_IN_GA(T22, s(X46)) → HALF22_IN_GA(T22, X46)
HALF22_IN_GA(s(s(T26)), s(X55)) → U1_GA(T26, X55, half22_in_ga(T26, X55))
HALF22_IN_GA(s(s(T26)), s(X55)) → HALF22_IN_GA(T26, X55)
LOG21_IN_AG(s(s(T14)), s(s(0))) → U13_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(0))) → HALF17_IN_AA(T14, s(s(T31)))
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → U14_AG(T14, half17_in_gg(T31, 0))
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GG(T31, 0)
HALF17_IN_GG(T22, s(X46)) → U2_GG(T22, X46, half22_in_gg(T22, X46))
HALF17_IN_GG(T22, s(X46)) → HALF22_IN_GG(T22, X46)
HALF22_IN_GG(s(s(T26)), s(X55)) → U1_GG(T26, X55, half22_in_gg(T26, X55))
HALF22_IN_GG(s(s(T26)), s(X55)) → HALF22_IN_GG(T26, X55)
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → U15_AG(T14, half17_in_gg(T31, s(0)))
U13_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GG(T31, s(0))
LOG21_IN_AG(s(s(T14)), T41) → U16_AG(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_AG(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_AG(T14, T41, half17_in_ga(T31, s(s(T40))))
U16_AG(T14, T41, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U17_AG(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_AG(T14, T41, half17_in_ga(T40, X116))
U17_AG(T14, T41, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, X116)
LOG21_IN_AG(s(s(T14)), s(s(s(0)))) → U19_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(0)))) → HALF17_IN_AA(T14, s(s(T31)))
U19_AG(T14, half17_out_aa(T14, s(s(T31)))) → U20_AG(T14, half17_in_ga(T31, s(s(T40))))
U19_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → U21_AG(T14, half17_in_gg(T40, 0))
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GG(T40, 0)
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → U22_AG(T14, half17_in_gg(T40, s(0)))
U20_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GG(T40, s(0))
LOG21_IN_AG(s(s(T14)), T50) → U23_AG(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_AG(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_AG(T14, T50, half17_in_ga(T31, s(s(T40))))
U23_AG(T14, T50, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U24_AG(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_AG(T14, T50, half17_in_ga(T40, s(s(T49))))
U24_AG(T14, T50, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U25_AG(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_AG(T14, T50, half17_in_ga(T49, X150))
U25_AG(T14, T50, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, X150)
LOG21_IN_AG(s(s(T14)), s(s(s(s(0))))) → U27_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(0))))) → HALF17_IN_AA(T14, s(s(T31)))
U27_AG(T14, half17_out_aa(T14, s(s(T31)))) → U28_AG(T14, half17_in_ga(T31, s(s(T40))))
U27_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U28_AG(T14, half17_out_ga(T31, s(s(T40)))) → U29_AG(T14, half17_in_ga(T40, s(s(T49))))
U28_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → U30_AG(T14, half17_in_gg(T49, 0))
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GG(T49, 0)
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → U31_AG(T14, half17_in_gg(T49, s(0)))
U29_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GG(T49, s(0))
LOG21_IN_AG(s(s(T14)), T59) → U32_AG(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_AG(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_AG(T14, T59, half17_in_ga(T31, s(s(T40))))
U32_AG(T14, T59, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U33_AG(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_AG(T14, T59, half17_in_ga(T40, s(s(T49))))
U33_AG(T14, T59, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U34_AG(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_AG(T14, T59, half17_in_ga(T49, s(s(T58))))
U34_AG(T14, T59, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U35_AG(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_AG(T14, T59, half17_in_ga(T58, X184))
U35_AG(T14, T59, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, X184)
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(0)))))) → U37_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(0)))))) → HALF17_IN_AA(T14, s(s(T31)))
U37_AG(T14, half17_out_aa(T14, s(s(T31)))) → U38_AG(T14, half17_in_ga(T31, s(s(T40))))
U37_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U38_AG(T14, half17_out_ga(T31, s(s(T40)))) → U39_AG(T14, half17_in_ga(T40, s(s(T49))))
U38_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U39_AG(T14, half17_out_ga(T40, s(s(T49)))) → U40_AG(T14, half17_in_ga(T49, s(s(T58))))
U39_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → U41_AG(T14, half17_in_gg(T58, 0))
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GG(T58, 0)
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → U42_AG(T14, half17_in_gg(T58, s(0)))
U40_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GG(T58, s(0))
LOG21_IN_AG(s(s(T14)), T68) → U43_AG(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_AG(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_AG(T14, T68, half17_in_ga(T31, s(s(T40))))
U43_AG(T14, T68, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U44_AG(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_AG(T14, T68, half17_in_ga(T40, s(s(T49))))
U44_AG(T14, T68, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U45_AG(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_AG(T14, T68, half17_in_ga(T49, s(s(T58))))
U45_AG(T14, T68, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U46_AG(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_AG(T14, T68, half17_in_ga(T58, s(s(T67))))
U46_AG(T14, T68, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U47_AG(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_AG(T14, T68, half17_in_ga(T67, X218))
U47_AG(T14, T68, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, X218)
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(0))))))) → HALF17_IN_AA(T14, s(s(T31)))
U49_AG(T14, half17_out_aa(T14, s(s(T31)))) → U50_AG(T14, half17_in_ga(T31, s(s(T40))))
U49_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U50_AG(T14, half17_out_ga(T31, s(s(T40)))) → U51_AG(T14, half17_in_ga(T40, s(s(T49))))
U50_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U51_AG(T14, half17_out_ga(T40, s(s(T49)))) → U52_AG(T14, half17_in_ga(T49, s(s(T58))))
U51_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U52_AG(T14, half17_out_ga(T49, s(s(T58)))) → U53_AG(T14, half17_in_ga(T58, s(s(T67))))
U52_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → U54_AG(T14, half17_in_gg(T67, 0))
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GG(T67, 0)
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → U55_AG(T14, half17_in_gg(T67, s(0)))
U53_AG(T14, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GG(T67, s(0))
LOG21_IN_AG(s(s(T14)), T77) → U56_AG(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_AG(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_AG(T14, T77, half17_in_ga(T31, s(s(T40))))
U56_AG(T14, T77, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U57_AG(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_AG(T14, T77, half17_in_ga(T40, s(s(T49))))
U57_AG(T14, T77, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U58_AG(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_AG(T14, T77, half17_in_ga(T49, s(s(T58))))
U58_AG(T14, T77, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U59_AG(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_AG(T14, T77, half17_in_ga(T58, s(s(T67))))
U59_AG(T14, T77, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U60_AG(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_AG(T14, T77, half17_in_ga(T67, s(s(T76))))
U60_AG(T14, T77, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, s(s(T76)))
U61_AG(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_AG(T14, T77, half17_in_ga(T76, X252))
U61_AG(T14, T77, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GA(T76, X252)
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_AG(T14, half17_in_aa(T14, s(s(T31))))
LOG21_IN_AG(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → HALF17_IN_AA(T14, s(s(T31)))
U63_AG(T14, half17_out_aa(T14, s(s(T31)))) → U64_AG(T14, half17_in_ga(T31, s(s(T40))))
U63_AG(T14, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U64_AG(T14, half17_out_ga(T31, s(s(T40)))) → U65_AG(T14, half17_in_ga(T40, s(s(T49))))
U64_AG(T14, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U65_AG(T14, half17_out_ga(T40, s(s(T49)))) → U66_AG(T14, half17_in_ga(T49, s(s(T58))))
U65_AG(T14, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U66_AG(T14, half17_out_ga(T49, s(s(T58)))) → U67_AG(T14, half17_in_ga(T58, s(s(T67))))
U66_AG(T14, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U67_AG(T14, half17_out_ga(T58, s(s(T67)))) → U68_AG(T14, half17_in_ga(T67, s(s(T76))))
U67_AG(T14, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, s(s(T76)))
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → U69_AG(T14, half17_in_gg(T76, 0))
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GG(T76, 0)
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → U70_AG(T14, half17_in_gg(T76, s(0)))
U68_AG(T14, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GG(T76, s(0))
LOG21_IN_AG(s(s(T14)), T86) → U71_AG(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_AG(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_AG(T14, T86, half17_in_ga(T31, s(s(T40))))
U71_AG(T14, T86, half17_out_aa(T14, s(s(T31)))) → HALF17_IN_GA(T31, s(s(T40)))
U72_AG(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_AG(T14, T86, half17_in_ga(T40, s(s(T49))))
U72_AG(T14, T86, half17_out_ga(T31, s(s(T40)))) → HALF17_IN_GA(T40, s(s(T49)))
U73_AG(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_AG(T14, T86, half17_in_ga(T49, s(s(T58))))
U73_AG(T14, T86, half17_out_ga(T40, s(s(T49)))) → HALF17_IN_GA(T49, s(s(T58)))
U74_AG(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_AG(T14, T86, half17_in_ga(T58, s(s(T67))))
U74_AG(T14, T86, half17_out_ga(T49, s(s(T58)))) → HALF17_IN_GA(T58, s(s(T67)))
U75_AG(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_AG(T14, T86, half17_in_ga(T67, s(s(T76))))
U75_AG(T14, T86, half17_out_ga(T58, s(s(T67)))) → HALF17_IN_GA(T67, s(s(T76)))
U76_AG(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_AG(T14, T86, half17_in_ga(T76, s(s(T85))))
U76_AG(T14, T86, half17_out_ga(T67, s(s(T76)))) → HALF17_IN_GA(T76, s(s(T85)))
U77_AG(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_AG(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
U77_AG(T14, T86, half17_out_ga(T76, s(s(T85)))) → P139_IN_GAGG(T85, X286, s(s(s(s(s(s(s(0))))))), T86)
P139_IN_GAGG(T85, X286, T88, T86) → U3_GAGG(T85, X286, T88, T86, half17_in_ga(T85, X286))
P139_IN_GAGG(T85, X286, T88, T86) → HALF17_IN_GA(T85, X286)
P139_IN_GAGG(T85, 0, T98, s(T98)) → U4_GAGG(T85, T98, half17_in_gg(T85, 0))
P139_IN_GAGG(T85, 0, T98, s(T98)) → HALF17_IN_GG(T85, 0)
P139_IN_GAGG(T85, s(0), T103, s(T103)) → U5_GAGG(T85, T103, half17_in_gg(T85, s(0)))
P139_IN_GAGG(T85, s(0), T103, s(T103)) → HALF17_IN_GG(T85, s(0))
P139_IN_GAGG(T85, s(s(T110)), T111, T112) → U6_GAGG(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
P139_IN_GAGG(T85, s(s(T110)), T111, T112) → HALF17_IN_GA(T85, s(s(T110)))
U6_GAGG(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_GAGG(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U6_GAGG(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → P139_IN_GAGG(T110, X323, s(T111), T112)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
HALF22_IN_GG(s(s(T26)), s(X55)) → HALF22_IN_GG(T26, X55)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
HALF22_IN_GG(s(s(T26)), s(X55)) → HALF22_IN_GG(T26, X55)
HALF22_IN_GG(s(s(T26)), s(X55)) → HALF22_IN_GG(T26, X55)
From the DPs we obtained the following set of size-change graphs:
HALF22_IN_GA(s(s(T26)), s(X55)) → HALF22_IN_GA(T26, X55)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
HALF22_IN_GA(s(s(T26)), s(X55)) → HALF22_IN_GA(T26, X55)
HALF22_IN_GA(s(s(T26))) → HALF22_IN_GA(T26)
From the DPs we obtained the following set of size-change graphs:
P139_IN_GAGG(T85, s(s(T110)), T111, T112) → U6_GAGG(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_GAGG(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → P139_IN_GAGG(T110, X323, s(T111), T112)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
P139_IN_GAGG(T85, s(s(T110)), T111, T112) → U6_GAGG(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_GAGG(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → P139_IN_GAGG(T110, X323, s(T111), T112)
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
P139_IN_GAGG(T85, T111, T112) → U6_GAGG(T111, T112, half17_in_ga(T85))
U6_GAGG(T111, T112, half17_out_ga(s(s(T110)))) → P139_IN_GAGG(T110, s(T111), T112)
half17_in_ga(T22) → U2_ga(half22_in_ga(T22))
U2_ga(half22_out_ga(X46)) → half17_out_ga(s(X46))
half22_in_ga(0) → half22_out_ga(0)
half22_in_ga(s(0)) → half22_out_ga(0)
half22_in_ga(s(s(T26))) → U1_ga(half22_in_ga(T26))
U1_ga(half22_out_ga(X55)) → half22_out_ga(s(X55))
half17_in_ga(x0)
U2_ga(x0)
half22_in_ga(x0)
U1_ga(x0)
half22_in_ga(s(0)) → half22_out_ga(0)
half22_in_ga(s(s(T26))) → U1_ga(half22_in_ga(T26))
U1_ga(half22_out_ga(X55)) → half22_out_ga(s(X55))
POL(0) = 0
POL(P139_IN_GAGG(x1, x2, x3)) = 2 + x1 + x2 + x3
POL(U1_ga(x1)) = 3 + x1
POL(U2_ga(x1)) = 2 + x1
POL(U6_GAGG(x1, x2, x3)) = x1 + x2 + x3
POL(half17_in_ga(x1)) = 2 + x1
POL(half17_out_ga(x1)) = x1
POL(half22_in_ga(x1)) = x1
POL(half22_out_ga(x1)) = x1
POL(s(x1)) = 2 + x1
P139_IN_GAGG(T85, T111, T112) → U6_GAGG(T111, T112, half17_in_ga(T85))
U6_GAGG(T111, T112, half17_out_ga(s(s(T110)))) → P139_IN_GAGG(T110, s(T111), T112)
half17_in_ga(T22) → U2_ga(half22_in_ga(T22))
U2_ga(half22_out_ga(X46)) → half17_out_ga(s(X46))
half22_in_ga(0) → half22_out_ga(0)
half17_in_ga(x0)
U2_ga(x0)
half22_in_ga(x0)
U1_ga(x0)
U1_ga(x0)
P139_IN_GAGG(T85, T111, T112) → U6_GAGG(T111, T112, half17_in_ga(T85))
U6_GAGG(T111, T112, half17_out_ga(s(s(T110)))) → P139_IN_GAGG(T110, s(T111), T112)
half17_in_ga(T22) → U2_ga(half22_in_ga(T22))
U2_ga(half22_out_ga(X46)) → half17_out_ga(s(X46))
half22_in_ga(0) → half22_out_ga(0)
half17_in_ga(x0)
U2_ga(x0)
half22_in_ga(x0)
U6_GAGG(T111, T112, half17_out_ga(s(s(T110)))) → P139_IN_GAGG(T110, s(T111), T112)
POL(0) = 0
POL(P139_IN_GAGG(x1, x2, x3)) = 2 + 2·x1 + x2 + x3
POL(U2_ga(x1)) = 1 + x1
POL(U6_GAGG(x1, x2, x3)) = x1 + x2 + 2·x3
POL(half17_in_ga(x1)) = 1 + x1
POL(half17_out_ga(x1)) = x1
POL(half22_in_ga(x1)) = x1
POL(half22_out_ga(x1)) = 2·x1
POL(s(x1)) = 1 + x1
P139_IN_GAGG(T85, T111, T112) → U6_GAGG(T111, T112, half17_in_ga(T85))
half17_in_ga(T22) → U2_ga(half22_in_ga(T22))
U2_ga(half22_out_ga(X46)) → half17_out_ga(s(X46))
half22_in_ga(0) → half22_out_ga(0)
half17_in_ga(x0)
U2_ga(x0)
half22_in_ga(x0)
HALF22_IN_AG(s(s(T26)), s(X55)) → HALF22_IN_AG(T26, X55)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
HALF22_IN_AG(s(s(T26)), s(X55)) → HALF22_IN_AG(T26, X55)
HALF22_IN_AG(s(X55)) → HALF22_IN_AG(X55)
From the DPs we obtained the following set of size-change graphs:
HALF22_IN_AA(s(s(T26)), s(X55)) → HALF22_IN_AA(T26, X55)
log21_in_ag(0, 0) → log21_out_ag(0, 0)
log21_in_ag(s(0), 0) → log21_out_ag(s(0), 0)
log21_in_ag(s(s(T14)), T13) → U8_ag(T14, T13, half17_in_aa(T14, X28))
half17_in_aa(T22, s(X46)) → U2_aa(T22, X46, half22_in_aa(T22, X46))
half22_in_aa(0, 0) → half22_out_aa(0, 0)
half22_in_aa(s(0), 0) → half22_out_aa(s(0), 0)
half22_in_aa(s(s(T26)), s(X55)) → U1_aa(T26, X55, half22_in_aa(T26, X55))
U1_aa(T26, X55, half22_out_aa(T26, X55)) → half22_out_aa(s(s(T26)), s(X55))
U2_aa(T22, X46, half22_out_aa(T22, X46)) → half17_out_aa(T22, s(X46))
U8_ag(T14, T13, half17_out_aa(T14, X28)) → log21_out_ag(s(s(T14)), T13)
log21_in_ag(s(s(T14)), s(0)) → U9_ag(T14, half17_in_ag(T14, 0))
half17_in_ag(T22, s(X46)) → U2_ag(T22, X46, half22_in_ag(T22, X46))
half22_in_ag(0, 0) → half22_out_ag(0, 0)
half22_in_ag(s(0), 0) → half22_out_ag(s(0), 0)
half22_in_ag(s(s(T26)), s(X55)) → U1_ag(T26, X55, half22_in_ag(T26, X55))
U1_ag(T26, X55, half22_out_ag(T26, X55)) → half22_out_ag(s(s(T26)), s(X55))
U2_ag(T22, X46, half22_out_ag(T22, X46)) → half17_out_ag(T22, s(X46))
U9_ag(T14, half17_out_ag(T14, 0)) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), s(0)) → U10_ag(T14, half17_in_ag(T14, s(0)))
U10_ag(T14, half17_out_ag(T14, s(0))) → log21_out_ag(s(s(T14)), s(0))
log21_in_ag(s(s(T14)), T32) → U11_ag(T14, T32, half17_in_aa(T14, s(s(T31))))
U11_ag(T14, T32, half17_out_aa(T14, s(s(T31)))) → U12_ag(T14, T32, half17_in_ga(T31, X82))
half17_in_ga(T22, s(X46)) → U2_ga(T22, X46, half22_in_ga(T22, X46))
half22_in_ga(0, 0) → half22_out_ga(0, 0)
half22_in_ga(s(0), 0) → half22_out_ga(s(0), 0)
half22_in_ga(s(s(T26)), s(X55)) → U1_ga(T26, X55, half22_in_ga(T26, X55))
U1_ga(T26, X55, half22_out_ga(T26, X55)) → half22_out_ga(s(s(T26)), s(X55))
U2_ga(T22, X46, half22_out_ga(T22, X46)) → half17_out_ga(T22, s(X46))
U12_ag(T14, T32, half17_out_ga(T31, X82)) → log21_out_ag(s(s(T14)), T32)
log21_in_ag(s(s(T14)), s(s(0))) → U13_ag(T14, half17_in_aa(T14, s(s(T31))))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U14_ag(T14, half17_in_gg(T31, 0))
half17_in_gg(T22, s(X46)) → U2_gg(T22, X46, half22_in_gg(T22, X46))
half22_in_gg(0, 0) → half22_out_gg(0, 0)
half22_in_gg(s(0), 0) → half22_out_gg(s(0), 0)
half22_in_gg(s(s(T26)), s(X55)) → U1_gg(T26, X55, half22_in_gg(T26, X55))
U1_gg(T26, X55, half22_out_gg(T26, X55)) → half22_out_gg(s(s(T26)), s(X55))
U2_gg(T22, X46, half22_out_gg(T22, X46)) → half17_out_gg(T22, s(X46))
U14_ag(T14, half17_out_gg(T31, 0)) → log21_out_ag(s(s(T14)), s(s(0)))
U13_ag(T14, half17_out_aa(T14, s(s(T31)))) → U15_ag(T14, half17_in_gg(T31, s(0)))
U15_ag(T14, half17_out_gg(T31, s(0))) → log21_out_ag(s(s(T14)), s(s(0)))
log21_in_ag(s(s(T14)), T41) → U16_ag(T14, T41, half17_in_aa(T14, s(s(T31))))
U16_ag(T14, T41, half17_out_aa(T14, s(s(T31)))) → U17_ag(T14, T41, half17_in_ga(T31, s(s(T40))))
U17_ag(T14, T41, half17_out_ga(T31, s(s(T40)))) → U18_ag(T14, T41, half17_in_ga(T40, X116))
U18_ag(T14, T41, half17_out_ga(T40, X116)) → log21_out_ag(s(s(T14)), T41)
log21_in_ag(s(s(T14)), s(s(s(0)))) → U19_ag(T14, half17_in_aa(T14, s(s(T31))))
U19_ag(T14, half17_out_aa(T14, s(s(T31)))) → U20_ag(T14, half17_in_ga(T31, s(s(T40))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U21_ag(T14, half17_in_gg(T40, 0))
U21_ag(T14, half17_out_gg(T40, 0)) → log21_out_ag(s(s(T14)), s(s(s(0))))
U20_ag(T14, half17_out_ga(T31, s(s(T40)))) → U22_ag(T14, half17_in_gg(T40, s(0)))
U22_ag(T14, half17_out_gg(T40, s(0))) → log21_out_ag(s(s(T14)), s(s(s(0))))
log21_in_ag(s(s(T14)), T50) → U23_ag(T14, T50, half17_in_aa(T14, s(s(T31))))
U23_ag(T14, T50, half17_out_aa(T14, s(s(T31)))) → U24_ag(T14, T50, half17_in_ga(T31, s(s(T40))))
U24_ag(T14, T50, half17_out_ga(T31, s(s(T40)))) → U25_ag(T14, T50, half17_in_ga(T40, s(s(T49))))
U25_ag(T14, T50, half17_out_ga(T40, s(s(T49)))) → U26_ag(T14, T50, half17_in_ga(T49, X150))
U26_ag(T14, T50, half17_out_ga(T49, X150)) → log21_out_ag(s(s(T14)), T50)
log21_in_ag(s(s(T14)), s(s(s(s(0))))) → U27_ag(T14, half17_in_aa(T14, s(s(T31))))
U27_ag(T14, half17_out_aa(T14, s(s(T31)))) → U28_ag(T14, half17_in_ga(T31, s(s(T40))))
U28_ag(T14, half17_out_ga(T31, s(s(T40)))) → U29_ag(T14, half17_in_ga(T40, s(s(T49))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U30_ag(T14, half17_in_gg(T49, 0))
U30_ag(T14, half17_out_gg(T49, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
U29_ag(T14, half17_out_ga(T40, s(s(T49)))) → U31_ag(T14, half17_in_gg(T49, s(0)))
U31_ag(T14, half17_out_gg(T49, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(0)))))
log21_in_ag(s(s(T14)), T59) → U32_ag(T14, T59, half17_in_aa(T14, s(s(T31))))
U32_ag(T14, T59, half17_out_aa(T14, s(s(T31)))) → U33_ag(T14, T59, half17_in_ga(T31, s(s(T40))))
U33_ag(T14, T59, half17_out_ga(T31, s(s(T40)))) → U34_ag(T14, T59, half17_in_ga(T40, s(s(T49))))
U34_ag(T14, T59, half17_out_ga(T40, s(s(T49)))) → U35_ag(T14, T59, half17_in_ga(T49, s(s(T58))))
U35_ag(T14, T59, half17_out_ga(T49, s(s(T58)))) → U36_ag(T14, T59, half17_in_ga(T58, X184))
U36_ag(T14, T59, half17_out_ga(T58, X184)) → log21_out_ag(s(s(T14)), T59)
log21_in_ag(s(s(T14)), s(s(s(s(s(0)))))) → U37_ag(T14, half17_in_aa(T14, s(s(T31))))
U37_ag(T14, half17_out_aa(T14, s(s(T31)))) → U38_ag(T14, half17_in_ga(T31, s(s(T40))))
U38_ag(T14, half17_out_ga(T31, s(s(T40)))) → U39_ag(T14, half17_in_ga(T40, s(s(T49))))
U39_ag(T14, half17_out_ga(T40, s(s(T49)))) → U40_ag(T14, half17_in_ga(T49, s(s(T58))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U41_ag(T14, half17_in_gg(T58, 0))
U41_ag(T14, half17_out_gg(T58, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
U40_ag(T14, half17_out_ga(T49, s(s(T58)))) → U42_ag(T14, half17_in_gg(T58, s(0)))
U42_ag(T14, half17_out_gg(T58, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(0))))))
log21_in_ag(s(s(T14)), T68) → U43_ag(T14, T68, half17_in_aa(T14, s(s(T31))))
U43_ag(T14, T68, half17_out_aa(T14, s(s(T31)))) → U44_ag(T14, T68, half17_in_ga(T31, s(s(T40))))
U44_ag(T14, T68, half17_out_ga(T31, s(s(T40)))) → U45_ag(T14, T68, half17_in_ga(T40, s(s(T49))))
U45_ag(T14, T68, half17_out_ga(T40, s(s(T49)))) → U46_ag(T14, T68, half17_in_ga(T49, s(s(T58))))
U46_ag(T14, T68, half17_out_ga(T49, s(s(T58)))) → U47_ag(T14, T68, half17_in_ga(T58, s(s(T67))))
U47_ag(T14, T68, half17_out_ga(T58, s(s(T67)))) → U48_ag(T14, T68, half17_in_ga(T67, X218))
U48_ag(T14, T68, half17_out_ga(T67, X218)) → log21_out_ag(s(s(T14)), T68)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(0))))))) → U49_ag(T14, half17_in_aa(T14, s(s(T31))))
U49_ag(T14, half17_out_aa(T14, s(s(T31)))) → U50_ag(T14, half17_in_ga(T31, s(s(T40))))
U50_ag(T14, half17_out_ga(T31, s(s(T40)))) → U51_ag(T14, half17_in_ga(T40, s(s(T49))))
U51_ag(T14, half17_out_ga(T40, s(s(T49)))) → U52_ag(T14, half17_in_ga(T49, s(s(T58))))
U52_ag(T14, half17_out_ga(T49, s(s(T58)))) → U53_ag(T14, half17_in_ga(T58, s(s(T67))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U54_ag(T14, half17_in_gg(T67, 0))
U54_ag(T14, half17_out_gg(T67, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
U53_ag(T14, half17_out_ga(T58, s(s(T67)))) → U55_ag(T14, half17_in_gg(T67, s(0)))
U55_ag(T14, half17_out_gg(T67, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(0)))))))
log21_in_ag(s(s(T14)), T77) → U56_ag(T14, T77, half17_in_aa(T14, s(s(T31))))
U56_ag(T14, T77, half17_out_aa(T14, s(s(T31)))) → U57_ag(T14, T77, half17_in_ga(T31, s(s(T40))))
U57_ag(T14, T77, half17_out_ga(T31, s(s(T40)))) → U58_ag(T14, T77, half17_in_ga(T40, s(s(T49))))
U58_ag(T14, T77, half17_out_ga(T40, s(s(T49)))) → U59_ag(T14, T77, half17_in_ga(T49, s(s(T58))))
U59_ag(T14, T77, half17_out_ga(T49, s(s(T58)))) → U60_ag(T14, T77, half17_in_ga(T58, s(s(T67))))
U60_ag(T14, T77, half17_out_ga(T58, s(s(T67)))) → U61_ag(T14, T77, half17_in_ga(T67, s(s(T76))))
U61_ag(T14, T77, half17_out_ga(T67, s(s(T76)))) → U62_ag(T14, T77, half17_in_ga(T76, X252))
U62_ag(T14, T77, half17_out_ga(T76, X252)) → log21_out_ag(s(s(T14)), T77)
log21_in_ag(s(s(T14)), s(s(s(s(s(s(s(0)))))))) → U63_ag(T14, half17_in_aa(T14, s(s(T31))))
U63_ag(T14, half17_out_aa(T14, s(s(T31)))) → U64_ag(T14, half17_in_ga(T31, s(s(T40))))
U64_ag(T14, half17_out_ga(T31, s(s(T40)))) → U65_ag(T14, half17_in_ga(T40, s(s(T49))))
U65_ag(T14, half17_out_ga(T40, s(s(T49)))) → U66_ag(T14, half17_in_ga(T49, s(s(T58))))
U66_ag(T14, half17_out_ga(T49, s(s(T58)))) → U67_ag(T14, half17_in_ga(T58, s(s(T67))))
U67_ag(T14, half17_out_ga(T58, s(s(T67)))) → U68_ag(T14, half17_in_ga(T67, s(s(T76))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U69_ag(T14, half17_in_gg(T76, 0))
U69_ag(T14, half17_out_gg(T76, 0)) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
U68_ag(T14, half17_out_ga(T67, s(s(T76)))) → U70_ag(T14, half17_in_gg(T76, s(0)))
U70_ag(T14, half17_out_gg(T76, s(0))) → log21_out_ag(s(s(T14)), s(s(s(s(s(s(s(0))))))))
log21_in_ag(s(s(T14)), T86) → U71_ag(T14, T86, half17_in_aa(T14, s(s(T31))))
U71_ag(T14, T86, half17_out_aa(T14, s(s(T31)))) → U72_ag(T14, T86, half17_in_ga(T31, s(s(T40))))
U72_ag(T14, T86, half17_out_ga(T31, s(s(T40)))) → U73_ag(T14, T86, half17_in_ga(T40, s(s(T49))))
U73_ag(T14, T86, half17_out_ga(T40, s(s(T49)))) → U74_ag(T14, T86, half17_in_ga(T49, s(s(T58))))
U74_ag(T14, T86, half17_out_ga(T49, s(s(T58)))) → U75_ag(T14, T86, half17_in_ga(T58, s(s(T67))))
U75_ag(T14, T86, half17_out_ga(T58, s(s(T67)))) → U76_ag(T14, T86, half17_in_ga(T67, s(s(T76))))
U76_ag(T14, T86, half17_out_ga(T67, s(s(T76)))) → U77_ag(T14, T86, half17_in_ga(T76, s(s(T85))))
U77_ag(T14, T86, half17_out_ga(T76, s(s(T85)))) → U78_ag(T14, T86, p139_in_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86))
p139_in_gagg(T85, X286, T88, T86) → U3_gagg(T85, X286, T88, T86, half17_in_ga(T85, X286))
U3_gagg(T85, X286, T88, T86, half17_out_ga(T85, X286)) → p139_out_gagg(T85, X286, T88, T86)
p139_in_gagg(T85, 0, T98, s(T98)) → U4_gagg(T85, T98, half17_in_gg(T85, 0))
U4_gagg(T85, T98, half17_out_gg(T85, 0)) → p139_out_gagg(T85, 0, T98, s(T98))
p139_in_gagg(T85, s(0), T103, s(T103)) → U5_gagg(T85, T103, half17_in_gg(T85, s(0)))
U5_gagg(T85, T103, half17_out_gg(T85, s(0))) → p139_out_gagg(T85, s(0), T103, s(T103))
p139_in_gagg(T85, s(s(T110)), T111, T112) → U6_gagg(T85, T110, T111, T112, half17_in_ga(T85, s(s(T110))))
U6_gagg(T85, T110, T111, T112, half17_out_ga(T85, s(s(T110)))) → U7_gagg(T85, T110, T111, T112, p139_in_gagg(T110, X323, s(T111), T112))
U7_gagg(T85, T110, T111, T112, p139_out_gagg(T110, X323, s(T111), T112)) → p139_out_gagg(T85, s(s(T110)), T111, T112)
U78_ag(T14, T86, p139_out_gagg(T85, X286, s(s(s(s(s(s(s(0))))))), T86)) → log21_out_ag(s(s(T14)), T86)
HALF22_IN_AA(s(s(T26)), s(X55)) → HALF22_IN_AA(T26, X55)
HALF22_IN_AA → HALF22_IN_AA