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 MRRProof (⇔)
↳15 QDP
↳16 PisEmptyProof (⇔)
↳17 YES
↳18 PiDP
↳19 UsableRulesProof (⇔)
↳20 PiDP
↳21 PiDPToQDPProof (⇔)
↳22 QDP
↳23 QDPSizeChangeProof (⇔)
↳24 YES
↳25 PiDP
↳26 UsableRulesProof (⇔)
↳27 PiDP
↳28 PiDPToQDPProof (⇔)
↳29 QDP
↳30 QDPSizeChangeProof (⇔)
↳31 YES
↳32 PiDP
↳33 UsableRulesProof (⇔)
↳34 PiDP
↳35 PiDPToQDPProof (⇔)
↳36 QDP
↳37 QDPSizeChangeProof (⇔)
↳38 YES
↳39 PiDP
↳40 UsableRulesProof (⇔)
↳41 PiDP
↳42 PiDPToQDPProof (⇔)
↳43 QDP
↳44 QDPSizeChangeProof (⇔)
↳45 YES
↳46 PiDP
↳47 UsableRulesProof (⇔)
↳48 PiDP
↳49 PiDPToQDPProof (⇔)
↳50 QDP
↳51 QDPSizeChangeProof (⇔)
↳52 YES
↳53 PiDP
↳54 UsableRulesProof (⇔)
↳55 PiDP
↳56 PiDPToQDPProof (⇔)
↳57 QDP
↳58 QDPSizeChangeProof (⇔)
↳59 YES
↳60 PiDP
↳61 UsableRulesProof (⇔)
↳62 PiDP
↳63 PiDPToQDPProof (⇐)
↳64 QDP
↳65 Instantiation (⇔)
↳66 QDP
↳67 Instantiation (⇔)
↳68 QDP
↳69 NonTerminationProof (⇔)
↳70 NO
↳71 PrologToPiTRSProof (⇐)
↳72 PiTRS
↳73 DependencyPairsProof (⇔)
↳74 PiDP
↳75 DependencyGraphProof (⇔)
↳76 AND
↳77 PiDP
↳78 UsableRulesProof (⇔)
↳79 PiDP
↳80 PiDPToQDPProof (⇔)
↳81 QDP
↳82 MRRProof (⇔)
↳83 QDP
↳84 PisEmptyProof (⇔)
↳85 YES
↳86 PiDP
↳87 UsableRulesProof (⇔)
↳88 PiDP
↳89 PiDPToQDPProof (⇔)
↳90 QDP
↳91 QDPSizeChangeProof (⇔)
↳92 YES
↳93 PiDP
↳94 UsableRulesProof (⇔)
↳95 PiDP
↳96 PiDPToQDPProof (⇔)
↳97 QDP
↳98 QDPSizeChangeProof (⇔)
↳99 YES
↳100 PiDP
↳101 UsableRulesProof (⇔)
↳102 PiDP
↳103 PiDPToQDPProof (⇔)
↳104 QDP
↳105 QDPSizeChangeProof (⇔)
↳106 YES
↳107 PiDP
↳108 UsableRulesProof (⇔)
↳109 PiDP
↳110 PiDPToQDPProof (⇔)
↳111 QDP
↳112 QDPSizeChangeProof (⇔)
↳113 YES
↳114 PiDP
↳115 UsableRulesProof (⇔)
↳116 PiDP
↳117 PiDPToQDPProof (⇔)
↳118 QDP
↳119 QDPSizeChangeProof (⇔)
↳120 YES
↳121 PiDP
↳122 UsableRulesProof (⇔)
↳123 PiDP
↳124 PiDPToQDPProof (⇔)
↳125 QDP
↳126 QDPSizeChangeProof (⇔)
↳127 YES
↳128 PiDP
↳129 UsableRulesProof (⇔)
↳130 PiDP
↳131 PiDPToQDPProof (⇐)
↳132 QDP
↳133 Instantiation (⇔)
↳134 QDP
↳135 Instantiation (⇔)
↳136 QDP
↳137 NonTerminationProof (⇔)
↳138 NO
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_AG(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → LOG244_IN_AGG(T109, s(s(s(s(s(s(s(0))))))), T108)
LOG244_IN_AGG(s(s(T131)), T129, T130) → U1_AGG(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
LOG244_IN_AGG(s(s(T131)), T129, T130) → LOG244_IN_AGG(T131, s(T129), T130)
LOG244_IN_AGG(0, s(T148), T149) → U2_AGG(T148, T149, log257_in_gg(T148, T149))
LOG244_IN_AGG(0, s(T148), T149) → LOG257_IN_GG(T148, T149)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_GG(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → LOG294_IN_GGG(T235, s(s(s(s(s(s(s(0))))))), T236)
LOG294_IN_GGG(s(s(T255)), T256, T257) → U4_GGG(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
LOG294_IN_GGG(s(s(T255)), T256, T257) → LOG294_IN_GGG(T255, s(T256), T257)
LOG294_IN_GGG(0, s(T274), T275) → U5_GGG(T274, T275, log2107_in_gg(T274, T275))
LOG294_IN_GGG(0, s(T274), T275) → LOG2107_IN_GG(T274, T275)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_GG(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → LOG2144_IN_GGG(T360, s(s(s(s(s(s(s(0))))))), T361)
LOG2144_IN_GGG(s(s(T380)), T381, T382) → U7_GGG(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
LOG2144_IN_GGG(s(s(T380)), T381, T382) → LOG2144_IN_GGG(T380, s(T381), T382)
LOG2144_IN_GGG(0, s(T399), T400) → U8_GGG(T399, T400, log2157_in_gg(T399, T400))
LOG2144_IN_GGG(0, s(T399), T400) → LOG2157_IN_GG(T399, T400)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_GG(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → LOG2194_IN_GGG(T485, s(s(s(s(s(s(s(0))))))), T486)
LOG2194_IN_GGG(s(s(T505)), T506, T507) → U10_GGG(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
LOG2194_IN_GGG(s(s(T505)), T506, T507) → LOG2194_IN_GGG(T505, s(T506), T507)
LOG2194_IN_GGG(0, s(T524), T525) → U11_GGG(T524, T525, log2207_in_gg(T524, T525))
LOG2194_IN_GGG(0, s(T524), T525) → LOG2207_IN_GG(T524, T525)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_GG(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → LOG2244_IN_GGG(T610, s(s(s(s(s(s(s(0))))))), T611)
LOG2244_IN_GGG(s(s(T630)), T631, T632) → U13_GGG(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
LOG2244_IN_GGG(s(s(T630)), T631, T632) → LOG2244_IN_GGG(T630, s(T631), T632)
LOG2244_IN_GGG(0, s(T649), T650) → U14_GGG(T649, T650, log2257_in_gg(T649, T650))
LOG2244_IN_GGG(0, s(T649), T650) → LOG2257_IN_GG(T649, T650)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_GG(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → LOG2294_IN_GGG(T735, s(s(s(s(s(s(s(0))))))), T736)
LOG2294_IN_GGG(s(s(T755)), T756, T757) → U16_GGG(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
LOG2294_IN_GGG(s(s(T755)), T756, T757) → LOG2294_IN_GGG(T755, s(T756), T757)
LOG2294_IN_GGG(0, s(T774), T775) → U17_GGG(T774, T775, log2307_in_gg(T774, T775))
LOG2294_IN_GGG(0, s(T774), T775) → LOG2307_IN_GG(T774, T775)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_GG(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → LOG2344_IN_GGG(T860, s(s(s(s(s(s(s(0))))))), T861)
LOG2344_IN_GGG(s(s(T880)), T881, T882) → U19_GGG(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
LOG2344_IN_GGG(s(s(T880)), T881, T882) → LOG2344_IN_GGG(T880, s(T881), T882)
LOG2344_IN_GGG(0, s(T899), T900) → U20_GGG(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
LOG2344_IN_GGG(0, s(T899), T900) → LOG2359_IN_GGG(T899, s(s(s(s(s(s(s(0))))))), T900)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_GGG(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → LOG2395_IN_GGGG(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → U22_GGGG(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → LOG2395_IN_GGGG(T1056, s(T1057), T1058, T1059)
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → U23_GGGG(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_GGG(T1119, T1120, log2437_in_gg(T1119, T1120))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → LOG2437_IN_GG(T1119, T1120)
LOG2437_IN_GG(T1167, T1168) → U38_GG(T1167, T1168, log2454_in_gg(T1167, T1168))
LOG2437_IN_GG(T1167, T1168) → LOG2454_IN_GG(T1167, T1168)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_GGG(T1119, T1120, log2437_in_gg(T1119, T1120))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → LOG2437_IN_GG(T1119, T1120)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_GGG(T1222, T1223, log2515_in_gg(T1222, T1223))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → LOG2515_IN_GG(T1222, T1223)
LOG2515_IN_GG(T1270, T1271) → U39_GG(T1270, T1271, log2454_in_gg(T1270, T1271))
LOG2515_IN_GG(T1270, T1271) → LOG2454_IN_GG(T1270, T1271)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_GGG(T1222, T1223, log2515_in_gg(T1222, T1223))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → LOG2515_IN_GG(T1222, T1223)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_GGG(T1323, T1324, log2585_in_gg(T1323, T1324))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → LOG2585_IN_GG(T1323, T1324)
LOG2585_IN_GG(T1355, T1356) → U40_GG(T1355, T1356, log2598_in_gg(T1355, T1356))
LOG2585_IN_GG(T1355, T1356) → LOG2598_IN_GG(T1355, T1356)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_GGG(T1323, T1324, log2585_in_gg(T1323, T1324))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → LOG2585_IN_GG(T1323, T1324)
LOG2359_IN_GGG(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_GGG(T1394, T1395, log2650_in_gg(T1394, T1395))
LOG2359_IN_GGG(s(s(s(s(s(s(0)))))), T1394, T1395) → LOG2650_IN_GG(T1394, T1395)
LOG2650_IN_GG(T1426, T1427) → U41_GG(T1426, T1427, log2598_in_gg(T1426, T1427))
LOG2650_IN_GG(T1426, T1427) → LOG2598_IN_GG(T1426, T1427)
LOG2359_IN_GGG(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_GGG(T1394, T1395, log2650_in_gg(T1394, T1395))
LOG2359_IN_GGG(s(s(s(s(s(s(s(0))))))), T1394, T1395) → LOG2650_IN_GG(T1394, T1395)
LOG2359_IN_GGG(s(s(s(s(0)))), T1461, T1462) → U34_GGG(T1461, T1462, log2705_in_gg(T1461, T1462))
LOG2359_IN_GGG(s(s(s(s(0)))), T1461, T1462) → LOG2705_IN_GG(T1461, T1462)
LOG2359_IN_GGG(s(s(s(s(s(0))))), T1461, T1462) → U35_GGG(T1461, T1462, log2705_in_gg(T1461, T1462))
LOG2359_IN_GGG(s(s(s(s(s(0))))), T1461, T1462) → LOG2705_IN_GG(T1461, T1462)
LOG2359_IN_GGG(s(s(0)), T1490, T1491) → U36_GGG(T1490, T1491, log2742_in_gg(T1490, T1491))
LOG2359_IN_GGG(s(s(0)), T1490, T1491) → LOG2742_IN_GG(T1490, T1491)
LOG2359_IN_GGG(s(s(s(0))), T1490, T1491) → U37_GGG(T1490, T1491, log2742_in_gg(T1490, T1491))
LOG2359_IN_GGG(s(s(s(0))), T1490, T1491) → LOG2742_IN_GG(T1490, T1491)
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → U24_GGGG(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2344_IN_GGG(s(0), s(T899), T900) → U21_GGG(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
LOG2344_IN_GGG(s(0), s(T899), T900) → LOG2359_IN_GGG(T899, s(s(s(s(s(s(s(0))))))), T900)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_GG(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → LOG2822_IN_GG(s(s(s(s(s(s(s(0))))))), T1530)
LOG2822_IN_GG(T1578, T1579) → U144_GG(T1578, T1579, log2705_in_gg(T1578, T1579))
LOG2822_IN_GG(T1578, T1579) → LOG2705_IN_GG(T1578, T1579)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_GG(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → LOG2822_IN_GG(s(s(s(s(s(s(s(0))))))), T1530)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_GG(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → LOG2889_IN_GG(s(s(s(s(s(s(s(0))))))), T1620)
LOG2889_IN_GG(T1668, T1669) → U145_GG(T1668, T1669, log2705_in_gg(T1668, T1669))
LOG2889_IN_GG(T1668, T1669) → LOG2705_IN_GG(T1668, T1669)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_GG(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → LOG2889_IN_GG(s(s(s(s(s(s(s(0))))))), T1620)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_GG(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1711) → LOG2960_IN_GG(s(s(s(s(s(s(s(0))))))), T1711)
LOG2960_IN_GG(T1743, T1744) → U146_GG(T1743, T1744, log2742_in_gg(T1743, T1744))
LOG2960_IN_GG(T1743, T1744) → LOG2742_IN_GG(T1743, T1744)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_GG(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → LOG2960_IN_GG(s(s(s(s(s(s(s(0))))))), T1711)
LOG2307_IN_GG(s(s(s(s(s(s(0)))))), T1769) → U49_GG(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
LOG2307_IN_GG(s(s(s(s(s(s(0)))))), T1769) → LOG21012_IN_GG(s(s(s(s(s(s(s(0))))))), T1769)
LOG21012_IN_GG(T1801, T1802) → U147_GG(T1801, T1802, log2742_in_gg(T1801, T1802))
LOG21012_IN_GG(T1801, T1802) → LOG2742_IN_GG(T1801, T1802)
LOG2307_IN_GG(s(s(s(s(s(s(s(0))))))), T1769) → U50_GG(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
LOG2307_IN_GG(s(s(s(s(s(s(s(0))))))), T1769) → LOG21012_IN_GG(s(s(s(s(s(s(s(0))))))), T1769)
LOG2307_IN_GG(s(s(s(s(0)))), T1826) → U51_GG(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
LOG2307_IN_GG(s(s(s(s(0)))), T1826) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1826)
LOG2307_IN_GG(s(s(s(s(s(0))))), T1826) → U52_GG(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
LOG2307_IN_GG(s(s(s(s(s(0))))), T1826) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1826)
LOG2307_IN_GG(s(s(0)), T1844) → U53_GG(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
LOG2307_IN_GG(s(s(0)), T1844) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T1844)
LOG2307_IN_GG(s(s(s(0))), T1844) → U54_GG(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
LOG2307_IN_GG(s(s(s(0))), T1844) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T1844)
LOG2294_IN_GGG(s(0), s(T774), T775) → U18_GGG(T774, T775, log2307_in_gg(T774, T775))
LOG2294_IN_GGG(s(0), s(T774), T775) → LOG2307_IN_GG(T774, T775)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_GG(T1876, log21183_in_g(T1876))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → LOG21183_IN_G(T1876)
LOG21183_IN_G(T1899) → U55_G(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
LOG21183_IN_G(T1899) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1899)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_GG(T1876, log21183_in_g(T1876))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → LOG21183_IN_G(T1876)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_GG(T1920, log21249_in_g(T1920))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → LOG21249_IN_G(T1920)
LOG21249_IN_G(T1943) → U56_G(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
LOG21249_IN_G(T1943) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1943)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_GG(T1920, log21249_in_g(T1920))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → LOG21249_IN_G(T1920)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_GG(T1964, log21319_in_g(T1964))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1964) → LOG21319_IN_G(T1964)
LOG21319_IN_G(T1979) → U57_G(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
LOG21319_IN_G(T1979) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T1979)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_GG(T1964, log21319_in_g(T1964))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → LOG21319_IN_G(T1964)
LOG2257_IN_GG(s(s(s(s(s(s(0)))))), T1995) → U66_GG(T1995, log21370_in_g(T1995))
LOG2257_IN_GG(s(s(s(s(s(s(0)))))), T1995) → LOG21370_IN_G(T1995)
LOG21370_IN_G(T2010) → U58_G(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
LOG21370_IN_G(T2010) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T2010)
LOG2257_IN_GG(s(s(s(s(s(s(s(0))))))), T1995) → U67_GG(T1995, log21370_in_g(T1995))
LOG2257_IN_GG(s(s(s(s(s(s(s(0))))))), T1995) → LOG21370_IN_G(T1995)
LOG2257_IN_GG(s(s(s(s(0)))), T2024) → U68_GG(T2024, log21425_in_g(T2024))
LOG2257_IN_GG(s(s(s(s(0)))), T2024) → LOG21425_IN_G(T2024)
LOG2257_IN_GG(s(s(s(s(s(0))))), T2024) → U69_GG(T2024, log21425_in_g(T2024))
LOG2257_IN_GG(s(s(s(s(s(0))))), T2024) → LOG21425_IN_G(T2024)
LOG2257_IN_GG(s(s(0)), T2037) → U70_GG(T2037, log21462_in_g(T2037))
LOG2257_IN_GG(s(s(0)), T2037) → LOG21462_IN_G(T2037)
LOG2257_IN_GG(s(s(s(0))), T2037) → U71_GG(T2037, log21462_in_g(T2037))
LOG2257_IN_GG(s(s(s(0))), T2037) → LOG21462_IN_G(T2037)
LOG2244_IN_GGG(s(0), s(T649), T650) → U15_GGG(T649, T650, log2257_in_gg(T649, T650))
LOG2244_IN_GGG(s(0), s(T649), T650) → LOG2257_IN_GG(T649, T650)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_GG(T2064, log21540_in_g(T2064))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → LOG21540_IN_G(T2064)
LOG21540_IN_G(T2087) → U72_G(T2087, log21425_in_g(T2087))
LOG21540_IN_G(T2087) → LOG21425_IN_G(T2087)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_GG(T2064, log21540_in_g(T2064))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → LOG21540_IN_G(T2064)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_GG(T2108, log21606_in_g(T2108))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → LOG21606_IN_G(T2108)
LOG21606_IN_G(T2131) → U73_G(T2131, log21425_in_g(T2131))
LOG21606_IN_G(T2131) → LOG21425_IN_G(T2131)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_GG(T2108, log21606_in_g(T2108))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → LOG21606_IN_G(T2108)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_GG(T2152, log21676_in_g(T2152))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2152) → LOG21676_IN_G(T2152)
LOG21676_IN_G(T2167) → U74_G(T2167, log21462_in_g(T2167))
LOG21676_IN_G(T2167) → LOG21462_IN_G(T2167)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_GG(T2152, log21676_in_g(T2152))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → LOG21676_IN_G(T2152)
LOG2207_IN_GG(s(s(s(s(s(s(0)))))), T2183) → U83_GG(T2183, log21727_in_g(T2183))
LOG2207_IN_GG(s(s(s(s(s(s(0)))))), T2183) → LOG21727_IN_G(T2183)
LOG21727_IN_G(T2198) → U75_G(T2198, log21462_in_g(T2198))
LOG21727_IN_G(T2198) → LOG21462_IN_G(T2198)
LOG2207_IN_GG(s(s(s(s(s(s(s(0))))))), T2183) → U84_GG(T2183, log21727_in_g(T2183))
LOG2207_IN_GG(s(s(s(s(s(s(s(0))))))), T2183) → LOG21727_IN_G(T2183)
LOG2207_IN_GG(s(s(s(s(0)))), T2212) → U85_GG(T2212, log21782_in_g(T2212))
LOG2207_IN_GG(s(s(s(s(0)))), T2212) → LOG21782_IN_G(T2212)
LOG2207_IN_GG(s(s(s(s(s(0))))), T2212) → U86_GG(T2212, log21782_in_g(T2212))
LOG2207_IN_GG(s(s(s(s(s(0))))), T2212) → LOG21782_IN_G(T2212)
LOG2207_IN_GG(s(s(0)), T2225) → U87_GG(T2225, log21819_in_g(T2225))
LOG2207_IN_GG(s(s(0)), T2225) → LOG21819_IN_G(T2225)
LOG2207_IN_GG(s(s(s(0))), T2225) → U88_GG(T2225, log21819_in_g(T2225))
LOG2207_IN_GG(s(s(s(0))), T2225) → LOG21819_IN_G(T2225)
LOG2194_IN_GGG(s(0), s(T524), T525) → U12_GGG(T524, T525, log2207_in_gg(T524, T525))
LOG2194_IN_GGG(s(0), s(T524), T525) → LOG2207_IN_GG(T524, T525)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_GG(T2252, log21897_in_g(T2252))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → LOG21897_IN_G(T2252)
LOG21897_IN_G(T2275) → U89_G(T2275, log21782_in_g(T2275))
LOG21897_IN_G(T2275) → LOG21782_IN_G(T2275)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_GG(T2252, log21897_in_g(T2252))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → LOG21897_IN_G(T2252)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_GG(T2296, log21963_in_g(T2296))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → LOG21963_IN_G(T2296)
LOG21963_IN_G(T2319) → U90_G(T2319, log21782_in_g(T2319))
LOG21963_IN_G(T2319) → LOG21782_IN_G(T2319)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_GG(T2296, log21963_in_g(T2296))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → LOG21963_IN_G(T2296)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_GG(T2340, log22033_in_g(T2340))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2340) → LOG22033_IN_G(T2340)
LOG22033_IN_G(T2355) → U91_G(T2355, log21819_in_g(T2355))
LOG22033_IN_G(T2355) → LOG21819_IN_G(T2355)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_GG(T2340, log22033_in_g(T2340))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → LOG22033_IN_G(T2340)
LOG2157_IN_GG(s(s(s(s(s(s(0)))))), T2371) → U100_GG(T2371, log22084_in_g(T2371))
LOG2157_IN_GG(s(s(s(s(s(s(0)))))), T2371) → LOG22084_IN_G(T2371)
LOG22084_IN_G(T2386) → U92_G(T2386, log21819_in_g(T2386))
LOG22084_IN_G(T2386) → LOG21819_IN_G(T2386)
LOG2157_IN_GG(s(s(s(s(s(s(s(0))))))), T2371) → U101_GG(T2371, log22084_in_g(T2371))
LOG2157_IN_GG(s(s(s(s(s(s(s(0))))))), T2371) → LOG22084_IN_G(T2371)
LOG2157_IN_GG(s(s(s(s(0)))), T2400) → U102_GG(T2400, log22139_in_g(T2400))
LOG2157_IN_GG(s(s(s(s(0)))), T2400) → LOG22139_IN_G(T2400)
LOG2157_IN_GG(s(s(s(s(s(0))))), T2400) → U103_GG(T2400, log22139_in_g(T2400))
LOG2157_IN_GG(s(s(s(s(s(0))))), T2400) → LOG22139_IN_G(T2400)
LOG2157_IN_GG(s(s(0)), T2413) → U104_GG(T2413, log22176_in_g(T2413))
LOG2157_IN_GG(s(s(0)), T2413) → LOG22176_IN_G(T2413)
LOG2157_IN_GG(s(s(s(0))), T2413) → U105_GG(T2413, log22176_in_g(T2413))
LOG2157_IN_GG(s(s(s(0))), T2413) → LOG22176_IN_G(T2413)
LOG2144_IN_GGG(s(0), s(T399), T400) → U9_GGG(T399, T400, log2157_in_gg(T399, T400))
LOG2144_IN_GGG(s(0), s(T399), T400) → LOG2157_IN_GG(T399, T400)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_GG(T2440, log22254_in_g(T2440))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → LOG22254_IN_G(T2440)
LOG22254_IN_G(T2463) → U106_G(T2463, log22139_in_g(T2463))
LOG22254_IN_G(T2463) → LOG22139_IN_G(T2463)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_GG(T2440, log22254_in_g(T2440))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → LOG22254_IN_G(T2440)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_GG(T2484, log22320_in_g(T2484))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → LOG22320_IN_G(T2484)
LOG22320_IN_G(T2507) → U107_G(T2507, log22139_in_g(T2507))
LOG22320_IN_G(T2507) → LOG22139_IN_G(T2507)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_GG(T2484, log22320_in_g(T2484))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → LOG22320_IN_G(T2484)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_GG(T2528, log22390_in_g(T2528))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2528) → LOG22390_IN_G(T2528)
LOG22390_IN_G(T2543) → U108_G(T2543, log22176_in_g(T2543))
LOG22390_IN_G(T2543) → LOG22176_IN_G(T2543)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_GG(T2528, log22390_in_g(T2528))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → LOG22390_IN_G(T2528)
LOG2107_IN_GG(s(s(s(s(s(s(0)))))), T2559) → U117_GG(T2559, log22441_in_g(T2559))
LOG2107_IN_GG(s(s(s(s(s(s(0)))))), T2559) → LOG22441_IN_G(T2559)
LOG22441_IN_G(T2574) → U109_G(T2574, log22176_in_g(T2574))
LOG22441_IN_G(T2574) → LOG22176_IN_G(T2574)
LOG2107_IN_GG(s(s(s(s(s(s(s(0))))))), T2559) → U118_GG(T2559, log22441_in_g(T2559))
LOG2107_IN_GG(s(s(s(s(s(s(s(0))))))), T2559) → LOG22441_IN_G(T2559)
LOG2107_IN_GG(s(s(s(s(0)))), T2588) → U119_GG(T2588, log22496_in_g(T2588))
LOG2107_IN_GG(s(s(s(s(0)))), T2588) → LOG22496_IN_G(T2588)
LOG2107_IN_GG(s(s(s(s(s(0))))), T2588) → U120_GG(T2588, log22496_in_g(T2588))
LOG2107_IN_GG(s(s(s(s(s(0))))), T2588) → LOG22496_IN_G(T2588)
LOG2107_IN_GG(s(s(0)), T2601) → U121_GG(T2601, log22533_in_g(T2601))
LOG2107_IN_GG(s(s(0)), T2601) → LOG22533_IN_G(T2601)
LOG2107_IN_GG(s(s(s(0))), T2601) → U122_GG(T2601, log22533_in_g(T2601))
LOG2107_IN_GG(s(s(s(0))), T2601) → LOG22533_IN_G(T2601)
LOG294_IN_GGG(s(0), s(T274), T275) → U6_GGG(T274, T275, log2107_in_gg(T274, T275))
LOG294_IN_GGG(s(0), s(T274), T275) → LOG2107_IN_GG(T274, T275)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_GG(T2628, log22611_in_g(T2628))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → LOG22611_IN_G(T2628)
LOG22611_IN_G(T2651) → U123_G(T2651, log22496_in_g(T2651))
LOG22611_IN_G(T2651) → LOG22496_IN_G(T2651)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_GG(T2628, log22611_in_g(T2628))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → LOG22611_IN_G(T2628)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_GG(T2672, log22677_in_g(T2672))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → LOG22677_IN_G(T2672)
LOG22677_IN_G(T2695) → U124_G(T2695, log22496_in_g(T2695))
LOG22677_IN_G(T2695) → LOG22496_IN_G(T2695)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_GG(T2672, log22677_in_g(T2672))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → LOG22677_IN_G(T2672)
LOG257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_GG(T2716, log22747_in_g(T2716))
LOG257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2716) → LOG22747_IN_G(T2716)
LOG22747_IN_G(T2731) → U125_G(T2731, log22533_in_g(T2731))
LOG22747_IN_G(T2731) → LOG22533_IN_G(T2731)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_GG(T2716, log22747_in_g(T2716))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → LOG22747_IN_G(T2716)
LOG257_IN_GG(s(s(s(s(s(s(0)))))), T2747) → U134_GG(T2747, log22798_in_g(T2747))
LOG257_IN_GG(s(s(s(s(s(s(0)))))), T2747) → LOG22798_IN_G(T2747)
LOG22798_IN_G(T2762) → U126_G(T2762, log22533_in_g(T2762))
LOG22798_IN_G(T2762) → LOG22533_IN_G(T2762)
LOG257_IN_GG(s(s(s(s(s(s(s(0))))))), T2747) → U135_GG(T2747, log22798_in_g(T2747))
LOG257_IN_GG(s(s(s(s(s(s(s(0))))))), T2747) → LOG22798_IN_G(T2747)
LOG257_IN_GG(s(s(s(s(0)))), T2776) → U136_GG(T2776, log22853_in_g(T2776))
LOG257_IN_GG(s(s(s(s(0)))), T2776) → LOG22853_IN_G(T2776)
LOG257_IN_GG(s(s(s(s(s(0))))), T2776) → U137_GG(T2776, log22853_in_g(T2776))
LOG257_IN_GG(s(s(s(s(s(0))))), T2776) → LOG22853_IN_G(T2776)
LOG257_IN_GG(s(s(0)), T2789) → U138_GG(T2789, log22890_in_g(T2789))
LOG257_IN_GG(s(s(0)), T2789) → LOG22890_IN_G(T2789)
LOG257_IN_GG(s(s(s(0))), T2789) → U139_GG(T2789, log22890_in_g(T2789))
LOG257_IN_GG(s(s(s(0))), T2789) → LOG22890_IN_G(T2789)
LOG244_IN_AGG(s(0), s(T148), T149) → U3_AGG(T148, T149, log257_in_gg(T148, T149))
LOG244_IN_AGG(s(0), s(T148), T149) → LOG257_IN_GG(T148, T149)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_AG(T2819, log22968_in_g(T2819))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → LOG22968_IN_G(T2819)
LOG22968_IN_G(T2843) → U140_G(T2843, log22853_in_g(T2843))
LOG22968_IN_G(T2843) → LOG22853_IN_G(T2843)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_AG(T2819, log22968_in_g(T2819))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → LOG22968_IN_G(T2819)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_AG(T2867, log23034_in_g(T2867))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → LOG23034_IN_G(T2867)
LOG23034_IN_G(T2891) → U141_G(T2891, log22853_in_g(T2891))
LOG23034_IN_G(T2891) → LOG22853_IN_G(T2891)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_AG(T2867, log23034_in_g(T2867))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → LOG23034_IN_G(T2867)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_AG(T2915, log23104_in_g(T2915))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → LOG23104_IN_G(T2915)
LOG23104_IN_G(T2931) → U142_G(T2931, log22890_in_g(T2931))
LOG23104_IN_G(T2931) → LOG22890_IN_G(T2931)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_AG(T2915, log23104_in_g(T2915))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → LOG23104_IN_G(T2915)
LOG21_IN_AG(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_AG(T2950, log23155_in_g(T2950))
LOG21_IN_AG(s(s(s(s(s(s(s(s(0)))))))), T2950) → LOG23155_IN_G(T2950)
LOG23155_IN_G(T2966) → U143_G(T2966, log22890_in_g(T2966))
LOG23155_IN_G(T2966) → LOG22890_IN_G(T2966)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_AG(T2950, log23155_in_g(T2950))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → LOG23155_IN_G(T2950)
LOG21_IN_AG(s(s(s(s(s(s(0)))))), T2983) → U157_AG(T2983, log23210_in_g(T2983))
LOG21_IN_AG(s(s(s(s(s(s(0)))))), T2983) → LOG23210_IN_G(T2983)
LOG21_IN_AG(s(s(s(s(s(s(s(0))))))), T2983) → U158_AG(T2983, log23210_in_g(T2983))
LOG21_IN_AG(s(s(s(s(s(s(s(0))))))), T2983) → LOG23210_IN_G(T2983)
LOG21_IN_AG(s(s(s(s(0)))), T3000) → U159_AG(T3000, log23247_in_g(T3000))
LOG21_IN_AG(s(s(s(s(0)))), T3000) → LOG23247_IN_G(T3000)
LOG21_IN_AG(s(s(s(s(s(0))))), T3000) → U160_AG(T3000, log23247_in_g(T3000))
LOG21_IN_AG(s(s(s(s(s(0))))), T3000) → LOG23247_IN_G(T3000)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_AG(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → LOG244_IN_AGG(T109, s(s(s(s(s(s(s(0))))))), T108)
LOG244_IN_AGG(s(s(T131)), T129, T130) → U1_AGG(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
LOG244_IN_AGG(s(s(T131)), T129, T130) → LOG244_IN_AGG(T131, s(T129), T130)
LOG244_IN_AGG(0, s(T148), T149) → U2_AGG(T148, T149, log257_in_gg(T148, T149))
LOG244_IN_AGG(0, s(T148), T149) → LOG257_IN_GG(T148, T149)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_GG(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → LOG294_IN_GGG(T235, s(s(s(s(s(s(s(0))))))), T236)
LOG294_IN_GGG(s(s(T255)), T256, T257) → U4_GGG(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
LOG294_IN_GGG(s(s(T255)), T256, T257) → LOG294_IN_GGG(T255, s(T256), T257)
LOG294_IN_GGG(0, s(T274), T275) → U5_GGG(T274, T275, log2107_in_gg(T274, T275))
LOG294_IN_GGG(0, s(T274), T275) → LOG2107_IN_GG(T274, T275)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_GG(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → LOG2144_IN_GGG(T360, s(s(s(s(s(s(s(0))))))), T361)
LOG2144_IN_GGG(s(s(T380)), T381, T382) → U7_GGG(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
LOG2144_IN_GGG(s(s(T380)), T381, T382) → LOG2144_IN_GGG(T380, s(T381), T382)
LOG2144_IN_GGG(0, s(T399), T400) → U8_GGG(T399, T400, log2157_in_gg(T399, T400))
LOG2144_IN_GGG(0, s(T399), T400) → LOG2157_IN_GG(T399, T400)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_GG(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → LOG2194_IN_GGG(T485, s(s(s(s(s(s(s(0))))))), T486)
LOG2194_IN_GGG(s(s(T505)), T506, T507) → U10_GGG(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
LOG2194_IN_GGG(s(s(T505)), T506, T507) → LOG2194_IN_GGG(T505, s(T506), T507)
LOG2194_IN_GGG(0, s(T524), T525) → U11_GGG(T524, T525, log2207_in_gg(T524, T525))
LOG2194_IN_GGG(0, s(T524), T525) → LOG2207_IN_GG(T524, T525)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_GG(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → LOG2244_IN_GGG(T610, s(s(s(s(s(s(s(0))))))), T611)
LOG2244_IN_GGG(s(s(T630)), T631, T632) → U13_GGG(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
LOG2244_IN_GGG(s(s(T630)), T631, T632) → LOG2244_IN_GGG(T630, s(T631), T632)
LOG2244_IN_GGG(0, s(T649), T650) → U14_GGG(T649, T650, log2257_in_gg(T649, T650))
LOG2244_IN_GGG(0, s(T649), T650) → LOG2257_IN_GG(T649, T650)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_GG(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → LOG2294_IN_GGG(T735, s(s(s(s(s(s(s(0))))))), T736)
LOG2294_IN_GGG(s(s(T755)), T756, T757) → U16_GGG(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
LOG2294_IN_GGG(s(s(T755)), T756, T757) → LOG2294_IN_GGG(T755, s(T756), T757)
LOG2294_IN_GGG(0, s(T774), T775) → U17_GGG(T774, T775, log2307_in_gg(T774, T775))
LOG2294_IN_GGG(0, s(T774), T775) → LOG2307_IN_GG(T774, T775)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_GG(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → LOG2344_IN_GGG(T860, s(s(s(s(s(s(s(0))))))), T861)
LOG2344_IN_GGG(s(s(T880)), T881, T882) → U19_GGG(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
LOG2344_IN_GGG(s(s(T880)), T881, T882) → LOG2344_IN_GGG(T880, s(T881), T882)
LOG2344_IN_GGG(0, s(T899), T900) → U20_GGG(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
LOG2344_IN_GGG(0, s(T899), T900) → LOG2359_IN_GGG(T899, s(s(s(s(s(s(s(0))))))), T900)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_GGG(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → LOG2395_IN_GGGG(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → U22_GGGG(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → LOG2395_IN_GGGG(T1056, s(T1057), T1058, T1059)
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → U23_GGGG(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_GGG(T1119, T1120, log2437_in_gg(T1119, T1120))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → LOG2437_IN_GG(T1119, T1120)
LOG2437_IN_GG(T1167, T1168) → U38_GG(T1167, T1168, log2454_in_gg(T1167, T1168))
LOG2437_IN_GG(T1167, T1168) → LOG2454_IN_GG(T1167, T1168)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_GGG(T1119, T1120, log2437_in_gg(T1119, T1120))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → LOG2437_IN_GG(T1119, T1120)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_GGG(T1222, T1223, log2515_in_gg(T1222, T1223))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → LOG2515_IN_GG(T1222, T1223)
LOG2515_IN_GG(T1270, T1271) → U39_GG(T1270, T1271, log2454_in_gg(T1270, T1271))
LOG2515_IN_GG(T1270, T1271) → LOG2454_IN_GG(T1270, T1271)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_GGG(T1222, T1223, log2515_in_gg(T1222, T1223))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → LOG2515_IN_GG(T1222, T1223)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_GGG(T1323, T1324, log2585_in_gg(T1323, T1324))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → LOG2585_IN_GG(T1323, T1324)
LOG2585_IN_GG(T1355, T1356) → U40_GG(T1355, T1356, log2598_in_gg(T1355, T1356))
LOG2585_IN_GG(T1355, T1356) → LOG2598_IN_GG(T1355, T1356)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_GGG(T1323, T1324, log2585_in_gg(T1323, T1324))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → LOG2585_IN_GG(T1323, T1324)
LOG2359_IN_GGG(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_GGG(T1394, T1395, log2650_in_gg(T1394, T1395))
LOG2359_IN_GGG(s(s(s(s(s(s(0)))))), T1394, T1395) → LOG2650_IN_GG(T1394, T1395)
LOG2650_IN_GG(T1426, T1427) → U41_GG(T1426, T1427, log2598_in_gg(T1426, T1427))
LOG2650_IN_GG(T1426, T1427) → LOG2598_IN_GG(T1426, T1427)
LOG2359_IN_GGG(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_GGG(T1394, T1395, log2650_in_gg(T1394, T1395))
LOG2359_IN_GGG(s(s(s(s(s(s(s(0))))))), T1394, T1395) → LOG2650_IN_GG(T1394, T1395)
LOG2359_IN_GGG(s(s(s(s(0)))), T1461, T1462) → U34_GGG(T1461, T1462, log2705_in_gg(T1461, T1462))
LOG2359_IN_GGG(s(s(s(s(0)))), T1461, T1462) → LOG2705_IN_GG(T1461, T1462)
LOG2359_IN_GGG(s(s(s(s(s(0))))), T1461, T1462) → U35_GGG(T1461, T1462, log2705_in_gg(T1461, T1462))
LOG2359_IN_GGG(s(s(s(s(s(0))))), T1461, T1462) → LOG2705_IN_GG(T1461, T1462)
LOG2359_IN_GGG(s(s(0)), T1490, T1491) → U36_GGG(T1490, T1491, log2742_in_gg(T1490, T1491))
LOG2359_IN_GGG(s(s(0)), T1490, T1491) → LOG2742_IN_GG(T1490, T1491)
LOG2359_IN_GGG(s(s(s(0))), T1490, T1491) → U37_GGG(T1490, T1491, log2742_in_gg(T1490, T1491))
LOG2359_IN_GGG(s(s(s(0))), T1490, T1491) → LOG2742_IN_GG(T1490, T1491)
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → U24_GGGG(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2344_IN_GGG(s(0), s(T899), T900) → U21_GGG(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
LOG2344_IN_GGG(s(0), s(T899), T900) → LOG2359_IN_GGG(T899, s(s(s(s(s(s(s(0))))))), T900)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_GG(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → LOG2822_IN_GG(s(s(s(s(s(s(s(0))))))), T1530)
LOG2822_IN_GG(T1578, T1579) → U144_GG(T1578, T1579, log2705_in_gg(T1578, T1579))
LOG2822_IN_GG(T1578, T1579) → LOG2705_IN_GG(T1578, T1579)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_GG(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → LOG2822_IN_GG(s(s(s(s(s(s(s(0))))))), T1530)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_GG(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → LOG2889_IN_GG(s(s(s(s(s(s(s(0))))))), T1620)
LOG2889_IN_GG(T1668, T1669) → U145_GG(T1668, T1669, log2705_in_gg(T1668, T1669))
LOG2889_IN_GG(T1668, T1669) → LOG2705_IN_GG(T1668, T1669)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_GG(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → LOG2889_IN_GG(s(s(s(s(s(s(s(0))))))), T1620)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_GG(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1711) → LOG2960_IN_GG(s(s(s(s(s(s(s(0))))))), T1711)
LOG2960_IN_GG(T1743, T1744) → U146_GG(T1743, T1744, log2742_in_gg(T1743, T1744))
LOG2960_IN_GG(T1743, T1744) → LOG2742_IN_GG(T1743, T1744)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_GG(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → LOG2960_IN_GG(s(s(s(s(s(s(s(0))))))), T1711)
LOG2307_IN_GG(s(s(s(s(s(s(0)))))), T1769) → U49_GG(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
LOG2307_IN_GG(s(s(s(s(s(s(0)))))), T1769) → LOG21012_IN_GG(s(s(s(s(s(s(s(0))))))), T1769)
LOG21012_IN_GG(T1801, T1802) → U147_GG(T1801, T1802, log2742_in_gg(T1801, T1802))
LOG21012_IN_GG(T1801, T1802) → LOG2742_IN_GG(T1801, T1802)
LOG2307_IN_GG(s(s(s(s(s(s(s(0))))))), T1769) → U50_GG(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
LOG2307_IN_GG(s(s(s(s(s(s(s(0))))))), T1769) → LOG21012_IN_GG(s(s(s(s(s(s(s(0))))))), T1769)
LOG2307_IN_GG(s(s(s(s(0)))), T1826) → U51_GG(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
LOG2307_IN_GG(s(s(s(s(0)))), T1826) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1826)
LOG2307_IN_GG(s(s(s(s(s(0))))), T1826) → U52_GG(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
LOG2307_IN_GG(s(s(s(s(s(0))))), T1826) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1826)
LOG2307_IN_GG(s(s(0)), T1844) → U53_GG(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
LOG2307_IN_GG(s(s(0)), T1844) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T1844)
LOG2307_IN_GG(s(s(s(0))), T1844) → U54_GG(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
LOG2307_IN_GG(s(s(s(0))), T1844) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T1844)
LOG2294_IN_GGG(s(0), s(T774), T775) → U18_GGG(T774, T775, log2307_in_gg(T774, T775))
LOG2294_IN_GGG(s(0), s(T774), T775) → LOG2307_IN_GG(T774, T775)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_GG(T1876, log21183_in_g(T1876))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → LOG21183_IN_G(T1876)
LOG21183_IN_G(T1899) → U55_G(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
LOG21183_IN_G(T1899) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1899)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_GG(T1876, log21183_in_g(T1876))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → LOG21183_IN_G(T1876)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_GG(T1920, log21249_in_g(T1920))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → LOG21249_IN_G(T1920)
LOG21249_IN_G(T1943) → U56_G(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
LOG21249_IN_G(T1943) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1943)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_GG(T1920, log21249_in_g(T1920))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → LOG21249_IN_G(T1920)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_GG(T1964, log21319_in_g(T1964))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1964) → LOG21319_IN_G(T1964)
LOG21319_IN_G(T1979) → U57_G(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
LOG21319_IN_G(T1979) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T1979)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_GG(T1964, log21319_in_g(T1964))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → LOG21319_IN_G(T1964)
LOG2257_IN_GG(s(s(s(s(s(s(0)))))), T1995) → U66_GG(T1995, log21370_in_g(T1995))
LOG2257_IN_GG(s(s(s(s(s(s(0)))))), T1995) → LOG21370_IN_G(T1995)
LOG21370_IN_G(T2010) → U58_G(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
LOG21370_IN_G(T2010) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T2010)
LOG2257_IN_GG(s(s(s(s(s(s(s(0))))))), T1995) → U67_GG(T1995, log21370_in_g(T1995))
LOG2257_IN_GG(s(s(s(s(s(s(s(0))))))), T1995) → LOG21370_IN_G(T1995)
LOG2257_IN_GG(s(s(s(s(0)))), T2024) → U68_GG(T2024, log21425_in_g(T2024))
LOG2257_IN_GG(s(s(s(s(0)))), T2024) → LOG21425_IN_G(T2024)
LOG2257_IN_GG(s(s(s(s(s(0))))), T2024) → U69_GG(T2024, log21425_in_g(T2024))
LOG2257_IN_GG(s(s(s(s(s(0))))), T2024) → LOG21425_IN_G(T2024)
LOG2257_IN_GG(s(s(0)), T2037) → U70_GG(T2037, log21462_in_g(T2037))
LOG2257_IN_GG(s(s(0)), T2037) → LOG21462_IN_G(T2037)
LOG2257_IN_GG(s(s(s(0))), T2037) → U71_GG(T2037, log21462_in_g(T2037))
LOG2257_IN_GG(s(s(s(0))), T2037) → LOG21462_IN_G(T2037)
LOG2244_IN_GGG(s(0), s(T649), T650) → U15_GGG(T649, T650, log2257_in_gg(T649, T650))
LOG2244_IN_GGG(s(0), s(T649), T650) → LOG2257_IN_GG(T649, T650)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_GG(T2064, log21540_in_g(T2064))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → LOG21540_IN_G(T2064)
LOG21540_IN_G(T2087) → U72_G(T2087, log21425_in_g(T2087))
LOG21540_IN_G(T2087) → LOG21425_IN_G(T2087)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_GG(T2064, log21540_in_g(T2064))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → LOG21540_IN_G(T2064)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_GG(T2108, log21606_in_g(T2108))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → LOG21606_IN_G(T2108)
LOG21606_IN_G(T2131) → U73_G(T2131, log21425_in_g(T2131))
LOG21606_IN_G(T2131) → LOG21425_IN_G(T2131)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_GG(T2108, log21606_in_g(T2108))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → LOG21606_IN_G(T2108)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_GG(T2152, log21676_in_g(T2152))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2152) → LOG21676_IN_G(T2152)
LOG21676_IN_G(T2167) → U74_G(T2167, log21462_in_g(T2167))
LOG21676_IN_G(T2167) → LOG21462_IN_G(T2167)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_GG(T2152, log21676_in_g(T2152))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → LOG21676_IN_G(T2152)
LOG2207_IN_GG(s(s(s(s(s(s(0)))))), T2183) → U83_GG(T2183, log21727_in_g(T2183))
LOG2207_IN_GG(s(s(s(s(s(s(0)))))), T2183) → LOG21727_IN_G(T2183)
LOG21727_IN_G(T2198) → U75_G(T2198, log21462_in_g(T2198))
LOG21727_IN_G(T2198) → LOG21462_IN_G(T2198)
LOG2207_IN_GG(s(s(s(s(s(s(s(0))))))), T2183) → U84_GG(T2183, log21727_in_g(T2183))
LOG2207_IN_GG(s(s(s(s(s(s(s(0))))))), T2183) → LOG21727_IN_G(T2183)
LOG2207_IN_GG(s(s(s(s(0)))), T2212) → U85_GG(T2212, log21782_in_g(T2212))
LOG2207_IN_GG(s(s(s(s(0)))), T2212) → LOG21782_IN_G(T2212)
LOG2207_IN_GG(s(s(s(s(s(0))))), T2212) → U86_GG(T2212, log21782_in_g(T2212))
LOG2207_IN_GG(s(s(s(s(s(0))))), T2212) → LOG21782_IN_G(T2212)
LOG2207_IN_GG(s(s(0)), T2225) → U87_GG(T2225, log21819_in_g(T2225))
LOG2207_IN_GG(s(s(0)), T2225) → LOG21819_IN_G(T2225)
LOG2207_IN_GG(s(s(s(0))), T2225) → U88_GG(T2225, log21819_in_g(T2225))
LOG2207_IN_GG(s(s(s(0))), T2225) → LOG21819_IN_G(T2225)
LOG2194_IN_GGG(s(0), s(T524), T525) → U12_GGG(T524, T525, log2207_in_gg(T524, T525))
LOG2194_IN_GGG(s(0), s(T524), T525) → LOG2207_IN_GG(T524, T525)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_GG(T2252, log21897_in_g(T2252))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → LOG21897_IN_G(T2252)
LOG21897_IN_G(T2275) → U89_G(T2275, log21782_in_g(T2275))
LOG21897_IN_G(T2275) → LOG21782_IN_G(T2275)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_GG(T2252, log21897_in_g(T2252))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → LOG21897_IN_G(T2252)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_GG(T2296, log21963_in_g(T2296))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → LOG21963_IN_G(T2296)
LOG21963_IN_G(T2319) → U90_G(T2319, log21782_in_g(T2319))
LOG21963_IN_G(T2319) → LOG21782_IN_G(T2319)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_GG(T2296, log21963_in_g(T2296))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → LOG21963_IN_G(T2296)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_GG(T2340, log22033_in_g(T2340))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2340) → LOG22033_IN_G(T2340)
LOG22033_IN_G(T2355) → U91_G(T2355, log21819_in_g(T2355))
LOG22033_IN_G(T2355) → LOG21819_IN_G(T2355)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_GG(T2340, log22033_in_g(T2340))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → LOG22033_IN_G(T2340)
LOG2157_IN_GG(s(s(s(s(s(s(0)))))), T2371) → U100_GG(T2371, log22084_in_g(T2371))
LOG2157_IN_GG(s(s(s(s(s(s(0)))))), T2371) → LOG22084_IN_G(T2371)
LOG22084_IN_G(T2386) → U92_G(T2386, log21819_in_g(T2386))
LOG22084_IN_G(T2386) → LOG21819_IN_G(T2386)
LOG2157_IN_GG(s(s(s(s(s(s(s(0))))))), T2371) → U101_GG(T2371, log22084_in_g(T2371))
LOG2157_IN_GG(s(s(s(s(s(s(s(0))))))), T2371) → LOG22084_IN_G(T2371)
LOG2157_IN_GG(s(s(s(s(0)))), T2400) → U102_GG(T2400, log22139_in_g(T2400))
LOG2157_IN_GG(s(s(s(s(0)))), T2400) → LOG22139_IN_G(T2400)
LOG2157_IN_GG(s(s(s(s(s(0))))), T2400) → U103_GG(T2400, log22139_in_g(T2400))
LOG2157_IN_GG(s(s(s(s(s(0))))), T2400) → LOG22139_IN_G(T2400)
LOG2157_IN_GG(s(s(0)), T2413) → U104_GG(T2413, log22176_in_g(T2413))
LOG2157_IN_GG(s(s(0)), T2413) → LOG22176_IN_G(T2413)
LOG2157_IN_GG(s(s(s(0))), T2413) → U105_GG(T2413, log22176_in_g(T2413))
LOG2157_IN_GG(s(s(s(0))), T2413) → LOG22176_IN_G(T2413)
LOG2144_IN_GGG(s(0), s(T399), T400) → U9_GGG(T399, T400, log2157_in_gg(T399, T400))
LOG2144_IN_GGG(s(0), s(T399), T400) → LOG2157_IN_GG(T399, T400)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_GG(T2440, log22254_in_g(T2440))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → LOG22254_IN_G(T2440)
LOG22254_IN_G(T2463) → U106_G(T2463, log22139_in_g(T2463))
LOG22254_IN_G(T2463) → LOG22139_IN_G(T2463)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_GG(T2440, log22254_in_g(T2440))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → LOG22254_IN_G(T2440)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_GG(T2484, log22320_in_g(T2484))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → LOG22320_IN_G(T2484)
LOG22320_IN_G(T2507) → U107_G(T2507, log22139_in_g(T2507))
LOG22320_IN_G(T2507) → LOG22139_IN_G(T2507)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_GG(T2484, log22320_in_g(T2484))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → LOG22320_IN_G(T2484)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_GG(T2528, log22390_in_g(T2528))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2528) → LOG22390_IN_G(T2528)
LOG22390_IN_G(T2543) → U108_G(T2543, log22176_in_g(T2543))
LOG22390_IN_G(T2543) → LOG22176_IN_G(T2543)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_GG(T2528, log22390_in_g(T2528))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → LOG22390_IN_G(T2528)
LOG2107_IN_GG(s(s(s(s(s(s(0)))))), T2559) → U117_GG(T2559, log22441_in_g(T2559))
LOG2107_IN_GG(s(s(s(s(s(s(0)))))), T2559) → LOG22441_IN_G(T2559)
LOG22441_IN_G(T2574) → U109_G(T2574, log22176_in_g(T2574))
LOG22441_IN_G(T2574) → LOG22176_IN_G(T2574)
LOG2107_IN_GG(s(s(s(s(s(s(s(0))))))), T2559) → U118_GG(T2559, log22441_in_g(T2559))
LOG2107_IN_GG(s(s(s(s(s(s(s(0))))))), T2559) → LOG22441_IN_G(T2559)
LOG2107_IN_GG(s(s(s(s(0)))), T2588) → U119_GG(T2588, log22496_in_g(T2588))
LOG2107_IN_GG(s(s(s(s(0)))), T2588) → LOG22496_IN_G(T2588)
LOG2107_IN_GG(s(s(s(s(s(0))))), T2588) → U120_GG(T2588, log22496_in_g(T2588))
LOG2107_IN_GG(s(s(s(s(s(0))))), T2588) → LOG22496_IN_G(T2588)
LOG2107_IN_GG(s(s(0)), T2601) → U121_GG(T2601, log22533_in_g(T2601))
LOG2107_IN_GG(s(s(0)), T2601) → LOG22533_IN_G(T2601)
LOG2107_IN_GG(s(s(s(0))), T2601) → U122_GG(T2601, log22533_in_g(T2601))
LOG2107_IN_GG(s(s(s(0))), T2601) → LOG22533_IN_G(T2601)
LOG294_IN_GGG(s(0), s(T274), T275) → U6_GGG(T274, T275, log2107_in_gg(T274, T275))
LOG294_IN_GGG(s(0), s(T274), T275) → LOG2107_IN_GG(T274, T275)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_GG(T2628, log22611_in_g(T2628))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → LOG22611_IN_G(T2628)
LOG22611_IN_G(T2651) → U123_G(T2651, log22496_in_g(T2651))
LOG22611_IN_G(T2651) → LOG22496_IN_G(T2651)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_GG(T2628, log22611_in_g(T2628))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → LOG22611_IN_G(T2628)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_GG(T2672, log22677_in_g(T2672))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → LOG22677_IN_G(T2672)
LOG22677_IN_G(T2695) → U124_G(T2695, log22496_in_g(T2695))
LOG22677_IN_G(T2695) → LOG22496_IN_G(T2695)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_GG(T2672, log22677_in_g(T2672))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → LOG22677_IN_G(T2672)
LOG257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_GG(T2716, log22747_in_g(T2716))
LOG257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2716) → LOG22747_IN_G(T2716)
LOG22747_IN_G(T2731) → U125_G(T2731, log22533_in_g(T2731))
LOG22747_IN_G(T2731) → LOG22533_IN_G(T2731)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_GG(T2716, log22747_in_g(T2716))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → LOG22747_IN_G(T2716)
LOG257_IN_GG(s(s(s(s(s(s(0)))))), T2747) → U134_GG(T2747, log22798_in_g(T2747))
LOG257_IN_GG(s(s(s(s(s(s(0)))))), T2747) → LOG22798_IN_G(T2747)
LOG22798_IN_G(T2762) → U126_G(T2762, log22533_in_g(T2762))
LOG22798_IN_G(T2762) → LOG22533_IN_G(T2762)
LOG257_IN_GG(s(s(s(s(s(s(s(0))))))), T2747) → U135_GG(T2747, log22798_in_g(T2747))
LOG257_IN_GG(s(s(s(s(s(s(s(0))))))), T2747) → LOG22798_IN_G(T2747)
LOG257_IN_GG(s(s(s(s(0)))), T2776) → U136_GG(T2776, log22853_in_g(T2776))
LOG257_IN_GG(s(s(s(s(0)))), T2776) → LOG22853_IN_G(T2776)
LOG257_IN_GG(s(s(s(s(s(0))))), T2776) → U137_GG(T2776, log22853_in_g(T2776))
LOG257_IN_GG(s(s(s(s(s(0))))), T2776) → LOG22853_IN_G(T2776)
LOG257_IN_GG(s(s(0)), T2789) → U138_GG(T2789, log22890_in_g(T2789))
LOG257_IN_GG(s(s(0)), T2789) → LOG22890_IN_G(T2789)
LOG257_IN_GG(s(s(s(0))), T2789) → U139_GG(T2789, log22890_in_g(T2789))
LOG257_IN_GG(s(s(s(0))), T2789) → LOG22890_IN_G(T2789)
LOG244_IN_AGG(s(0), s(T148), T149) → U3_AGG(T148, T149, log257_in_gg(T148, T149))
LOG244_IN_AGG(s(0), s(T148), T149) → LOG257_IN_GG(T148, T149)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_AG(T2819, log22968_in_g(T2819))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → LOG22968_IN_G(T2819)
LOG22968_IN_G(T2843) → U140_G(T2843, log22853_in_g(T2843))
LOG22968_IN_G(T2843) → LOG22853_IN_G(T2843)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_AG(T2819, log22968_in_g(T2819))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → LOG22968_IN_G(T2819)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_AG(T2867, log23034_in_g(T2867))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → LOG23034_IN_G(T2867)
LOG23034_IN_G(T2891) → U141_G(T2891, log22853_in_g(T2891))
LOG23034_IN_G(T2891) → LOG22853_IN_G(T2891)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_AG(T2867, log23034_in_g(T2867))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → LOG23034_IN_G(T2867)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_AG(T2915, log23104_in_g(T2915))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → LOG23104_IN_G(T2915)
LOG23104_IN_G(T2931) → U142_G(T2931, log22890_in_g(T2931))
LOG23104_IN_G(T2931) → LOG22890_IN_G(T2931)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_AG(T2915, log23104_in_g(T2915))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → LOG23104_IN_G(T2915)
LOG21_IN_AG(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_AG(T2950, log23155_in_g(T2950))
LOG21_IN_AG(s(s(s(s(s(s(s(s(0)))))))), T2950) → LOG23155_IN_G(T2950)
LOG23155_IN_G(T2966) → U143_G(T2966, log22890_in_g(T2966))
LOG23155_IN_G(T2966) → LOG22890_IN_G(T2966)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_AG(T2950, log23155_in_g(T2950))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → LOG23155_IN_G(T2950)
LOG21_IN_AG(s(s(s(s(s(s(0)))))), T2983) → U157_AG(T2983, log23210_in_g(T2983))
LOG21_IN_AG(s(s(s(s(s(s(0)))))), T2983) → LOG23210_IN_G(T2983)
LOG21_IN_AG(s(s(s(s(s(s(s(0))))))), T2983) → U158_AG(T2983, log23210_in_g(T2983))
LOG21_IN_AG(s(s(s(s(s(s(s(0))))))), T2983) → LOG23210_IN_G(T2983)
LOG21_IN_AG(s(s(s(s(0)))), T3000) → U159_AG(T3000, log23247_in_g(T3000))
LOG21_IN_AG(s(s(s(s(0)))), T3000) → LOG23247_IN_G(T3000)
LOG21_IN_AG(s(s(s(s(s(0))))), T3000) → U160_AG(T3000, log23247_in_g(T3000))
LOG21_IN_AG(s(s(s(s(s(0))))), T3000) → LOG23247_IN_G(T3000)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → LOG2395_IN_GGGG(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → LOG2395_IN_GGGG(T1056, s(T1057), T1058, T1059)
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → LOG2395_IN_GGGG(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → LOG2395_IN_GGGG(T1056, s(T1057), T1058, T1059)
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → LOG2395_IN_GGGG(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → LOG2395_IN_GGGG(T1056, s(T1057), T1058, T1059)
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → LOG2395_IN_GGGG(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → LOG2395_IN_GGGG(T1056, s(T1057), T1058, T1059)
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
POL(0) = 0
POL(LOG2359_IN_GGG(x1, x2, x3)) = x1 + x2 + x3
POL(LOG2395_IN_GGGG(x1, x2, x3, x4)) = 1 + x1 + x2 + x3 + x4
POL(s(x1)) = 1 + x1
LOG2344_IN_GGG(s(s(T880)), T881, T882) → LOG2344_IN_GGG(T880, s(T881), T882)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2344_IN_GGG(s(s(T880)), T881, T882) → LOG2344_IN_GGG(T880, s(T881), T882)
LOG2344_IN_GGG(s(s(T880)), T881, T882) → LOG2344_IN_GGG(T880, s(T881), T882)
From the DPs we obtained the following set of size-change graphs:
LOG2294_IN_GGG(s(s(T755)), T756, T757) → LOG2294_IN_GGG(T755, s(T756), T757)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2294_IN_GGG(s(s(T755)), T756, T757) → LOG2294_IN_GGG(T755, s(T756), T757)
LOG2294_IN_GGG(s(s(T755)), T756, T757) → LOG2294_IN_GGG(T755, s(T756), T757)
From the DPs we obtained the following set of size-change graphs:
LOG2244_IN_GGG(s(s(T630)), T631, T632) → LOG2244_IN_GGG(T630, s(T631), T632)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2244_IN_GGG(s(s(T630)), T631, T632) → LOG2244_IN_GGG(T630, s(T631), T632)
LOG2244_IN_GGG(s(s(T630)), T631, T632) → LOG2244_IN_GGG(T630, s(T631), T632)
From the DPs we obtained the following set of size-change graphs:
LOG2194_IN_GGG(s(s(T505)), T506, T507) → LOG2194_IN_GGG(T505, s(T506), T507)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2194_IN_GGG(s(s(T505)), T506, T507) → LOG2194_IN_GGG(T505, s(T506), T507)
LOG2194_IN_GGG(s(s(T505)), T506, T507) → LOG2194_IN_GGG(T505, s(T506), T507)
From the DPs we obtained the following set of size-change graphs:
LOG2144_IN_GGG(s(s(T380)), T381, T382) → LOG2144_IN_GGG(T380, s(T381), T382)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2144_IN_GGG(s(s(T380)), T381, T382) → LOG2144_IN_GGG(T380, s(T381), T382)
LOG2144_IN_GGG(s(s(T380)), T381, T382) → LOG2144_IN_GGG(T380, s(T381), T382)
From the DPs we obtained the following set of size-change graphs:
LOG294_IN_GGG(s(s(T255)), T256, T257) → LOG294_IN_GGG(T255, s(T256), T257)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG294_IN_GGG(s(s(T255)), T256, T257) → LOG294_IN_GGG(T255, s(T256), T257)
LOG294_IN_GGG(s(s(T255)), T256, T257) → LOG294_IN_GGG(T255, s(T256), T257)
From the DPs we obtained the following set of size-change graphs:
LOG244_IN_AGG(s(s(T131)), T129, T130) → LOG244_IN_AGG(T131, s(T129), T130)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG244_IN_AGG(s(s(T131)), T129, T130) → LOG244_IN_AGG(T131, s(T129), T130)
LOG244_IN_AGG(T129, T130) → LOG244_IN_AGG(s(T129), T130)
LOG244_IN_AGG(s(z0), z1) → LOG244_IN_AGG(s(s(z0)), z1)
LOG244_IN_AGG(s(z0), z1) → LOG244_IN_AGG(s(s(z0)), z1)
LOG244_IN_AGG(s(s(z0)), z1) → LOG244_IN_AGG(s(s(s(z0))), z1)
LOG244_IN_AGG(s(s(z0)), z1) → LOG244_IN_AGG(s(s(s(z0))), z1)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_AG(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → LOG244_IN_AGG(T109, s(s(s(s(s(s(s(0))))))), T108)
LOG244_IN_AGG(s(s(T131)), T129, T130) → U1_AGG(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
LOG244_IN_AGG(s(s(T131)), T129, T130) → LOG244_IN_AGG(T131, s(T129), T130)
LOG244_IN_AGG(0, s(T148), T149) → U2_AGG(T148, T149, log257_in_gg(T148, T149))
LOG244_IN_AGG(0, s(T148), T149) → LOG257_IN_GG(T148, T149)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_GG(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → LOG294_IN_GGG(T235, s(s(s(s(s(s(s(0))))))), T236)
LOG294_IN_GGG(s(s(T255)), T256, T257) → U4_GGG(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
LOG294_IN_GGG(s(s(T255)), T256, T257) → LOG294_IN_GGG(T255, s(T256), T257)
LOG294_IN_GGG(0, s(T274), T275) → U5_GGG(T274, T275, log2107_in_gg(T274, T275))
LOG294_IN_GGG(0, s(T274), T275) → LOG2107_IN_GG(T274, T275)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_GG(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → LOG2144_IN_GGG(T360, s(s(s(s(s(s(s(0))))))), T361)
LOG2144_IN_GGG(s(s(T380)), T381, T382) → U7_GGG(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
LOG2144_IN_GGG(s(s(T380)), T381, T382) → LOG2144_IN_GGG(T380, s(T381), T382)
LOG2144_IN_GGG(0, s(T399), T400) → U8_GGG(T399, T400, log2157_in_gg(T399, T400))
LOG2144_IN_GGG(0, s(T399), T400) → LOG2157_IN_GG(T399, T400)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_GG(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → LOG2194_IN_GGG(T485, s(s(s(s(s(s(s(0))))))), T486)
LOG2194_IN_GGG(s(s(T505)), T506, T507) → U10_GGG(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
LOG2194_IN_GGG(s(s(T505)), T506, T507) → LOG2194_IN_GGG(T505, s(T506), T507)
LOG2194_IN_GGG(0, s(T524), T525) → U11_GGG(T524, T525, log2207_in_gg(T524, T525))
LOG2194_IN_GGG(0, s(T524), T525) → LOG2207_IN_GG(T524, T525)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_GG(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → LOG2244_IN_GGG(T610, s(s(s(s(s(s(s(0))))))), T611)
LOG2244_IN_GGG(s(s(T630)), T631, T632) → U13_GGG(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
LOG2244_IN_GGG(s(s(T630)), T631, T632) → LOG2244_IN_GGG(T630, s(T631), T632)
LOG2244_IN_GGG(0, s(T649), T650) → U14_GGG(T649, T650, log2257_in_gg(T649, T650))
LOG2244_IN_GGG(0, s(T649), T650) → LOG2257_IN_GG(T649, T650)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_GG(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → LOG2294_IN_GGG(T735, s(s(s(s(s(s(s(0))))))), T736)
LOG2294_IN_GGG(s(s(T755)), T756, T757) → U16_GGG(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
LOG2294_IN_GGG(s(s(T755)), T756, T757) → LOG2294_IN_GGG(T755, s(T756), T757)
LOG2294_IN_GGG(0, s(T774), T775) → U17_GGG(T774, T775, log2307_in_gg(T774, T775))
LOG2294_IN_GGG(0, s(T774), T775) → LOG2307_IN_GG(T774, T775)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_GG(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → LOG2344_IN_GGG(T860, s(s(s(s(s(s(s(0))))))), T861)
LOG2344_IN_GGG(s(s(T880)), T881, T882) → U19_GGG(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
LOG2344_IN_GGG(s(s(T880)), T881, T882) → LOG2344_IN_GGG(T880, s(T881), T882)
LOG2344_IN_GGG(0, s(T899), T900) → U20_GGG(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
LOG2344_IN_GGG(0, s(T899), T900) → LOG2359_IN_GGG(T899, s(s(s(s(s(s(s(0))))))), T900)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_GGG(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → LOG2395_IN_GGGG(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → U22_GGGG(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → LOG2395_IN_GGGG(T1056, s(T1057), T1058, T1059)
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → U23_GGGG(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_GGG(T1119, T1120, log2437_in_gg(T1119, T1120))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → LOG2437_IN_GG(T1119, T1120)
LOG2437_IN_GG(T1167, T1168) → U38_GG(T1167, T1168, log2454_in_gg(T1167, T1168))
LOG2437_IN_GG(T1167, T1168) → LOG2454_IN_GG(T1167, T1168)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_GGG(T1119, T1120, log2437_in_gg(T1119, T1120))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → LOG2437_IN_GG(T1119, T1120)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_GGG(T1222, T1223, log2515_in_gg(T1222, T1223))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → LOG2515_IN_GG(T1222, T1223)
LOG2515_IN_GG(T1270, T1271) → U39_GG(T1270, T1271, log2454_in_gg(T1270, T1271))
LOG2515_IN_GG(T1270, T1271) → LOG2454_IN_GG(T1270, T1271)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_GGG(T1222, T1223, log2515_in_gg(T1222, T1223))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → LOG2515_IN_GG(T1222, T1223)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_GGG(T1323, T1324, log2585_in_gg(T1323, T1324))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → LOG2585_IN_GG(T1323, T1324)
LOG2585_IN_GG(T1355, T1356) → U40_GG(T1355, T1356, log2598_in_gg(T1355, T1356))
LOG2585_IN_GG(T1355, T1356) → LOG2598_IN_GG(T1355, T1356)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_GGG(T1323, T1324, log2585_in_gg(T1323, T1324))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → LOG2585_IN_GG(T1323, T1324)
LOG2359_IN_GGG(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_GGG(T1394, T1395, log2650_in_gg(T1394, T1395))
LOG2359_IN_GGG(s(s(s(s(s(s(0)))))), T1394, T1395) → LOG2650_IN_GG(T1394, T1395)
LOG2650_IN_GG(T1426, T1427) → U41_GG(T1426, T1427, log2598_in_gg(T1426, T1427))
LOG2650_IN_GG(T1426, T1427) → LOG2598_IN_GG(T1426, T1427)
LOG2359_IN_GGG(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_GGG(T1394, T1395, log2650_in_gg(T1394, T1395))
LOG2359_IN_GGG(s(s(s(s(s(s(s(0))))))), T1394, T1395) → LOG2650_IN_GG(T1394, T1395)
LOG2359_IN_GGG(s(s(s(s(0)))), T1461, T1462) → U34_GGG(T1461, T1462, log2705_in_gg(T1461, T1462))
LOG2359_IN_GGG(s(s(s(s(0)))), T1461, T1462) → LOG2705_IN_GG(T1461, T1462)
LOG2359_IN_GGG(s(s(s(s(s(0))))), T1461, T1462) → U35_GGG(T1461, T1462, log2705_in_gg(T1461, T1462))
LOG2359_IN_GGG(s(s(s(s(s(0))))), T1461, T1462) → LOG2705_IN_GG(T1461, T1462)
LOG2359_IN_GGG(s(s(0)), T1490, T1491) → U36_GGG(T1490, T1491, log2742_in_gg(T1490, T1491))
LOG2359_IN_GGG(s(s(0)), T1490, T1491) → LOG2742_IN_GG(T1490, T1491)
LOG2359_IN_GGG(s(s(s(0))), T1490, T1491) → U37_GGG(T1490, T1491, log2742_in_gg(T1490, T1491))
LOG2359_IN_GGG(s(s(s(0))), T1490, T1491) → LOG2742_IN_GG(T1490, T1491)
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → U24_GGGG(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2344_IN_GGG(s(0), s(T899), T900) → U21_GGG(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
LOG2344_IN_GGG(s(0), s(T899), T900) → LOG2359_IN_GGG(T899, s(s(s(s(s(s(s(0))))))), T900)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_GG(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → LOG2822_IN_GG(s(s(s(s(s(s(s(0))))))), T1530)
LOG2822_IN_GG(T1578, T1579) → U144_GG(T1578, T1579, log2705_in_gg(T1578, T1579))
LOG2822_IN_GG(T1578, T1579) → LOG2705_IN_GG(T1578, T1579)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_GG(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → LOG2822_IN_GG(s(s(s(s(s(s(s(0))))))), T1530)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_GG(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → LOG2889_IN_GG(s(s(s(s(s(s(s(0))))))), T1620)
LOG2889_IN_GG(T1668, T1669) → U145_GG(T1668, T1669, log2705_in_gg(T1668, T1669))
LOG2889_IN_GG(T1668, T1669) → LOG2705_IN_GG(T1668, T1669)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_GG(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → LOG2889_IN_GG(s(s(s(s(s(s(s(0))))))), T1620)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_GG(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1711) → LOG2960_IN_GG(s(s(s(s(s(s(s(0))))))), T1711)
LOG2960_IN_GG(T1743, T1744) → U146_GG(T1743, T1744, log2742_in_gg(T1743, T1744))
LOG2960_IN_GG(T1743, T1744) → LOG2742_IN_GG(T1743, T1744)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_GG(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → LOG2960_IN_GG(s(s(s(s(s(s(s(0))))))), T1711)
LOG2307_IN_GG(s(s(s(s(s(s(0)))))), T1769) → U49_GG(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
LOG2307_IN_GG(s(s(s(s(s(s(0)))))), T1769) → LOG21012_IN_GG(s(s(s(s(s(s(s(0))))))), T1769)
LOG21012_IN_GG(T1801, T1802) → U147_GG(T1801, T1802, log2742_in_gg(T1801, T1802))
LOG21012_IN_GG(T1801, T1802) → LOG2742_IN_GG(T1801, T1802)
LOG2307_IN_GG(s(s(s(s(s(s(s(0))))))), T1769) → U50_GG(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
LOG2307_IN_GG(s(s(s(s(s(s(s(0))))))), T1769) → LOG21012_IN_GG(s(s(s(s(s(s(s(0))))))), T1769)
LOG2307_IN_GG(s(s(s(s(0)))), T1826) → U51_GG(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
LOG2307_IN_GG(s(s(s(s(0)))), T1826) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1826)
LOG2307_IN_GG(s(s(s(s(s(0))))), T1826) → U52_GG(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
LOG2307_IN_GG(s(s(s(s(s(0))))), T1826) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1826)
LOG2307_IN_GG(s(s(0)), T1844) → U53_GG(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
LOG2307_IN_GG(s(s(0)), T1844) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T1844)
LOG2307_IN_GG(s(s(s(0))), T1844) → U54_GG(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
LOG2307_IN_GG(s(s(s(0))), T1844) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T1844)
LOG2294_IN_GGG(s(0), s(T774), T775) → U18_GGG(T774, T775, log2307_in_gg(T774, T775))
LOG2294_IN_GGG(s(0), s(T774), T775) → LOG2307_IN_GG(T774, T775)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_GG(T1876, log21183_in_g(T1876))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → LOG21183_IN_G(T1876)
LOG21183_IN_G(T1899) → U55_G(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
LOG21183_IN_G(T1899) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1899)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_GG(T1876, log21183_in_g(T1876))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → LOG21183_IN_G(T1876)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_GG(T1920, log21249_in_g(T1920))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → LOG21249_IN_G(T1920)
LOG21249_IN_G(T1943) → U56_G(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
LOG21249_IN_G(T1943) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1943)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_GG(T1920, log21249_in_g(T1920))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → LOG21249_IN_G(T1920)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_GG(T1964, log21319_in_g(T1964))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1964) → LOG21319_IN_G(T1964)
LOG21319_IN_G(T1979) → U57_G(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
LOG21319_IN_G(T1979) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T1979)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_GG(T1964, log21319_in_g(T1964))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → LOG21319_IN_G(T1964)
LOG2257_IN_GG(s(s(s(s(s(s(0)))))), T1995) → U66_GG(T1995, log21370_in_g(T1995))
LOG2257_IN_GG(s(s(s(s(s(s(0)))))), T1995) → LOG21370_IN_G(T1995)
LOG21370_IN_G(T2010) → U58_G(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
LOG21370_IN_G(T2010) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T2010)
LOG2257_IN_GG(s(s(s(s(s(s(s(0))))))), T1995) → U67_GG(T1995, log21370_in_g(T1995))
LOG2257_IN_GG(s(s(s(s(s(s(s(0))))))), T1995) → LOG21370_IN_G(T1995)
LOG2257_IN_GG(s(s(s(s(0)))), T2024) → U68_GG(T2024, log21425_in_g(T2024))
LOG2257_IN_GG(s(s(s(s(0)))), T2024) → LOG21425_IN_G(T2024)
LOG2257_IN_GG(s(s(s(s(s(0))))), T2024) → U69_GG(T2024, log21425_in_g(T2024))
LOG2257_IN_GG(s(s(s(s(s(0))))), T2024) → LOG21425_IN_G(T2024)
LOG2257_IN_GG(s(s(0)), T2037) → U70_GG(T2037, log21462_in_g(T2037))
LOG2257_IN_GG(s(s(0)), T2037) → LOG21462_IN_G(T2037)
LOG2257_IN_GG(s(s(s(0))), T2037) → U71_GG(T2037, log21462_in_g(T2037))
LOG2257_IN_GG(s(s(s(0))), T2037) → LOG21462_IN_G(T2037)
LOG2244_IN_GGG(s(0), s(T649), T650) → U15_GGG(T649, T650, log2257_in_gg(T649, T650))
LOG2244_IN_GGG(s(0), s(T649), T650) → LOG2257_IN_GG(T649, T650)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_GG(T2064, log21540_in_g(T2064))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → LOG21540_IN_G(T2064)
LOG21540_IN_G(T2087) → U72_G(T2087, log21425_in_g(T2087))
LOG21540_IN_G(T2087) → LOG21425_IN_G(T2087)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_GG(T2064, log21540_in_g(T2064))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → LOG21540_IN_G(T2064)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_GG(T2108, log21606_in_g(T2108))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → LOG21606_IN_G(T2108)
LOG21606_IN_G(T2131) → U73_G(T2131, log21425_in_g(T2131))
LOG21606_IN_G(T2131) → LOG21425_IN_G(T2131)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_GG(T2108, log21606_in_g(T2108))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → LOG21606_IN_G(T2108)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_GG(T2152, log21676_in_g(T2152))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2152) → LOG21676_IN_G(T2152)
LOG21676_IN_G(T2167) → U74_G(T2167, log21462_in_g(T2167))
LOG21676_IN_G(T2167) → LOG21462_IN_G(T2167)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_GG(T2152, log21676_in_g(T2152))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → LOG21676_IN_G(T2152)
LOG2207_IN_GG(s(s(s(s(s(s(0)))))), T2183) → U83_GG(T2183, log21727_in_g(T2183))
LOG2207_IN_GG(s(s(s(s(s(s(0)))))), T2183) → LOG21727_IN_G(T2183)
LOG21727_IN_G(T2198) → U75_G(T2198, log21462_in_g(T2198))
LOG21727_IN_G(T2198) → LOG21462_IN_G(T2198)
LOG2207_IN_GG(s(s(s(s(s(s(s(0))))))), T2183) → U84_GG(T2183, log21727_in_g(T2183))
LOG2207_IN_GG(s(s(s(s(s(s(s(0))))))), T2183) → LOG21727_IN_G(T2183)
LOG2207_IN_GG(s(s(s(s(0)))), T2212) → U85_GG(T2212, log21782_in_g(T2212))
LOG2207_IN_GG(s(s(s(s(0)))), T2212) → LOG21782_IN_G(T2212)
LOG2207_IN_GG(s(s(s(s(s(0))))), T2212) → U86_GG(T2212, log21782_in_g(T2212))
LOG2207_IN_GG(s(s(s(s(s(0))))), T2212) → LOG21782_IN_G(T2212)
LOG2207_IN_GG(s(s(0)), T2225) → U87_GG(T2225, log21819_in_g(T2225))
LOG2207_IN_GG(s(s(0)), T2225) → LOG21819_IN_G(T2225)
LOG2207_IN_GG(s(s(s(0))), T2225) → U88_GG(T2225, log21819_in_g(T2225))
LOG2207_IN_GG(s(s(s(0))), T2225) → LOG21819_IN_G(T2225)
LOG2194_IN_GGG(s(0), s(T524), T525) → U12_GGG(T524, T525, log2207_in_gg(T524, T525))
LOG2194_IN_GGG(s(0), s(T524), T525) → LOG2207_IN_GG(T524, T525)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_GG(T2252, log21897_in_g(T2252))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → LOG21897_IN_G(T2252)
LOG21897_IN_G(T2275) → U89_G(T2275, log21782_in_g(T2275))
LOG21897_IN_G(T2275) → LOG21782_IN_G(T2275)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_GG(T2252, log21897_in_g(T2252))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → LOG21897_IN_G(T2252)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_GG(T2296, log21963_in_g(T2296))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → LOG21963_IN_G(T2296)
LOG21963_IN_G(T2319) → U90_G(T2319, log21782_in_g(T2319))
LOG21963_IN_G(T2319) → LOG21782_IN_G(T2319)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_GG(T2296, log21963_in_g(T2296))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → LOG21963_IN_G(T2296)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_GG(T2340, log22033_in_g(T2340))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2340) → LOG22033_IN_G(T2340)
LOG22033_IN_G(T2355) → U91_G(T2355, log21819_in_g(T2355))
LOG22033_IN_G(T2355) → LOG21819_IN_G(T2355)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_GG(T2340, log22033_in_g(T2340))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → LOG22033_IN_G(T2340)
LOG2157_IN_GG(s(s(s(s(s(s(0)))))), T2371) → U100_GG(T2371, log22084_in_g(T2371))
LOG2157_IN_GG(s(s(s(s(s(s(0)))))), T2371) → LOG22084_IN_G(T2371)
LOG22084_IN_G(T2386) → U92_G(T2386, log21819_in_g(T2386))
LOG22084_IN_G(T2386) → LOG21819_IN_G(T2386)
LOG2157_IN_GG(s(s(s(s(s(s(s(0))))))), T2371) → U101_GG(T2371, log22084_in_g(T2371))
LOG2157_IN_GG(s(s(s(s(s(s(s(0))))))), T2371) → LOG22084_IN_G(T2371)
LOG2157_IN_GG(s(s(s(s(0)))), T2400) → U102_GG(T2400, log22139_in_g(T2400))
LOG2157_IN_GG(s(s(s(s(0)))), T2400) → LOG22139_IN_G(T2400)
LOG2157_IN_GG(s(s(s(s(s(0))))), T2400) → U103_GG(T2400, log22139_in_g(T2400))
LOG2157_IN_GG(s(s(s(s(s(0))))), T2400) → LOG22139_IN_G(T2400)
LOG2157_IN_GG(s(s(0)), T2413) → U104_GG(T2413, log22176_in_g(T2413))
LOG2157_IN_GG(s(s(0)), T2413) → LOG22176_IN_G(T2413)
LOG2157_IN_GG(s(s(s(0))), T2413) → U105_GG(T2413, log22176_in_g(T2413))
LOG2157_IN_GG(s(s(s(0))), T2413) → LOG22176_IN_G(T2413)
LOG2144_IN_GGG(s(0), s(T399), T400) → U9_GGG(T399, T400, log2157_in_gg(T399, T400))
LOG2144_IN_GGG(s(0), s(T399), T400) → LOG2157_IN_GG(T399, T400)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_GG(T2440, log22254_in_g(T2440))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → LOG22254_IN_G(T2440)
LOG22254_IN_G(T2463) → U106_G(T2463, log22139_in_g(T2463))
LOG22254_IN_G(T2463) → LOG22139_IN_G(T2463)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_GG(T2440, log22254_in_g(T2440))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → LOG22254_IN_G(T2440)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_GG(T2484, log22320_in_g(T2484))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → LOG22320_IN_G(T2484)
LOG22320_IN_G(T2507) → U107_G(T2507, log22139_in_g(T2507))
LOG22320_IN_G(T2507) → LOG22139_IN_G(T2507)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_GG(T2484, log22320_in_g(T2484))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → LOG22320_IN_G(T2484)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_GG(T2528, log22390_in_g(T2528))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2528) → LOG22390_IN_G(T2528)
LOG22390_IN_G(T2543) → U108_G(T2543, log22176_in_g(T2543))
LOG22390_IN_G(T2543) → LOG22176_IN_G(T2543)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_GG(T2528, log22390_in_g(T2528))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → LOG22390_IN_G(T2528)
LOG2107_IN_GG(s(s(s(s(s(s(0)))))), T2559) → U117_GG(T2559, log22441_in_g(T2559))
LOG2107_IN_GG(s(s(s(s(s(s(0)))))), T2559) → LOG22441_IN_G(T2559)
LOG22441_IN_G(T2574) → U109_G(T2574, log22176_in_g(T2574))
LOG22441_IN_G(T2574) → LOG22176_IN_G(T2574)
LOG2107_IN_GG(s(s(s(s(s(s(s(0))))))), T2559) → U118_GG(T2559, log22441_in_g(T2559))
LOG2107_IN_GG(s(s(s(s(s(s(s(0))))))), T2559) → LOG22441_IN_G(T2559)
LOG2107_IN_GG(s(s(s(s(0)))), T2588) → U119_GG(T2588, log22496_in_g(T2588))
LOG2107_IN_GG(s(s(s(s(0)))), T2588) → LOG22496_IN_G(T2588)
LOG2107_IN_GG(s(s(s(s(s(0))))), T2588) → U120_GG(T2588, log22496_in_g(T2588))
LOG2107_IN_GG(s(s(s(s(s(0))))), T2588) → LOG22496_IN_G(T2588)
LOG2107_IN_GG(s(s(0)), T2601) → U121_GG(T2601, log22533_in_g(T2601))
LOG2107_IN_GG(s(s(0)), T2601) → LOG22533_IN_G(T2601)
LOG2107_IN_GG(s(s(s(0))), T2601) → U122_GG(T2601, log22533_in_g(T2601))
LOG2107_IN_GG(s(s(s(0))), T2601) → LOG22533_IN_G(T2601)
LOG294_IN_GGG(s(0), s(T274), T275) → U6_GGG(T274, T275, log2107_in_gg(T274, T275))
LOG294_IN_GGG(s(0), s(T274), T275) → LOG2107_IN_GG(T274, T275)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_GG(T2628, log22611_in_g(T2628))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → LOG22611_IN_G(T2628)
LOG22611_IN_G(T2651) → U123_G(T2651, log22496_in_g(T2651))
LOG22611_IN_G(T2651) → LOG22496_IN_G(T2651)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_GG(T2628, log22611_in_g(T2628))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → LOG22611_IN_G(T2628)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_GG(T2672, log22677_in_g(T2672))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → LOG22677_IN_G(T2672)
LOG22677_IN_G(T2695) → U124_G(T2695, log22496_in_g(T2695))
LOG22677_IN_G(T2695) → LOG22496_IN_G(T2695)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_GG(T2672, log22677_in_g(T2672))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → LOG22677_IN_G(T2672)
LOG257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_GG(T2716, log22747_in_g(T2716))
LOG257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2716) → LOG22747_IN_G(T2716)
LOG22747_IN_G(T2731) → U125_G(T2731, log22533_in_g(T2731))
LOG22747_IN_G(T2731) → LOG22533_IN_G(T2731)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_GG(T2716, log22747_in_g(T2716))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → LOG22747_IN_G(T2716)
LOG257_IN_GG(s(s(s(s(s(s(0)))))), T2747) → U134_GG(T2747, log22798_in_g(T2747))
LOG257_IN_GG(s(s(s(s(s(s(0)))))), T2747) → LOG22798_IN_G(T2747)
LOG22798_IN_G(T2762) → U126_G(T2762, log22533_in_g(T2762))
LOG22798_IN_G(T2762) → LOG22533_IN_G(T2762)
LOG257_IN_GG(s(s(s(s(s(s(s(0))))))), T2747) → U135_GG(T2747, log22798_in_g(T2747))
LOG257_IN_GG(s(s(s(s(s(s(s(0))))))), T2747) → LOG22798_IN_G(T2747)
LOG257_IN_GG(s(s(s(s(0)))), T2776) → U136_GG(T2776, log22853_in_g(T2776))
LOG257_IN_GG(s(s(s(s(0)))), T2776) → LOG22853_IN_G(T2776)
LOG257_IN_GG(s(s(s(s(s(0))))), T2776) → U137_GG(T2776, log22853_in_g(T2776))
LOG257_IN_GG(s(s(s(s(s(0))))), T2776) → LOG22853_IN_G(T2776)
LOG257_IN_GG(s(s(0)), T2789) → U138_GG(T2789, log22890_in_g(T2789))
LOG257_IN_GG(s(s(0)), T2789) → LOG22890_IN_G(T2789)
LOG257_IN_GG(s(s(s(0))), T2789) → U139_GG(T2789, log22890_in_g(T2789))
LOG257_IN_GG(s(s(s(0))), T2789) → LOG22890_IN_G(T2789)
LOG244_IN_AGG(s(0), s(T148), T149) → U3_AGG(T148, T149, log257_in_gg(T148, T149))
LOG244_IN_AGG(s(0), s(T148), T149) → LOG257_IN_GG(T148, T149)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_AG(T2819, log22968_in_g(T2819))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → LOG22968_IN_G(T2819)
LOG22968_IN_G(T2843) → U140_G(T2843, log22853_in_g(T2843))
LOG22968_IN_G(T2843) → LOG22853_IN_G(T2843)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_AG(T2819, log22968_in_g(T2819))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → LOG22968_IN_G(T2819)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_AG(T2867, log23034_in_g(T2867))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → LOG23034_IN_G(T2867)
LOG23034_IN_G(T2891) → U141_G(T2891, log22853_in_g(T2891))
LOG23034_IN_G(T2891) → LOG22853_IN_G(T2891)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_AG(T2867, log23034_in_g(T2867))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → LOG23034_IN_G(T2867)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_AG(T2915, log23104_in_g(T2915))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → LOG23104_IN_G(T2915)
LOG23104_IN_G(T2931) → U142_G(T2931, log22890_in_g(T2931))
LOG23104_IN_G(T2931) → LOG22890_IN_G(T2931)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_AG(T2915, log23104_in_g(T2915))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → LOG23104_IN_G(T2915)
LOG21_IN_AG(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_AG(T2950, log23155_in_g(T2950))
LOG21_IN_AG(s(s(s(s(s(s(s(s(0)))))))), T2950) → LOG23155_IN_G(T2950)
LOG23155_IN_G(T2966) → U143_G(T2966, log22890_in_g(T2966))
LOG23155_IN_G(T2966) → LOG22890_IN_G(T2966)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_AG(T2950, log23155_in_g(T2950))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → LOG23155_IN_G(T2950)
LOG21_IN_AG(s(s(s(s(s(s(0)))))), T2983) → U157_AG(T2983, log23210_in_g(T2983))
LOG21_IN_AG(s(s(s(s(s(s(0)))))), T2983) → LOG23210_IN_G(T2983)
LOG21_IN_AG(s(s(s(s(s(s(s(0))))))), T2983) → U158_AG(T2983, log23210_in_g(T2983))
LOG21_IN_AG(s(s(s(s(s(s(s(0))))))), T2983) → LOG23210_IN_G(T2983)
LOG21_IN_AG(s(s(s(s(0)))), T3000) → U159_AG(T3000, log23247_in_g(T3000))
LOG21_IN_AG(s(s(s(s(0)))), T3000) → LOG23247_IN_G(T3000)
LOG21_IN_AG(s(s(s(s(s(0))))), T3000) → U160_AG(T3000, log23247_in_g(T3000))
LOG21_IN_AG(s(s(s(s(s(0))))), T3000) → LOG23247_IN_G(T3000)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_AG(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → LOG244_IN_AGG(T109, s(s(s(s(s(s(s(0))))))), T108)
LOG244_IN_AGG(s(s(T131)), T129, T130) → U1_AGG(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
LOG244_IN_AGG(s(s(T131)), T129, T130) → LOG244_IN_AGG(T131, s(T129), T130)
LOG244_IN_AGG(0, s(T148), T149) → U2_AGG(T148, T149, log257_in_gg(T148, T149))
LOG244_IN_AGG(0, s(T148), T149) → LOG257_IN_GG(T148, T149)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_GG(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → LOG294_IN_GGG(T235, s(s(s(s(s(s(s(0))))))), T236)
LOG294_IN_GGG(s(s(T255)), T256, T257) → U4_GGG(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
LOG294_IN_GGG(s(s(T255)), T256, T257) → LOG294_IN_GGG(T255, s(T256), T257)
LOG294_IN_GGG(0, s(T274), T275) → U5_GGG(T274, T275, log2107_in_gg(T274, T275))
LOG294_IN_GGG(0, s(T274), T275) → LOG2107_IN_GG(T274, T275)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_GG(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → LOG2144_IN_GGG(T360, s(s(s(s(s(s(s(0))))))), T361)
LOG2144_IN_GGG(s(s(T380)), T381, T382) → U7_GGG(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
LOG2144_IN_GGG(s(s(T380)), T381, T382) → LOG2144_IN_GGG(T380, s(T381), T382)
LOG2144_IN_GGG(0, s(T399), T400) → U8_GGG(T399, T400, log2157_in_gg(T399, T400))
LOG2144_IN_GGG(0, s(T399), T400) → LOG2157_IN_GG(T399, T400)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_GG(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → LOG2194_IN_GGG(T485, s(s(s(s(s(s(s(0))))))), T486)
LOG2194_IN_GGG(s(s(T505)), T506, T507) → U10_GGG(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
LOG2194_IN_GGG(s(s(T505)), T506, T507) → LOG2194_IN_GGG(T505, s(T506), T507)
LOG2194_IN_GGG(0, s(T524), T525) → U11_GGG(T524, T525, log2207_in_gg(T524, T525))
LOG2194_IN_GGG(0, s(T524), T525) → LOG2207_IN_GG(T524, T525)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_GG(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → LOG2244_IN_GGG(T610, s(s(s(s(s(s(s(0))))))), T611)
LOG2244_IN_GGG(s(s(T630)), T631, T632) → U13_GGG(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
LOG2244_IN_GGG(s(s(T630)), T631, T632) → LOG2244_IN_GGG(T630, s(T631), T632)
LOG2244_IN_GGG(0, s(T649), T650) → U14_GGG(T649, T650, log2257_in_gg(T649, T650))
LOG2244_IN_GGG(0, s(T649), T650) → LOG2257_IN_GG(T649, T650)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_GG(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → LOG2294_IN_GGG(T735, s(s(s(s(s(s(s(0))))))), T736)
LOG2294_IN_GGG(s(s(T755)), T756, T757) → U16_GGG(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
LOG2294_IN_GGG(s(s(T755)), T756, T757) → LOG2294_IN_GGG(T755, s(T756), T757)
LOG2294_IN_GGG(0, s(T774), T775) → U17_GGG(T774, T775, log2307_in_gg(T774, T775))
LOG2294_IN_GGG(0, s(T774), T775) → LOG2307_IN_GG(T774, T775)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_GG(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → LOG2344_IN_GGG(T860, s(s(s(s(s(s(s(0))))))), T861)
LOG2344_IN_GGG(s(s(T880)), T881, T882) → U19_GGG(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
LOG2344_IN_GGG(s(s(T880)), T881, T882) → LOG2344_IN_GGG(T880, s(T881), T882)
LOG2344_IN_GGG(0, s(T899), T900) → U20_GGG(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
LOG2344_IN_GGG(0, s(T899), T900) → LOG2359_IN_GGG(T899, s(s(s(s(s(s(s(0))))))), T900)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_GGG(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → LOG2395_IN_GGGG(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → U22_GGGG(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → LOG2395_IN_GGGG(T1056, s(T1057), T1058, T1059)
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → U23_GGGG(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_GGG(T1119, T1120, log2437_in_gg(T1119, T1120))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → LOG2437_IN_GG(T1119, T1120)
LOG2437_IN_GG(T1167, T1168) → U38_GG(T1167, T1168, log2454_in_gg(T1167, T1168))
LOG2437_IN_GG(T1167, T1168) → LOG2454_IN_GG(T1167, T1168)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_GGG(T1119, T1120, log2437_in_gg(T1119, T1120))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → LOG2437_IN_GG(T1119, T1120)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_GGG(T1222, T1223, log2515_in_gg(T1222, T1223))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → LOG2515_IN_GG(T1222, T1223)
LOG2515_IN_GG(T1270, T1271) → U39_GG(T1270, T1271, log2454_in_gg(T1270, T1271))
LOG2515_IN_GG(T1270, T1271) → LOG2454_IN_GG(T1270, T1271)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_GGG(T1222, T1223, log2515_in_gg(T1222, T1223))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → LOG2515_IN_GG(T1222, T1223)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_GGG(T1323, T1324, log2585_in_gg(T1323, T1324))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → LOG2585_IN_GG(T1323, T1324)
LOG2585_IN_GG(T1355, T1356) → U40_GG(T1355, T1356, log2598_in_gg(T1355, T1356))
LOG2585_IN_GG(T1355, T1356) → LOG2598_IN_GG(T1355, T1356)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_GGG(T1323, T1324, log2585_in_gg(T1323, T1324))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → LOG2585_IN_GG(T1323, T1324)
LOG2359_IN_GGG(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_GGG(T1394, T1395, log2650_in_gg(T1394, T1395))
LOG2359_IN_GGG(s(s(s(s(s(s(0)))))), T1394, T1395) → LOG2650_IN_GG(T1394, T1395)
LOG2650_IN_GG(T1426, T1427) → U41_GG(T1426, T1427, log2598_in_gg(T1426, T1427))
LOG2650_IN_GG(T1426, T1427) → LOG2598_IN_GG(T1426, T1427)
LOG2359_IN_GGG(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_GGG(T1394, T1395, log2650_in_gg(T1394, T1395))
LOG2359_IN_GGG(s(s(s(s(s(s(s(0))))))), T1394, T1395) → LOG2650_IN_GG(T1394, T1395)
LOG2359_IN_GGG(s(s(s(s(0)))), T1461, T1462) → U34_GGG(T1461, T1462, log2705_in_gg(T1461, T1462))
LOG2359_IN_GGG(s(s(s(s(0)))), T1461, T1462) → LOG2705_IN_GG(T1461, T1462)
LOG2359_IN_GGG(s(s(s(s(s(0))))), T1461, T1462) → U35_GGG(T1461, T1462, log2705_in_gg(T1461, T1462))
LOG2359_IN_GGG(s(s(s(s(s(0))))), T1461, T1462) → LOG2705_IN_GG(T1461, T1462)
LOG2359_IN_GGG(s(s(0)), T1490, T1491) → U36_GGG(T1490, T1491, log2742_in_gg(T1490, T1491))
LOG2359_IN_GGG(s(s(0)), T1490, T1491) → LOG2742_IN_GG(T1490, T1491)
LOG2359_IN_GGG(s(s(s(0))), T1490, T1491) → U37_GGG(T1490, T1491, log2742_in_gg(T1490, T1491))
LOG2359_IN_GGG(s(s(s(0))), T1490, T1491) → LOG2742_IN_GG(T1490, T1491)
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → U24_GGGG(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2344_IN_GGG(s(0), s(T899), T900) → U21_GGG(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
LOG2344_IN_GGG(s(0), s(T899), T900) → LOG2359_IN_GGG(T899, s(s(s(s(s(s(s(0))))))), T900)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_GG(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → LOG2822_IN_GG(s(s(s(s(s(s(s(0))))))), T1530)
LOG2822_IN_GG(T1578, T1579) → U144_GG(T1578, T1579, log2705_in_gg(T1578, T1579))
LOG2822_IN_GG(T1578, T1579) → LOG2705_IN_GG(T1578, T1579)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_GG(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → LOG2822_IN_GG(s(s(s(s(s(s(s(0))))))), T1530)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_GG(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → LOG2889_IN_GG(s(s(s(s(s(s(s(0))))))), T1620)
LOG2889_IN_GG(T1668, T1669) → U145_GG(T1668, T1669, log2705_in_gg(T1668, T1669))
LOG2889_IN_GG(T1668, T1669) → LOG2705_IN_GG(T1668, T1669)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_GG(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → LOG2889_IN_GG(s(s(s(s(s(s(s(0))))))), T1620)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_GG(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1711) → LOG2960_IN_GG(s(s(s(s(s(s(s(0))))))), T1711)
LOG2960_IN_GG(T1743, T1744) → U146_GG(T1743, T1744, log2742_in_gg(T1743, T1744))
LOG2960_IN_GG(T1743, T1744) → LOG2742_IN_GG(T1743, T1744)
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_GG(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
LOG2307_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → LOG2960_IN_GG(s(s(s(s(s(s(s(0))))))), T1711)
LOG2307_IN_GG(s(s(s(s(s(s(0)))))), T1769) → U49_GG(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
LOG2307_IN_GG(s(s(s(s(s(s(0)))))), T1769) → LOG21012_IN_GG(s(s(s(s(s(s(s(0))))))), T1769)
LOG21012_IN_GG(T1801, T1802) → U147_GG(T1801, T1802, log2742_in_gg(T1801, T1802))
LOG21012_IN_GG(T1801, T1802) → LOG2742_IN_GG(T1801, T1802)
LOG2307_IN_GG(s(s(s(s(s(s(s(0))))))), T1769) → U50_GG(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
LOG2307_IN_GG(s(s(s(s(s(s(s(0))))))), T1769) → LOG21012_IN_GG(s(s(s(s(s(s(s(0))))))), T1769)
LOG2307_IN_GG(s(s(s(s(0)))), T1826) → U51_GG(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
LOG2307_IN_GG(s(s(s(s(0)))), T1826) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1826)
LOG2307_IN_GG(s(s(s(s(s(0))))), T1826) → U52_GG(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
LOG2307_IN_GG(s(s(s(s(s(0))))), T1826) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1826)
LOG2307_IN_GG(s(s(0)), T1844) → U53_GG(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
LOG2307_IN_GG(s(s(0)), T1844) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T1844)
LOG2307_IN_GG(s(s(s(0))), T1844) → U54_GG(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
LOG2307_IN_GG(s(s(s(0))), T1844) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T1844)
LOG2294_IN_GGG(s(0), s(T774), T775) → U18_GGG(T774, T775, log2307_in_gg(T774, T775))
LOG2294_IN_GGG(s(0), s(T774), T775) → LOG2307_IN_GG(T774, T775)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_GG(T1876, log21183_in_g(T1876))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → LOG21183_IN_G(T1876)
LOG21183_IN_G(T1899) → U55_G(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
LOG21183_IN_G(T1899) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1899)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_GG(T1876, log21183_in_g(T1876))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → LOG21183_IN_G(T1876)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_GG(T1920, log21249_in_g(T1920))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → LOG21249_IN_G(T1920)
LOG21249_IN_G(T1943) → U56_G(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
LOG21249_IN_G(T1943) → LOG21068_IN_GG(s(s(s(s(s(s(s(0))))))), T1943)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_GG(T1920, log21249_in_g(T1920))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → LOG21249_IN_G(T1920)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_GG(T1964, log21319_in_g(T1964))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T1964) → LOG21319_IN_G(T1964)
LOG21319_IN_G(T1979) → U57_G(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
LOG21319_IN_G(T1979) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T1979)
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_GG(T1964, log21319_in_g(T1964))
LOG2257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → LOG21319_IN_G(T1964)
LOG2257_IN_GG(s(s(s(s(s(s(0)))))), T1995) → U66_GG(T1995, log21370_in_g(T1995))
LOG2257_IN_GG(s(s(s(s(s(s(0)))))), T1995) → LOG21370_IN_G(T1995)
LOG21370_IN_G(T2010) → U58_G(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
LOG21370_IN_G(T2010) → LOG21106_IN_GG(s(s(s(s(s(s(s(0))))))), T2010)
LOG2257_IN_GG(s(s(s(s(s(s(s(0))))))), T1995) → U67_GG(T1995, log21370_in_g(T1995))
LOG2257_IN_GG(s(s(s(s(s(s(s(0))))))), T1995) → LOG21370_IN_G(T1995)
LOG2257_IN_GG(s(s(s(s(0)))), T2024) → U68_GG(T2024, log21425_in_g(T2024))
LOG2257_IN_GG(s(s(s(s(0)))), T2024) → LOG21425_IN_G(T2024)
LOG2257_IN_GG(s(s(s(s(s(0))))), T2024) → U69_GG(T2024, log21425_in_g(T2024))
LOG2257_IN_GG(s(s(s(s(s(0))))), T2024) → LOG21425_IN_G(T2024)
LOG2257_IN_GG(s(s(0)), T2037) → U70_GG(T2037, log21462_in_g(T2037))
LOG2257_IN_GG(s(s(0)), T2037) → LOG21462_IN_G(T2037)
LOG2257_IN_GG(s(s(s(0))), T2037) → U71_GG(T2037, log21462_in_g(T2037))
LOG2257_IN_GG(s(s(s(0))), T2037) → LOG21462_IN_G(T2037)
LOG2244_IN_GGG(s(0), s(T649), T650) → U15_GGG(T649, T650, log2257_in_gg(T649, T650))
LOG2244_IN_GGG(s(0), s(T649), T650) → LOG2257_IN_GG(T649, T650)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_GG(T2064, log21540_in_g(T2064))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → LOG21540_IN_G(T2064)
LOG21540_IN_G(T2087) → U72_G(T2087, log21425_in_g(T2087))
LOG21540_IN_G(T2087) → LOG21425_IN_G(T2087)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_GG(T2064, log21540_in_g(T2064))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → LOG21540_IN_G(T2064)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_GG(T2108, log21606_in_g(T2108))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → LOG21606_IN_G(T2108)
LOG21606_IN_G(T2131) → U73_G(T2131, log21425_in_g(T2131))
LOG21606_IN_G(T2131) → LOG21425_IN_G(T2131)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_GG(T2108, log21606_in_g(T2108))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → LOG21606_IN_G(T2108)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_GG(T2152, log21676_in_g(T2152))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2152) → LOG21676_IN_G(T2152)
LOG21676_IN_G(T2167) → U74_G(T2167, log21462_in_g(T2167))
LOG21676_IN_G(T2167) → LOG21462_IN_G(T2167)
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_GG(T2152, log21676_in_g(T2152))
LOG2207_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → LOG21676_IN_G(T2152)
LOG2207_IN_GG(s(s(s(s(s(s(0)))))), T2183) → U83_GG(T2183, log21727_in_g(T2183))
LOG2207_IN_GG(s(s(s(s(s(s(0)))))), T2183) → LOG21727_IN_G(T2183)
LOG21727_IN_G(T2198) → U75_G(T2198, log21462_in_g(T2198))
LOG21727_IN_G(T2198) → LOG21462_IN_G(T2198)
LOG2207_IN_GG(s(s(s(s(s(s(s(0))))))), T2183) → U84_GG(T2183, log21727_in_g(T2183))
LOG2207_IN_GG(s(s(s(s(s(s(s(0))))))), T2183) → LOG21727_IN_G(T2183)
LOG2207_IN_GG(s(s(s(s(0)))), T2212) → U85_GG(T2212, log21782_in_g(T2212))
LOG2207_IN_GG(s(s(s(s(0)))), T2212) → LOG21782_IN_G(T2212)
LOG2207_IN_GG(s(s(s(s(s(0))))), T2212) → U86_GG(T2212, log21782_in_g(T2212))
LOG2207_IN_GG(s(s(s(s(s(0))))), T2212) → LOG21782_IN_G(T2212)
LOG2207_IN_GG(s(s(0)), T2225) → U87_GG(T2225, log21819_in_g(T2225))
LOG2207_IN_GG(s(s(0)), T2225) → LOG21819_IN_G(T2225)
LOG2207_IN_GG(s(s(s(0))), T2225) → U88_GG(T2225, log21819_in_g(T2225))
LOG2207_IN_GG(s(s(s(0))), T2225) → LOG21819_IN_G(T2225)
LOG2194_IN_GGG(s(0), s(T524), T525) → U12_GGG(T524, T525, log2207_in_gg(T524, T525))
LOG2194_IN_GGG(s(0), s(T524), T525) → LOG2207_IN_GG(T524, T525)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_GG(T2252, log21897_in_g(T2252))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → LOG21897_IN_G(T2252)
LOG21897_IN_G(T2275) → U89_G(T2275, log21782_in_g(T2275))
LOG21897_IN_G(T2275) → LOG21782_IN_G(T2275)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_GG(T2252, log21897_in_g(T2252))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → LOG21897_IN_G(T2252)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_GG(T2296, log21963_in_g(T2296))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → LOG21963_IN_G(T2296)
LOG21963_IN_G(T2319) → U90_G(T2319, log21782_in_g(T2319))
LOG21963_IN_G(T2319) → LOG21782_IN_G(T2319)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_GG(T2296, log21963_in_g(T2296))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → LOG21963_IN_G(T2296)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_GG(T2340, log22033_in_g(T2340))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2340) → LOG22033_IN_G(T2340)
LOG22033_IN_G(T2355) → U91_G(T2355, log21819_in_g(T2355))
LOG22033_IN_G(T2355) → LOG21819_IN_G(T2355)
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_GG(T2340, log22033_in_g(T2340))
LOG2157_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → LOG22033_IN_G(T2340)
LOG2157_IN_GG(s(s(s(s(s(s(0)))))), T2371) → U100_GG(T2371, log22084_in_g(T2371))
LOG2157_IN_GG(s(s(s(s(s(s(0)))))), T2371) → LOG22084_IN_G(T2371)
LOG22084_IN_G(T2386) → U92_G(T2386, log21819_in_g(T2386))
LOG22084_IN_G(T2386) → LOG21819_IN_G(T2386)
LOG2157_IN_GG(s(s(s(s(s(s(s(0))))))), T2371) → U101_GG(T2371, log22084_in_g(T2371))
LOG2157_IN_GG(s(s(s(s(s(s(s(0))))))), T2371) → LOG22084_IN_G(T2371)
LOG2157_IN_GG(s(s(s(s(0)))), T2400) → U102_GG(T2400, log22139_in_g(T2400))
LOG2157_IN_GG(s(s(s(s(0)))), T2400) → LOG22139_IN_G(T2400)
LOG2157_IN_GG(s(s(s(s(s(0))))), T2400) → U103_GG(T2400, log22139_in_g(T2400))
LOG2157_IN_GG(s(s(s(s(s(0))))), T2400) → LOG22139_IN_G(T2400)
LOG2157_IN_GG(s(s(0)), T2413) → U104_GG(T2413, log22176_in_g(T2413))
LOG2157_IN_GG(s(s(0)), T2413) → LOG22176_IN_G(T2413)
LOG2157_IN_GG(s(s(s(0))), T2413) → U105_GG(T2413, log22176_in_g(T2413))
LOG2157_IN_GG(s(s(s(0))), T2413) → LOG22176_IN_G(T2413)
LOG2144_IN_GGG(s(0), s(T399), T400) → U9_GGG(T399, T400, log2157_in_gg(T399, T400))
LOG2144_IN_GGG(s(0), s(T399), T400) → LOG2157_IN_GG(T399, T400)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_GG(T2440, log22254_in_g(T2440))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → LOG22254_IN_G(T2440)
LOG22254_IN_G(T2463) → U106_G(T2463, log22139_in_g(T2463))
LOG22254_IN_G(T2463) → LOG22139_IN_G(T2463)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_GG(T2440, log22254_in_g(T2440))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → LOG22254_IN_G(T2440)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_GG(T2484, log22320_in_g(T2484))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → LOG22320_IN_G(T2484)
LOG22320_IN_G(T2507) → U107_G(T2507, log22139_in_g(T2507))
LOG22320_IN_G(T2507) → LOG22139_IN_G(T2507)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_GG(T2484, log22320_in_g(T2484))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → LOG22320_IN_G(T2484)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_GG(T2528, log22390_in_g(T2528))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2528) → LOG22390_IN_G(T2528)
LOG22390_IN_G(T2543) → U108_G(T2543, log22176_in_g(T2543))
LOG22390_IN_G(T2543) → LOG22176_IN_G(T2543)
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_GG(T2528, log22390_in_g(T2528))
LOG2107_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → LOG22390_IN_G(T2528)
LOG2107_IN_GG(s(s(s(s(s(s(0)))))), T2559) → U117_GG(T2559, log22441_in_g(T2559))
LOG2107_IN_GG(s(s(s(s(s(s(0)))))), T2559) → LOG22441_IN_G(T2559)
LOG22441_IN_G(T2574) → U109_G(T2574, log22176_in_g(T2574))
LOG22441_IN_G(T2574) → LOG22176_IN_G(T2574)
LOG2107_IN_GG(s(s(s(s(s(s(s(0))))))), T2559) → U118_GG(T2559, log22441_in_g(T2559))
LOG2107_IN_GG(s(s(s(s(s(s(s(0))))))), T2559) → LOG22441_IN_G(T2559)
LOG2107_IN_GG(s(s(s(s(0)))), T2588) → U119_GG(T2588, log22496_in_g(T2588))
LOG2107_IN_GG(s(s(s(s(0)))), T2588) → LOG22496_IN_G(T2588)
LOG2107_IN_GG(s(s(s(s(s(0))))), T2588) → U120_GG(T2588, log22496_in_g(T2588))
LOG2107_IN_GG(s(s(s(s(s(0))))), T2588) → LOG22496_IN_G(T2588)
LOG2107_IN_GG(s(s(0)), T2601) → U121_GG(T2601, log22533_in_g(T2601))
LOG2107_IN_GG(s(s(0)), T2601) → LOG22533_IN_G(T2601)
LOG2107_IN_GG(s(s(s(0))), T2601) → U122_GG(T2601, log22533_in_g(T2601))
LOG2107_IN_GG(s(s(s(0))), T2601) → LOG22533_IN_G(T2601)
LOG294_IN_GGG(s(0), s(T274), T275) → U6_GGG(T274, T275, log2107_in_gg(T274, T275))
LOG294_IN_GGG(s(0), s(T274), T275) → LOG2107_IN_GG(T274, T275)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_GG(T2628, log22611_in_g(T2628))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → LOG22611_IN_G(T2628)
LOG22611_IN_G(T2651) → U123_G(T2651, log22496_in_g(T2651))
LOG22611_IN_G(T2651) → LOG22496_IN_G(T2651)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_GG(T2628, log22611_in_g(T2628))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → LOG22611_IN_G(T2628)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_GG(T2672, log22677_in_g(T2672))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → LOG22677_IN_G(T2672)
LOG22677_IN_G(T2695) → U124_G(T2695, log22496_in_g(T2695))
LOG22677_IN_G(T2695) → LOG22496_IN_G(T2695)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_GG(T2672, log22677_in_g(T2672))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → LOG22677_IN_G(T2672)
LOG257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_GG(T2716, log22747_in_g(T2716))
LOG257_IN_GG(s(s(s(s(s(s(s(s(0)))))))), T2716) → LOG22747_IN_G(T2716)
LOG22747_IN_G(T2731) → U125_G(T2731, log22533_in_g(T2731))
LOG22747_IN_G(T2731) → LOG22533_IN_G(T2731)
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_GG(T2716, log22747_in_g(T2716))
LOG257_IN_GG(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → LOG22747_IN_G(T2716)
LOG257_IN_GG(s(s(s(s(s(s(0)))))), T2747) → U134_GG(T2747, log22798_in_g(T2747))
LOG257_IN_GG(s(s(s(s(s(s(0)))))), T2747) → LOG22798_IN_G(T2747)
LOG22798_IN_G(T2762) → U126_G(T2762, log22533_in_g(T2762))
LOG22798_IN_G(T2762) → LOG22533_IN_G(T2762)
LOG257_IN_GG(s(s(s(s(s(s(s(0))))))), T2747) → U135_GG(T2747, log22798_in_g(T2747))
LOG257_IN_GG(s(s(s(s(s(s(s(0))))))), T2747) → LOG22798_IN_G(T2747)
LOG257_IN_GG(s(s(s(s(0)))), T2776) → U136_GG(T2776, log22853_in_g(T2776))
LOG257_IN_GG(s(s(s(s(0)))), T2776) → LOG22853_IN_G(T2776)
LOG257_IN_GG(s(s(s(s(s(0))))), T2776) → U137_GG(T2776, log22853_in_g(T2776))
LOG257_IN_GG(s(s(s(s(s(0))))), T2776) → LOG22853_IN_G(T2776)
LOG257_IN_GG(s(s(0)), T2789) → U138_GG(T2789, log22890_in_g(T2789))
LOG257_IN_GG(s(s(0)), T2789) → LOG22890_IN_G(T2789)
LOG257_IN_GG(s(s(s(0))), T2789) → U139_GG(T2789, log22890_in_g(T2789))
LOG257_IN_GG(s(s(s(0))), T2789) → LOG22890_IN_G(T2789)
LOG244_IN_AGG(s(0), s(T148), T149) → U3_AGG(T148, T149, log257_in_gg(T148, T149))
LOG244_IN_AGG(s(0), s(T148), T149) → LOG257_IN_GG(T148, T149)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_AG(T2819, log22968_in_g(T2819))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → LOG22968_IN_G(T2819)
LOG22968_IN_G(T2843) → U140_G(T2843, log22853_in_g(T2843))
LOG22968_IN_G(T2843) → LOG22853_IN_G(T2843)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_AG(T2819, log22968_in_g(T2819))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → LOG22968_IN_G(T2819)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_AG(T2867, log23034_in_g(T2867))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → LOG23034_IN_G(T2867)
LOG23034_IN_G(T2891) → U141_G(T2891, log22853_in_g(T2891))
LOG23034_IN_G(T2891) → LOG22853_IN_G(T2891)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_AG(T2867, log23034_in_g(T2867))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → LOG23034_IN_G(T2867)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_AG(T2915, log23104_in_g(T2915))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → LOG23104_IN_G(T2915)
LOG23104_IN_G(T2931) → U142_G(T2931, log22890_in_g(T2931))
LOG23104_IN_G(T2931) → LOG22890_IN_G(T2931)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_AG(T2915, log23104_in_g(T2915))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → LOG23104_IN_G(T2915)
LOG21_IN_AG(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_AG(T2950, log23155_in_g(T2950))
LOG21_IN_AG(s(s(s(s(s(s(s(s(0)))))))), T2950) → LOG23155_IN_G(T2950)
LOG23155_IN_G(T2966) → U143_G(T2966, log22890_in_g(T2966))
LOG23155_IN_G(T2966) → LOG22890_IN_G(T2966)
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_AG(T2950, log23155_in_g(T2950))
LOG21_IN_AG(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → LOG23155_IN_G(T2950)
LOG21_IN_AG(s(s(s(s(s(s(0)))))), T2983) → U157_AG(T2983, log23210_in_g(T2983))
LOG21_IN_AG(s(s(s(s(s(s(0)))))), T2983) → LOG23210_IN_G(T2983)
LOG21_IN_AG(s(s(s(s(s(s(s(0))))))), T2983) → U158_AG(T2983, log23210_in_g(T2983))
LOG21_IN_AG(s(s(s(s(s(s(s(0))))))), T2983) → LOG23210_IN_G(T2983)
LOG21_IN_AG(s(s(s(s(0)))), T3000) → U159_AG(T3000, log23247_in_g(T3000))
LOG21_IN_AG(s(s(s(s(0)))), T3000) → LOG23247_IN_G(T3000)
LOG21_IN_AG(s(s(s(s(s(0))))), T3000) → U160_AG(T3000, log23247_in_g(T3000))
LOG21_IN_AG(s(s(s(s(s(0))))), T3000) → LOG23247_IN_G(T3000)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → LOG2395_IN_GGGG(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → LOG2395_IN_GGGG(T1056, s(T1057), T1058, T1059)
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → LOG2395_IN_GGGG(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → LOG2395_IN_GGGG(T1056, s(T1057), T1058, T1059)
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → LOG2395_IN_GGGG(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → LOG2395_IN_GGGG(T1056, s(T1057), T1058, T1059)
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2359_IN_GGG(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → LOG2395_IN_GGGG(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)
LOG2395_IN_GGGG(s(s(T1056)), T1057, T1058, T1059) → LOG2395_IN_GGGG(T1056, s(T1057), T1058, T1059)
LOG2395_IN_GGGG(0, s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
LOG2395_IN_GGGG(s(0), s(T1081), T1082, T1083) → LOG2359_IN_GGG(T1081, s(T1082), T1083)
POL(0) = 0
POL(LOG2359_IN_GGG(x1, x2, x3)) = x1 + x2 + x3
POL(LOG2395_IN_GGGG(x1, x2, x3, x4)) = 1 + x1 + x2 + x3 + x4
POL(s(x1)) = 1 + x1
LOG2344_IN_GGG(s(s(T880)), T881, T882) → LOG2344_IN_GGG(T880, s(T881), T882)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2344_IN_GGG(s(s(T880)), T881, T882) → LOG2344_IN_GGG(T880, s(T881), T882)
LOG2344_IN_GGG(s(s(T880)), T881, T882) → LOG2344_IN_GGG(T880, s(T881), T882)
From the DPs we obtained the following set of size-change graphs:
LOG2294_IN_GGG(s(s(T755)), T756, T757) → LOG2294_IN_GGG(T755, s(T756), T757)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2294_IN_GGG(s(s(T755)), T756, T757) → LOG2294_IN_GGG(T755, s(T756), T757)
LOG2294_IN_GGG(s(s(T755)), T756, T757) → LOG2294_IN_GGG(T755, s(T756), T757)
From the DPs we obtained the following set of size-change graphs:
LOG2244_IN_GGG(s(s(T630)), T631, T632) → LOG2244_IN_GGG(T630, s(T631), T632)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2244_IN_GGG(s(s(T630)), T631, T632) → LOG2244_IN_GGG(T630, s(T631), T632)
LOG2244_IN_GGG(s(s(T630)), T631, T632) → LOG2244_IN_GGG(T630, s(T631), T632)
From the DPs we obtained the following set of size-change graphs:
LOG2194_IN_GGG(s(s(T505)), T506, T507) → LOG2194_IN_GGG(T505, s(T506), T507)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2194_IN_GGG(s(s(T505)), T506, T507) → LOG2194_IN_GGG(T505, s(T506), T507)
LOG2194_IN_GGG(s(s(T505)), T506, T507) → LOG2194_IN_GGG(T505, s(T506), T507)
From the DPs we obtained the following set of size-change graphs:
LOG2144_IN_GGG(s(s(T380)), T381, T382) → LOG2144_IN_GGG(T380, s(T381), T382)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG2144_IN_GGG(s(s(T380)), T381, T382) → LOG2144_IN_GGG(T380, s(T381), T382)
LOG2144_IN_GGG(s(s(T380)), T381, T382) → LOG2144_IN_GGG(T380, s(T381), T382)
From the DPs we obtained the following set of size-change graphs:
LOG294_IN_GGG(s(s(T255)), T256, T257) → LOG294_IN_GGG(T255, s(T256), T257)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG294_IN_GGG(s(s(T255)), T256, T257) → LOG294_IN_GGG(T255, s(T256), T257)
LOG294_IN_GGG(s(s(T255)), T256, T257) → LOG294_IN_GGG(T255, s(T256), T257)
From the DPs we obtained the following set of size-change graphs:
LOG244_IN_AGG(s(s(T131)), T129, T130) → LOG244_IN_AGG(T131, s(T129), T130)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108) → U148_ag(T109, T108, log244_in_agg(T109, s(s(s(s(s(s(s(0))))))), T108))
log244_in_agg(s(s(T131)), T129, T130) → U1_agg(T131, T129, T130, log244_in_agg(T131, s(T129), T130))
log244_in_agg(0, s(T148), T149) → U2_agg(T148, T149, log257_in_gg(T148, T149))
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236) → U127_gg(T235, T236, log294_in_ggg(T235, s(s(s(s(s(s(s(0))))))), T236))
log294_in_ggg(s(s(T255)), T256, T257) → U4_ggg(T255, T256, T257, log294_in_ggg(T255, s(T256), T257))
log294_in_ggg(0, s(T274), T275) → U5_ggg(T274, T275, log2107_in_gg(T274, T275))
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361) → U110_gg(T360, T361, log2144_in_ggg(T360, s(s(s(s(s(s(s(0))))))), T361))
log2144_in_ggg(s(s(T380)), T381, T382) → U7_ggg(T380, T381, T382, log2144_in_ggg(T380, s(T381), T382))
log2144_in_ggg(0, s(T399), T400) → U8_ggg(T399, T400, log2157_in_gg(T399, T400))
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486) → U93_gg(T485, T486, log2194_in_ggg(T485, s(s(s(s(s(s(s(0))))))), T486))
log2194_in_ggg(s(s(T505)), T506, T507) → U10_ggg(T505, T506, T507, log2194_in_ggg(T505, s(T506), T507))
log2194_in_ggg(0, s(T524), T525) → U11_ggg(T524, T525, log2207_in_gg(T524, T525))
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611) → U76_gg(T610, T611, log2244_in_ggg(T610, s(s(s(s(s(s(s(0))))))), T611))
log2244_in_ggg(s(s(T630)), T631, T632) → U13_ggg(T630, T631, T632, log2244_in_ggg(T630, s(T631), T632))
log2244_in_ggg(0, s(T649), T650) → U14_ggg(T649, T650, log2257_in_gg(T649, T650))
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736) → U59_gg(T735, T736, log2294_in_ggg(T735, s(s(s(s(s(s(s(0))))))), T736))
log2294_in_ggg(s(s(T755)), T756, T757) → U16_ggg(T755, T756, T757, log2294_in_ggg(T755, s(T756), T757))
log2294_in_ggg(0, s(T774), T775) → U17_ggg(T774, T775, log2307_in_gg(T774, T775))
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861) → U42_gg(T860, T861, log2344_in_ggg(T860, s(s(s(s(s(s(s(0))))))), T861))
log2344_in_ggg(s(s(T880)), T881, T882) → U19_ggg(T880, T881, T882, log2344_in_ggg(T880, s(T881), T882))
log2344_in_ggg(0, s(T899), T900) → U20_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031) → U25_ggg(T1029, T1030, T1031, log2395_in_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031))
log2395_in_gggg(s(s(T1056)), T1057, T1058, T1059) → U22_gggg(T1056, T1057, T1058, T1059, log2395_in_gggg(T1056, s(T1057), T1058, T1059))
log2395_in_gggg(0, s(T1081), T1082, T1083) → U23_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120) → U26_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
log2437_in_gg(T1167, T1168) → U38_gg(T1167, T1168, log2454_in_gg(T1167, T1168))
log2454_in_gg(T1174, s(s(s(T1174)))) → log2454_out_gg(T1174, s(s(s(T1174))))
U38_gg(T1167, T1168, log2454_out_gg(T1167, T1168)) → log2437_out_gg(T1167, T1168)
U26_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120) → U27_ggg(T1119, T1120, log2437_in_gg(T1119, T1120))
U27_ggg(T1119, T1120, log2437_out_gg(T1119, T1120)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1119, T1120)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223) → U28_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
log2515_in_gg(T1270, T1271) → U39_gg(T1270, T1271, log2454_in_gg(T1270, T1271))
U39_gg(T1270, T1271, log2454_out_gg(T1270, T1271)) → log2515_out_gg(T1270, T1271)
U28_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223) → U29_ggg(T1222, T1223, log2515_in_gg(T1222, T1223))
U29_ggg(T1222, T1223, log2515_out_gg(T1222, T1223)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1222, T1223)
log2359_in_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324) → U30_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
log2585_in_gg(T1355, T1356) → U40_gg(T1355, T1356, log2598_in_gg(T1355, T1356))
log2598_in_gg(T1362, s(s(s(T1362)))) → log2598_out_gg(T1362, s(s(s(T1362))))
U40_gg(T1355, T1356, log2598_out_gg(T1355, T1356)) → log2585_out_gg(T1355, T1356)
U30_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(0)))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324) → U31_ggg(T1323, T1324, log2585_in_gg(T1323, T1324))
U31_ggg(T1323, T1324, log2585_out_gg(T1323, T1324)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(0))))))))), T1323, T1324)
log2359_in_ggg(s(s(s(s(s(s(0)))))), T1394, T1395) → U32_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
log2650_in_gg(T1426, T1427) → U41_gg(T1426, T1427, log2598_in_gg(T1426, T1427))
U41_gg(T1426, T1427, log2598_out_gg(T1426, T1427)) → log2650_out_gg(T1426, T1427)
U32_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(0)))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395) → U33_ggg(T1394, T1395, log2650_in_gg(T1394, T1395))
U33_ggg(T1394, T1395, log2650_out_gg(T1394, T1395)) → log2359_out_ggg(s(s(s(s(s(s(s(0))))))), T1394, T1395)
log2359_in_ggg(s(s(s(s(0)))), T1461, T1462) → U34_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
log2705_in_gg(T1467, s(s(T1467))) → log2705_out_gg(T1467, s(s(T1467)))
U34_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(0)))), T1461, T1462)
log2359_in_ggg(s(s(s(s(s(0))))), T1461, T1462) → U35_ggg(T1461, T1462, log2705_in_gg(T1461, T1462))
U35_ggg(T1461, T1462, log2705_out_gg(T1461, T1462)) → log2359_out_ggg(s(s(s(s(s(0))))), T1461, T1462)
log2359_in_ggg(s(s(0)), T1490, T1491) → U36_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
log2742_in_gg(T1496, s(s(T1496))) → log2742_out_gg(T1496, s(s(T1496)))
U36_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(0)), T1490, T1491)
log2359_in_ggg(s(s(s(0))), T1490, T1491) → U37_ggg(T1490, T1491, log2742_in_gg(T1490, T1491))
U37_ggg(T1490, T1491, log2742_out_gg(T1490, T1491)) → log2359_out_ggg(s(s(s(0))), T1490, T1491)
log2359_in_ggg(0, T1510, s(T1510)) → log2359_out_ggg(0, T1510, s(T1510))
log2359_in_ggg(s(0), T1510, s(T1510)) → log2359_out_ggg(s(0), T1510, s(T1510))
U23_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(0, s(T1081), T1082, T1083)
log2395_in_gggg(s(0), s(T1081), T1082, T1083) → U24_gggg(T1081, T1082, T1083, log2359_in_ggg(T1081, s(T1082), T1083))
U24_gggg(T1081, T1082, T1083, log2359_out_ggg(T1081, s(T1082), T1083)) → log2395_out_gggg(s(0), s(T1081), T1082, T1083)
log2395_in_gggg(0, 0, T1101, s(T1101)) → log2395_out_gggg(0, 0, T1101, s(T1101))
log2395_in_gggg(s(0), 0, T1101, s(T1101)) → log2395_out_gggg(s(0), 0, T1101, s(T1101))
U22_gggg(T1056, T1057, T1058, T1059, log2395_out_gggg(T1056, s(T1057), T1058, T1059)) → log2395_out_gggg(s(s(T1056)), T1057, T1058, T1059)
U25_ggg(T1029, T1030, T1031, log2395_out_gggg(T1029, s(s(s(s(s(s(s(0))))))), T1030, T1031)) → log2359_out_ggg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T1029)))))))))))))), T1030, T1031)
U20_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(0, s(T899), T900)
log2344_in_ggg(s(0), s(T899), T900) → U21_ggg(T899, T900, log2359_in_ggg(T899, s(s(s(s(s(s(s(0))))))), T900))
U21_ggg(T899, T900, log2359_out_ggg(T899, s(s(s(s(s(s(s(0))))))), T900)) → log2344_out_ggg(s(0), s(T899), T900)
log2344_in_ggg(0, 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(0, 0, s(s(s(s(s(s(s(0))))))))
log2344_in_ggg(s(0), 0, s(s(s(s(s(s(s(0)))))))) → log2344_out_ggg(s(0), 0, s(s(s(s(s(s(s(0))))))))
U19_ggg(T880, T881, T882, log2344_out_ggg(T880, s(T881), T882)) → log2344_out_ggg(s(s(T880)), T881, T882)
U42_gg(T860, T861, log2344_out_ggg(T860, s(s(s(s(s(s(s(0))))))), T861)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T860)))))))))))))), T861)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530) → U43_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
log2822_in_gg(T1578, T1579) → U144_gg(T1578, T1579, log2705_in_gg(T1578, T1579))
U144_gg(T1578, T1579, log2705_out_gg(T1578, T1579)) → log2822_out_gg(T1578, T1579)
U43_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530) → U44_gg(T1530, log2822_in_gg(s(s(s(s(s(s(s(0))))))), T1530))
U44_gg(T1530, log2822_out_gg(s(s(s(s(s(s(s(0))))))), T1530)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1530)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620) → U45_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
log2889_in_gg(T1668, T1669) → U145_gg(T1668, T1669, log2705_in_gg(T1668, T1669))
U145_gg(T1668, T1669, log2705_out_gg(T1668, T1669)) → log2889_out_gg(T1668, T1669)
U45_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620) → U46_gg(T1620, log2889_in_gg(s(s(s(s(s(s(s(0))))))), T1620))
U46_gg(T1620, log2889_out_gg(s(s(s(s(s(s(s(0))))))), T1620)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1620)
log2307_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1711) → U47_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
log2960_in_gg(T1743, T1744) → U146_gg(T1743, T1744, log2742_in_gg(T1743, T1744))
U146_gg(T1743, T1744, log2742_out_gg(T1743, T1744)) → log2960_out_gg(T1743, T1744)
U47_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711) → U48_gg(T1711, log2960_in_gg(s(s(s(s(s(s(s(0))))))), T1711))
U48_gg(T1711, log2960_out_gg(s(s(s(s(s(s(s(0))))))), T1711)) → log2307_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1711)
log2307_in_gg(s(s(s(s(s(s(0)))))), T1769) → U49_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
log21012_in_gg(T1801, T1802) → U147_gg(T1801, T1802, log2742_in_gg(T1801, T1802))
U147_gg(T1801, T1802, log2742_out_gg(T1801, T1802)) → log21012_out_gg(T1801, T1802)
U49_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(0)))))), T1769)
log2307_in_gg(s(s(s(s(s(s(s(0))))))), T1769) → U50_gg(T1769, log21012_in_gg(s(s(s(s(s(s(s(0))))))), T1769))
U50_gg(T1769, log21012_out_gg(s(s(s(s(s(s(s(0))))))), T1769)) → log2307_out_gg(s(s(s(s(s(s(s(0))))))), T1769)
log2307_in_gg(s(s(s(s(0)))), T1826) → U51_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
log21068_in_gg(T1831, s(T1831)) → log21068_out_gg(T1831, s(T1831))
U51_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(0)))), T1826)
log2307_in_gg(s(s(s(s(s(0))))), T1826) → U52_gg(T1826, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1826))
U52_gg(T1826, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1826)) → log2307_out_gg(s(s(s(s(s(0))))), T1826)
log2307_in_gg(s(s(0)), T1844) → U53_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
log21106_in_gg(T1849, s(T1849)) → log21106_out_gg(T1849, s(T1849))
U53_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(0)), T1844)
log2307_in_gg(s(s(s(0))), T1844) → U54_gg(T1844, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1844))
U54_gg(T1844, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1844)) → log2307_out_gg(s(s(s(0))), T1844)
log2307_in_gg(0, s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(0, s(s(s(s(s(s(s(0))))))))
log2307_in_gg(s(0), s(s(s(s(s(s(s(0)))))))) → log2307_out_gg(s(0), s(s(s(s(s(s(s(0))))))))
U17_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(0, s(T774), T775)
log2294_in_ggg(s(0), s(T774), T775) → U18_ggg(T774, T775, log2307_in_gg(T774, T775))
U18_ggg(T774, T775, log2307_out_gg(T774, T775)) → log2294_out_ggg(s(0), s(T774), T775)
log2294_in_ggg(0, 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(0, 0, s(s(s(s(s(s(0)))))))
log2294_in_ggg(s(0), 0, s(s(s(s(s(s(0))))))) → log2294_out_ggg(s(0), 0, s(s(s(s(s(s(0)))))))
U16_ggg(T755, T756, T757, log2294_out_ggg(T755, s(T756), T757)) → log2294_out_ggg(s(s(T755)), T756, T757)
U59_gg(T735, T736, log2294_out_ggg(T735, s(s(s(s(s(s(s(0))))))), T736)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T735)))))))))))))), T736)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876) → U60_gg(T1876, log21183_in_g(T1876))
log21183_in_g(T1899) → U55_g(T1899, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1899))
U55_g(T1899, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1899)) → log21183_out_g(T1899)
U60_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876) → U61_gg(T1876, log21183_in_g(T1876))
U61_gg(T1876, log21183_out_g(T1876)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T1876)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920) → U62_gg(T1920, log21249_in_g(T1920))
log21249_in_g(T1943) → U56_g(T1943, log21068_in_gg(s(s(s(s(s(s(s(0))))))), T1943))
U56_g(T1943, log21068_out_gg(s(s(s(s(s(s(s(0))))))), T1943)) → log21249_out_g(T1943)
U62_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920) → U63_gg(T1920, log21249_in_g(T1920))
U63_gg(T1920, log21249_out_g(T1920)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T1920)
log2257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T1964) → U64_gg(T1964, log21319_in_g(T1964))
log21319_in_g(T1979) → U57_g(T1979, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T1979))
U57_g(T1979, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T1979)) → log21319_out_g(T1979)
U64_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964) → U65_gg(T1964, log21319_in_g(T1964))
U65_gg(T1964, log21319_out_g(T1964)) → log2257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T1964)
log2257_in_gg(s(s(s(s(s(s(0)))))), T1995) → U66_gg(T1995, log21370_in_g(T1995))
log21370_in_g(T2010) → U58_g(T2010, log21106_in_gg(s(s(s(s(s(s(s(0))))))), T2010))
U58_g(T2010, log21106_out_gg(s(s(s(s(s(s(s(0))))))), T2010)) → log21370_out_g(T2010)
U66_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(0)))))), T1995)
log2257_in_gg(s(s(s(s(s(s(s(0))))))), T1995) → U67_gg(T1995, log21370_in_g(T1995))
U67_gg(T1995, log21370_out_g(T1995)) → log2257_out_gg(s(s(s(s(s(s(s(0))))))), T1995)
log2257_in_gg(s(s(s(s(0)))), T2024) → U68_gg(T2024, log21425_in_g(T2024))
log21425_in_g(s(s(s(s(s(s(s(0)))))))) → log21425_out_g(s(s(s(s(s(s(s(0))))))))
U68_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(0)))), T2024)
log2257_in_gg(s(s(s(s(s(0))))), T2024) → U69_gg(T2024, log21425_in_g(T2024))
U69_gg(T2024, log21425_out_g(T2024)) → log2257_out_gg(s(s(s(s(s(0))))), T2024)
log2257_in_gg(s(s(0)), T2037) → U70_gg(T2037, log21462_in_g(T2037))
log21462_in_g(s(s(s(s(s(s(s(0)))))))) → log21462_out_g(s(s(s(s(s(s(s(0))))))))
U70_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(0)), T2037)
log2257_in_gg(s(s(s(0))), T2037) → U71_gg(T2037, log21462_in_g(T2037))
U71_gg(T2037, log21462_out_g(T2037)) → log2257_out_gg(s(s(s(0))), T2037)
log2257_in_gg(0, s(s(s(s(s(s(0))))))) → log2257_out_gg(0, s(s(s(s(s(s(0)))))))
log2257_in_gg(s(0), s(s(s(s(s(s(0))))))) → log2257_out_gg(s(0), s(s(s(s(s(s(0)))))))
U14_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(0, s(T649), T650)
log2244_in_ggg(s(0), s(T649), T650) → U15_ggg(T649, T650, log2257_in_gg(T649, T650))
U15_ggg(T649, T650, log2257_out_gg(T649, T650)) → log2244_out_ggg(s(0), s(T649), T650)
log2244_in_ggg(0, 0, s(s(s(s(s(0)))))) → log2244_out_ggg(0, 0, s(s(s(s(s(0))))))
log2244_in_ggg(s(0), 0, s(s(s(s(s(0)))))) → log2244_out_ggg(s(0), 0, s(s(s(s(s(0))))))
U13_ggg(T630, T631, T632, log2244_out_ggg(T630, s(T631), T632)) → log2244_out_ggg(s(s(T630)), T631, T632)
U76_gg(T610, T611, log2244_out_ggg(T610, s(s(s(s(s(s(s(0))))))), T611)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T610)))))))))))))), T611)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064) → U77_gg(T2064, log21540_in_g(T2064))
log21540_in_g(T2087) → U72_g(T2087, log21425_in_g(T2087))
U72_g(T2087, log21425_out_g(T2087)) → log21540_out_g(T2087)
U77_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064) → U78_gg(T2064, log21540_in_g(T2064))
U78_gg(T2064, log21540_out_g(T2064)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2064)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108) → U79_gg(T2108, log21606_in_g(T2108))
log21606_in_g(T2131) → U73_g(T2131, log21425_in_g(T2131))
U73_g(T2131, log21425_out_g(T2131)) → log21606_out_g(T2131)
U79_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108) → U80_gg(T2108, log21606_in_g(T2108))
U80_gg(T2108, log21606_out_g(T2108)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2108)
log2207_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2152) → U81_gg(T2152, log21676_in_g(T2152))
log21676_in_g(T2167) → U74_g(T2167, log21462_in_g(T2167))
U74_g(T2167, log21462_out_g(T2167)) → log21676_out_g(T2167)
U81_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152) → U82_gg(T2152, log21676_in_g(T2152))
U82_gg(T2152, log21676_out_g(T2152)) → log2207_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2152)
log2207_in_gg(s(s(s(s(s(s(0)))))), T2183) → U83_gg(T2183, log21727_in_g(T2183))
log21727_in_g(T2198) → U75_g(T2198, log21462_in_g(T2198))
U75_g(T2198, log21462_out_g(T2198)) → log21727_out_g(T2198)
U83_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(0)))))), T2183)
log2207_in_gg(s(s(s(s(s(s(s(0))))))), T2183) → U84_gg(T2183, log21727_in_g(T2183))
U84_gg(T2183, log21727_out_g(T2183)) → log2207_out_gg(s(s(s(s(s(s(s(0))))))), T2183)
log2207_in_gg(s(s(s(s(0)))), T2212) → U85_gg(T2212, log21782_in_g(T2212))
log21782_in_g(s(s(s(s(s(s(0))))))) → log21782_out_g(s(s(s(s(s(s(0)))))))
U85_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(0)))), T2212)
log2207_in_gg(s(s(s(s(s(0))))), T2212) → U86_gg(T2212, log21782_in_g(T2212))
U86_gg(T2212, log21782_out_g(T2212)) → log2207_out_gg(s(s(s(s(s(0))))), T2212)
log2207_in_gg(s(s(0)), T2225) → U87_gg(T2225, log21819_in_g(T2225))
log21819_in_g(s(s(s(s(s(s(0))))))) → log21819_out_g(s(s(s(s(s(s(0)))))))
U87_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(0)), T2225)
log2207_in_gg(s(s(s(0))), T2225) → U88_gg(T2225, log21819_in_g(T2225))
U88_gg(T2225, log21819_out_g(T2225)) → log2207_out_gg(s(s(s(0))), T2225)
log2207_in_gg(0, s(s(s(s(s(0)))))) → log2207_out_gg(0, s(s(s(s(s(0))))))
log2207_in_gg(s(0), s(s(s(s(s(0)))))) → log2207_out_gg(s(0), s(s(s(s(s(0))))))
U11_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(0, s(T524), T525)
log2194_in_ggg(s(0), s(T524), T525) → U12_ggg(T524, T525, log2207_in_gg(T524, T525))
U12_ggg(T524, T525, log2207_out_gg(T524, T525)) → log2194_out_ggg(s(0), s(T524), T525)
log2194_in_ggg(0, 0, s(s(s(s(0))))) → log2194_out_ggg(0, 0, s(s(s(s(0)))))
log2194_in_ggg(s(0), 0, s(s(s(s(0))))) → log2194_out_ggg(s(0), 0, s(s(s(s(0)))))
U10_ggg(T505, T506, T507, log2194_out_ggg(T505, s(T506), T507)) → log2194_out_ggg(s(s(T505)), T506, T507)
U93_gg(T485, T486, log2194_out_ggg(T485, s(s(s(s(s(s(s(0))))))), T486)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T485)))))))))))))), T486)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252) → U94_gg(T2252, log21897_in_g(T2252))
log21897_in_g(T2275) → U89_g(T2275, log21782_in_g(T2275))
U89_g(T2275, log21782_out_g(T2275)) → log21897_out_g(T2275)
U94_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252) → U95_gg(T2252, log21897_in_g(T2252))
U95_gg(T2252, log21897_out_g(T2252)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2252)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296) → U96_gg(T2296, log21963_in_g(T2296))
log21963_in_g(T2319) → U90_g(T2319, log21782_in_g(T2319))
U90_g(T2319, log21782_out_g(T2319)) → log21963_out_g(T2319)
U96_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296) → U97_gg(T2296, log21963_in_g(T2296))
U97_gg(T2296, log21963_out_g(T2296)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2296)
log2157_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2340) → U98_gg(T2340, log22033_in_g(T2340))
log22033_in_g(T2355) → U91_g(T2355, log21819_in_g(T2355))
U91_g(T2355, log21819_out_g(T2355)) → log22033_out_g(T2355)
U98_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340) → U99_gg(T2340, log22033_in_g(T2340))
U99_gg(T2340, log22033_out_g(T2340)) → log2157_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2340)
log2157_in_gg(s(s(s(s(s(s(0)))))), T2371) → U100_gg(T2371, log22084_in_g(T2371))
log22084_in_g(T2386) → U92_g(T2386, log21819_in_g(T2386))
U92_g(T2386, log21819_out_g(T2386)) → log22084_out_g(T2386)
U100_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(0)))))), T2371)
log2157_in_gg(s(s(s(s(s(s(s(0))))))), T2371) → U101_gg(T2371, log22084_in_g(T2371))
U101_gg(T2371, log22084_out_g(T2371)) → log2157_out_gg(s(s(s(s(s(s(s(0))))))), T2371)
log2157_in_gg(s(s(s(s(0)))), T2400) → U102_gg(T2400, log22139_in_g(T2400))
log22139_in_g(s(s(s(s(s(0)))))) → log22139_out_g(s(s(s(s(s(0))))))
U102_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(0)))), T2400)
log2157_in_gg(s(s(s(s(s(0))))), T2400) → U103_gg(T2400, log22139_in_g(T2400))
U103_gg(T2400, log22139_out_g(T2400)) → log2157_out_gg(s(s(s(s(s(0))))), T2400)
log2157_in_gg(s(s(0)), T2413) → U104_gg(T2413, log22176_in_g(T2413))
log22176_in_g(s(s(s(s(s(0)))))) → log22176_out_g(s(s(s(s(s(0))))))
U104_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(0)), T2413)
log2157_in_gg(s(s(s(0))), T2413) → U105_gg(T2413, log22176_in_g(T2413))
U105_gg(T2413, log22176_out_g(T2413)) → log2157_out_gg(s(s(s(0))), T2413)
log2157_in_gg(0, s(s(s(s(0))))) → log2157_out_gg(0, s(s(s(s(0)))))
log2157_in_gg(s(0), s(s(s(s(0))))) → log2157_out_gg(s(0), s(s(s(s(0)))))
U8_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(0, s(T399), T400)
log2144_in_ggg(s(0), s(T399), T400) → U9_ggg(T399, T400, log2157_in_gg(T399, T400))
U9_ggg(T399, T400, log2157_out_gg(T399, T400)) → log2144_out_ggg(s(0), s(T399), T400)
log2144_in_ggg(0, 0, s(s(s(0)))) → log2144_out_ggg(0, 0, s(s(s(0))))
log2144_in_ggg(s(0), 0, s(s(s(0)))) → log2144_out_ggg(s(0), 0, s(s(s(0))))
U7_ggg(T380, T381, T382, log2144_out_ggg(T380, s(T381), T382)) → log2144_out_ggg(s(s(T380)), T381, T382)
U110_gg(T360, T361, log2144_out_ggg(T360, s(s(s(s(s(s(s(0))))))), T361)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T360)))))))))))))), T361)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440) → U111_gg(T2440, log22254_in_g(T2440))
log22254_in_g(T2463) → U106_g(T2463, log22139_in_g(T2463))
U106_g(T2463, log22139_out_g(T2463)) → log22254_out_g(T2463)
U111_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440) → U112_gg(T2440, log22254_in_g(T2440))
U112_gg(T2440, log22254_out_g(T2440)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2440)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484) → U113_gg(T2484, log22320_in_g(T2484))
log22320_in_g(T2507) → U107_g(T2507, log22139_in_g(T2507))
U107_g(T2507, log22139_out_g(T2507)) → log22320_out_g(T2507)
U113_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484) → U114_gg(T2484, log22320_in_g(T2484))
U114_gg(T2484, log22320_out_g(T2484)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2484)
log2107_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2528) → U115_gg(T2528, log22390_in_g(T2528))
log22390_in_g(T2543) → U108_g(T2543, log22176_in_g(T2543))
U108_g(T2543, log22176_out_g(T2543)) → log22390_out_g(T2543)
U115_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528) → U116_gg(T2528, log22390_in_g(T2528))
U116_gg(T2528, log22390_out_g(T2528)) → log2107_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2528)
log2107_in_gg(s(s(s(s(s(s(0)))))), T2559) → U117_gg(T2559, log22441_in_g(T2559))
log22441_in_g(T2574) → U109_g(T2574, log22176_in_g(T2574))
U109_g(T2574, log22176_out_g(T2574)) → log22441_out_g(T2574)
U117_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(0)))))), T2559)
log2107_in_gg(s(s(s(s(s(s(s(0))))))), T2559) → U118_gg(T2559, log22441_in_g(T2559))
U118_gg(T2559, log22441_out_g(T2559)) → log2107_out_gg(s(s(s(s(s(s(s(0))))))), T2559)
log2107_in_gg(s(s(s(s(0)))), T2588) → U119_gg(T2588, log22496_in_g(T2588))
log22496_in_g(s(s(s(s(0))))) → log22496_out_g(s(s(s(s(0)))))
U119_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(0)))), T2588)
log2107_in_gg(s(s(s(s(s(0))))), T2588) → U120_gg(T2588, log22496_in_g(T2588))
U120_gg(T2588, log22496_out_g(T2588)) → log2107_out_gg(s(s(s(s(s(0))))), T2588)
log2107_in_gg(s(s(0)), T2601) → U121_gg(T2601, log22533_in_g(T2601))
log22533_in_g(s(s(s(s(0))))) → log22533_out_g(s(s(s(s(0)))))
U121_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(0)), T2601)
log2107_in_gg(s(s(s(0))), T2601) → U122_gg(T2601, log22533_in_g(T2601))
U122_gg(T2601, log22533_out_g(T2601)) → log2107_out_gg(s(s(s(0))), T2601)
log2107_in_gg(0, s(s(s(0)))) → log2107_out_gg(0, s(s(s(0))))
log2107_in_gg(s(0), s(s(s(0)))) → log2107_out_gg(s(0), s(s(s(0))))
U5_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(0, s(T274), T275)
log294_in_ggg(s(0), s(T274), T275) → U6_ggg(T274, T275, log2107_in_gg(T274, T275))
U6_ggg(T274, T275, log2107_out_gg(T274, T275)) → log294_out_ggg(s(0), s(T274), T275)
log294_in_ggg(0, 0, s(s(0))) → log294_out_ggg(0, 0, s(s(0)))
log294_in_ggg(s(0), 0, s(s(0))) → log294_out_ggg(s(0), 0, s(s(0)))
U4_ggg(T255, T256, T257, log294_out_ggg(T255, s(T256), T257)) → log294_out_ggg(s(s(T255)), T256, T257)
U127_gg(T235, T236, log294_out_ggg(T235, s(s(s(s(s(s(s(0))))))), T236)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T235)))))))))))))), T236)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628) → U128_gg(T2628, log22611_in_g(T2628))
log22611_in_g(T2651) → U123_g(T2651, log22496_in_g(T2651))
U123_g(T2651, log22496_out_g(T2651)) → log22611_out_g(T2651)
U128_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628) → U129_gg(T2628, log22611_in_g(T2628))
U129_gg(T2628, log22611_out_g(T2628)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2628)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672) → U130_gg(T2672, log22677_in_g(T2672))
log22677_in_g(T2695) → U124_g(T2695, log22496_in_g(T2695))
U124_g(T2695, log22496_out_g(T2695)) → log22677_out_g(T2695)
U130_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672) → U131_gg(T2672, log22677_in_g(T2672))
U131_gg(T2672, log22677_out_g(T2672)) → log257_out_gg(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2672)
log257_in_gg(s(s(s(s(s(s(s(s(0)))))))), T2716) → U132_gg(T2716, log22747_in_g(T2716))
log22747_in_g(T2731) → U125_g(T2731, log22533_in_g(T2731))
U125_g(T2731, log22533_out_g(T2731)) → log22747_out_g(T2731)
U132_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(0)))))))), T2716)
log257_in_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716) → U133_gg(T2716, log22747_in_g(T2716))
U133_gg(T2716, log22747_out_g(T2716)) → log257_out_gg(s(s(s(s(s(s(s(s(s(0))))))))), T2716)
log257_in_gg(s(s(s(s(s(s(0)))))), T2747) → U134_gg(T2747, log22798_in_g(T2747))
log22798_in_g(T2762) → U126_g(T2762, log22533_in_g(T2762))
U126_g(T2762, log22533_out_g(T2762)) → log22798_out_g(T2762)
U134_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(0)))))), T2747)
log257_in_gg(s(s(s(s(s(s(s(0))))))), T2747) → U135_gg(T2747, log22798_in_g(T2747))
U135_gg(T2747, log22798_out_g(T2747)) → log257_out_gg(s(s(s(s(s(s(s(0))))))), T2747)
log257_in_gg(s(s(s(s(0)))), T2776) → U136_gg(T2776, log22853_in_g(T2776))
log22853_in_g(s(s(s(0)))) → log22853_out_g(s(s(s(0))))
U136_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(0)))), T2776)
log257_in_gg(s(s(s(s(s(0))))), T2776) → U137_gg(T2776, log22853_in_g(T2776))
U137_gg(T2776, log22853_out_g(T2776)) → log257_out_gg(s(s(s(s(s(0))))), T2776)
log257_in_gg(s(s(0)), T2789) → U138_gg(T2789, log22890_in_g(T2789))
log22890_in_g(s(s(s(0)))) → log22890_out_g(s(s(s(0))))
U138_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(0)), T2789)
log257_in_gg(s(s(s(0))), T2789) → U139_gg(T2789, log22890_in_g(T2789))
U139_gg(T2789, log22890_out_g(T2789)) → log257_out_gg(s(s(s(0))), T2789)
log257_in_gg(0, s(s(0))) → log257_out_gg(0, s(s(0)))
log257_in_gg(s(0), s(s(0))) → log257_out_gg(s(0), s(s(0)))
U2_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(0, s(T148), T149)
log244_in_agg(s(0), s(T148), T149) → U3_agg(T148, T149, log257_in_gg(T148, T149))
U3_agg(T148, T149, log257_out_gg(T148, T149)) → log244_out_agg(s(0), s(T148), T149)
log244_in_agg(0, 0, s(0)) → log244_out_agg(0, 0, s(0))
log244_in_agg(s(0), 0, s(0)) → log244_out_agg(s(0), 0, s(0))
U1_agg(T131, T129, T130, log244_out_agg(T131, s(T129), T130)) → log244_out_agg(s(s(T131)), T129, T130)
U148_ag(T109, T108, log244_out_agg(T109, s(s(s(s(s(s(s(0))))))), T108)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(T109)))))))))))))))), T108)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819) → U149_ag(T2819, log22968_in_g(T2819))
log22968_in_g(T2843) → U140_g(T2843, log22853_in_g(T2843))
U140_g(T2843, log22853_out_g(T2843)) → log22968_out_g(T2843)
U149_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819) → U150_ag(T2819, log22968_in_g(T2819))
U150_ag(T2819, log22968_out_g(T2819)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))))), T2819)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867) → U151_ag(T2867, log23034_in_g(T2867))
log23034_in_g(T2891) → U141_g(T2891, log22853_in_g(T2891))
U141_g(T2891, log22853_out_g(T2891)) → log23034_out_g(T2891)
U151_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(0)))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867) → U152_ag(T2867, log23034_in_g(T2867))
U152_ag(T2867, log23034_out_g(T2867)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(s(s(0))))))))))))), T2867)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915) → U153_ag(T2915, log23104_in_g(T2915))
log23104_in_g(T2931) → U142_g(T2931, log22890_in_g(T2931))
U142_g(T2931, log22890_out_g(T2931)) → log23104_out_g(T2931)
U153_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(0)))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915) → U154_ag(T2915, log23104_in_g(T2915))
U154_ag(T2915, log23104_out_g(T2915)) → log21_out_ag(s(s(s(s(s(s(s(s(s(s(s(0))))))))))), T2915)
log21_in_ag(s(s(s(s(s(s(s(s(0)))))))), T2950) → U155_ag(T2950, log23155_in_g(T2950))
log23155_in_g(T2966) → U143_g(T2966, log22890_in_g(T2966))
U143_g(T2966, log22890_out_g(T2966)) → log23155_out_g(T2966)
U155_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(0)))))))), T2950)
log21_in_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950) → U156_ag(T2950, log23155_in_g(T2950))
U156_ag(T2950, log23155_out_g(T2950)) → log21_out_ag(s(s(s(s(s(s(s(s(s(0))))))))), T2950)
log21_in_ag(s(s(s(s(s(s(0)))))), T2983) → U157_ag(T2983, log23210_in_g(T2983))
log23210_in_g(s(s(0))) → log23210_out_g(s(s(0)))
U157_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(0)))))), T2983)
log21_in_ag(s(s(s(s(s(s(s(0))))))), T2983) → U158_ag(T2983, log23210_in_g(T2983))
U158_ag(T2983, log23210_out_g(T2983)) → log21_out_ag(s(s(s(s(s(s(s(0))))))), T2983)
log21_in_ag(s(s(s(s(0)))), T3000) → U159_ag(T3000, log23247_in_g(T3000))
log23247_in_g(s(s(0))) → log23247_out_g(s(s(0)))
U159_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(0)))), T3000)
log21_in_ag(s(s(s(s(s(0))))), T3000) → U160_ag(T3000, log23247_in_g(T3000))
U160_ag(T3000, log23247_out_g(T3000)) → log21_out_ag(s(s(s(s(s(0))))), T3000)
log21_in_ag(s(s(0)), s(0)) → log21_out_ag(s(s(0)), s(0))
log21_in_ag(s(s(s(0))), s(0)) → log21_out_ag(s(s(s(0))), s(0))
log21_in_ag(0, s(0)) → log21_out_ag(0, s(0))
log21_in_ag(s(0), s(0)) → log21_out_ag(s(0), s(0))
LOG244_IN_AGG(s(s(T131)), T129, T130) → LOG244_IN_AGG(T131, s(T129), T130)
LOG244_IN_AGG(T129, T130) → LOG244_IN_AGG(s(T129), T130)
LOG244_IN_AGG(s(z0), z1) → LOG244_IN_AGG(s(s(z0)), z1)
LOG244_IN_AGG(s(z0), z1) → LOG244_IN_AGG(s(s(z0)), z1)
LOG244_IN_AGG(s(s(z0)), z1) → LOG244_IN_AGG(s(s(s(z0))), z1)
LOG244_IN_AGG(s(s(z0)), z1) → LOG244_IN_AGG(s(s(s(z0))), z1)