0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇐)
↳2 Prolog
↳3 PrologToPiTRSProof (⇐)
↳4 PiTRS
↳5 DependencyPairsProof (⇔)
↳6 PiDP
↳7 DependencyGraphProof (⇔)
↳8 AND
↳9 PiDP
↳10 UsableRulesProof (⇔)
↳11 PiDP
↳12 PiDPToQDPProof (⇐)
↳13 QDP
↳14 QDPSizeChangeProof (⇔)
↳15 YES
↳16 PiDP
↳17 UsableRulesProof (⇔)
↳18 PiDP
↳19 PiDPToQDPProof (⇐)
↳20 QDP
↳21 QDPSizeChangeProof (⇔)
↳22 YES
↳23 PiDP
↳24 UsableRulesProof (⇔)
↳25 PiDP
↳26 PiDPToQDPProof (⇐)
↳27 QDP
↳28 NonTerminationProof (⇔)
↳29 NO
↳30 PiDP
↳31 UsableRulesProof (⇔)
↳32 PiDP
↳33 PiDPToQDPProof (⇐)
↳34 QDP
↳35 Narrowing (⇐)
↳36 QDP
↳37 Narrowing (⇐)
↳38 QDP
↳39 Narrowing (⇐)
↳40 QDP
↳41 Narrowing (⇐)
↳42 QDP
↳43 Instantiation (⇔)
↳44 QDP
↳45 Instantiation (⇔)
↳46 QDP
↳47 Instantiation (⇔)
↳48 QDP
↳49 DependencyGraphProof (⇔)
↳50 AND
↳51 QDP
↳52 Instantiation (⇔)
↳53 QDP
↳54 Instantiation (⇔)
↳55 QDP
↳56 Instantiation (⇔)
↳57 QDP
↳58 Instantiation (⇔)
↳59 QDP
↳60 Instantiation (⇔)
↳61 QDP
↳62 ForwardInstantiation (⇔)
↳63 QDP
↳64 ForwardInstantiation (⇔)
↳65 QDP
↳66 ForwardInstantiation (⇔)
↳67 QDP
↳68 ForwardInstantiation (⇔)
↳69 QDP
↳70 NonTerminationProof (⇔)
↳71 NO
↳72 QDP
↳73 UsableRulesProof (⇔)
↳74 QDP
↳75 QReductionProof (⇔)
↳76 QDP
↳77 NonTerminationProof (⇔)
↳78 NO
↳79 PrologToPiTRSProof (⇐)
↳80 PiTRS
↳81 DependencyPairsProof (⇔)
↳82 PiDP
↳83 DependencyGraphProof (⇔)
↳84 AND
↳85 PiDP
↳86 UsableRulesProof (⇔)
↳87 PiDP
↳88 PiDPToQDPProof (⇐)
↳89 QDP
↳90 QDPSizeChangeProof (⇔)
↳91 YES
↳92 PiDP
↳93 UsableRulesProof (⇔)
↳94 PiDP
↳95 PiDPToQDPProof (⇐)
↳96 QDP
↳97 QDPSizeChangeProof (⇔)
↳98 YES
↳99 PiDP
↳100 UsableRulesProof (⇔)
↳101 PiDP
↳102 PiDPToQDPProof (⇐)
↳103 QDP
↳104 NonTerminationProof (⇔)
↳105 NO
↳106 PiDP
↳107 UsableRulesProof (⇔)
↳108 PiDP
↳109 PiDPToQDPProof (⇐)
↳110 QDP
↳111 Narrowing (⇐)
↳112 QDP
↳113 Narrowing (⇐)
↳114 QDP
↳115 Narrowing (⇐)
↳116 QDP
↳117 Narrowing (⇐)
↳118 QDP
↳119 Instantiation (⇔)
↳120 QDP
↳121 Instantiation (⇔)
↳122 QDP
↳123 Instantiation (⇔)
↳124 QDP
↳125 DependencyGraphProof (⇔)
↳126 AND
↳127 QDP
↳128 Instantiation (⇔)
↳129 QDP
↳130 Instantiation (⇔)
↳131 QDP
↳132 Instantiation (⇔)
↳133 QDP
↳134 Instantiation (⇔)
↳135 QDP
↳136 Instantiation (⇔)
↳137 QDP
↳138 ForwardInstantiation (⇔)
↳139 QDP
↳140 ForwardInstantiation (⇔)
↳141 QDP
↳142 ForwardInstantiation (⇔)
↳143 QDP
↳144 ForwardInstantiation (⇔)
↳145 QDP
↳146 NonTerminationProof (⇔)
↳147 NO
↳148 QDP
↳149 UsableRulesProof (⇔)
↳150 QDP
↳151 QReductionProof (⇔)
↳152 QDP
↳153 NonTerminationProof (⇔)
↳154 NO
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
DELETE1_IN_GAA(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_GAA(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
DELETE1_IN_GAA(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → DELMIN19_IN_AAA(T65, T66, T67)
DELMIN19_IN_AAA(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_AAA(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
DELMIN19_IN_AAA(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → DELMIN19_IN_AAA(T100, T101, T102)
DELETE1_IN_GAA(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_GAA(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
DELETE1_IN_GAA(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → P32_IN_GAAA(T127, T132, T133, T134)
P32_IN_GAAA(T127, T132, T133, T134) → U7_GAAA(T127, T132, T133, T134, less34_in_ga(T127, T132))
P32_IN_GAAA(T127, T132, T133, T134) → LESS34_IN_GA(T127, T132)
LESS34_IN_GA(s(T150), s(T152)) → U2_GA(T150, T152, less34_in_ga(T150, T152))
LESS34_IN_GA(s(T150), s(T152)) → LESS34_IN_GA(T150, T152)
P32_IN_GAAA(T127, T132, T137, T138) → U8_GAAA(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_GAAA(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_GAAA(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
U8_GAAA(T127, T132, T137, T138, less34_out_ga(T127, T132)) → DELETE1_IN_GAA(T127, T137, T138)
DELETE1_IN_GAA(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_GAA(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
DELETE1_IN_GAA(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → P44_IN_AGAA(T174, T169, T175, T176)
P44_IN_AGAA(T174, T169, T175, T176) → U4_AGAA(T174, T169, T175, T176, less46_in_ag(T174, T169))
P44_IN_AGAA(T174, T169, T175, T176) → LESS46_IN_AG(T174, T169)
LESS46_IN_AG(s(T194), s(T193)) → U3_AG(T194, T193, less46_in_ag(T194, T193))
LESS46_IN_AG(s(T194), s(T193)) → LESS46_IN_AG(T194, T193)
P44_IN_AGAA(T174, T169, T179, T180) → U5_AGAA(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_AGAA(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_AGAA(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
U5_AGAA(T174, T169, T179, T180, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169, T179, T180)
DELETE1_IN_GAA(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_GAA(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
DELETE1_IN_GAA(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → DELETE1_IN_GAA(0, T219, T220)
DELETE1_IN_GAA(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_GAA(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
DELETE1_IN_GAA(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → P65_IN_GAAA(T231, T233, T234, T235)
P65_IN_GAAA(T231, T233, T234, T235) → U12_GAAA(T231, T233, T234, T235, less34_in_ga(T231, T233))
P65_IN_GAAA(T231, T233, T234, T235) → LESS34_IN_GA(T231, T233)
P65_IN_GAAA(T231, T233, T238, T239) → U13_GAAA(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_GAAA(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_GAAA(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
U13_GAAA(T231, T233, T238, T239, less34_out_ga(T231, T233)) → DELETE1_IN_GAA(s(T231), T238, T239)
DELETE1_IN_GAA(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_GAA(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
DELETE1_IN_GAA(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_GAA(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
DELETE1_IN_GAA(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → P72_IN_AGAA(T276, T271, T277, T278)
P72_IN_AGAA(0, s(T283), T284, T285) → U10_AGAA(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
P72_IN_AGAA(0, s(T283), T284, T285) → DELETE1_IN_GAA(s(T283), T284, T285)
DELETE1_IN_GAA(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_GAA(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
DELETE1_IN_GAA(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_GAA(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
DELETE1_IN_GAA(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_GAA(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
P72_IN_AGAA(s(T296), s(T295), T297, T298) → U11_AGAA(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
P72_IN_AGAA(s(T296), s(T295), T297, T298) → P79_IN_AGAA(T296, T295, T297, T298)
P79_IN_AGAA(T296, T295, T297, T298) → U15_AGAA(T296, T295, T297, T298, less46_in_ag(T296, T295))
P79_IN_AGAA(T296, T295, T297, T298) → LESS46_IN_AG(T296, T295)
P79_IN_AGAA(T296, T295, T301, T302) → U16_AGAA(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_AGAA(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_AGAA(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
U16_AGAA(T296, T295, T301, T302, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295), T301, T302)
DELETE1_IN_GAA(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_GAA(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
DELETE1_IN_GAA(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_GAA(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
DELETE1_IN_GAA(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_GAA(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
DELETE1_IN_GAA(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_GAA(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
DELETE1_IN_GAA(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → P116_IN_AGAA(T486, T481, T487, T488)
P116_IN_AGAA(0, s(T493), T494, T495) → U18_AGAA(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
P116_IN_AGAA(0, s(T493), T494, T495) → DELETE1_IN_GAA(s(T493), T494, T495)
DELETE1_IN_GAA(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_GAA(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
DELETE1_IN_GAA(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_GAA(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
DELETE1_IN_GAA(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_GAA(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
P116_IN_AGAA(s(T506), s(T505), T507, T508) → U19_AGAA(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
P116_IN_AGAA(s(T506), s(T505), T507, T508) → P79_IN_AGAA(T506, T505, T507, T508)
DELETE1_IN_GAA(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_GAA(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
DELETE1_IN_GAA(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_GAA(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
DELETE1_IN_GAA(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_GAA(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
DELETE1_IN_GAA(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_GAA(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
DELETE1_IN_GAA(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → DELETE1_IN_GAA(s(T699), T700, T701)
DELETE1_IN_GAA(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_GAA(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
DELETE1_IN_GAA(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → P79_IN_AGAA(T712, T711, T713, T714)
DELETE1_IN_GAA(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_GAA(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
DELETE1_IN_GAA(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_GAA(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
DELETE1_IN_GAA(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_GAA(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
DELETE1_IN_GAA(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_GAA(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
DELETE1_IN_GAA(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_GAA(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
DELETE1_IN_GAA(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_GAA(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
DELETE1_IN_GAA(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_GAA(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
DELETE1_IN_GAA(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_GAA(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
DELETE1_IN_GAA(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_GAA(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
DELETE1_IN_GAA(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → DELMIN19_IN_AAA(T65, T66, T67)
DELMIN19_IN_AAA(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_AAA(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
DELMIN19_IN_AAA(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → DELMIN19_IN_AAA(T100, T101, T102)
DELETE1_IN_GAA(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_GAA(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
DELETE1_IN_GAA(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → P32_IN_GAAA(T127, T132, T133, T134)
P32_IN_GAAA(T127, T132, T133, T134) → U7_GAAA(T127, T132, T133, T134, less34_in_ga(T127, T132))
P32_IN_GAAA(T127, T132, T133, T134) → LESS34_IN_GA(T127, T132)
LESS34_IN_GA(s(T150), s(T152)) → U2_GA(T150, T152, less34_in_ga(T150, T152))
LESS34_IN_GA(s(T150), s(T152)) → LESS34_IN_GA(T150, T152)
P32_IN_GAAA(T127, T132, T137, T138) → U8_GAAA(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_GAAA(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_GAAA(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
U8_GAAA(T127, T132, T137, T138, less34_out_ga(T127, T132)) → DELETE1_IN_GAA(T127, T137, T138)
DELETE1_IN_GAA(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_GAA(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
DELETE1_IN_GAA(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → P44_IN_AGAA(T174, T169, T175, T176)
P44_IN_AGAA(T174, T169, T175, T176) → U4_AGAA(T174, T169, T175, T176, less46_in_ag(T174, T169))
P44_IN_AGAA(T174, T169, T175, T176) → LESS46_IN_AG(T174, T169)
LESS46_IN_AG(s(T194), s(T193)) → U3_AG(T194, T193, less46_in_ag(T194, T193))
LESS46_IN_AG(s(T194), s(T193)) → LESS46_IN_AG(T194, T193)
P44_IN_AGAA(T174, T169, T179, T180) → U5_AGAA(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_AGAA(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_AGAA(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
U5_AGAA(T174, T169, T179, T180, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169, T179, T180)
DELETE1_IN_GAA(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_GAA(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
DELETE1_IN_GAA(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → DELETE1_IN_GAA(0, T219, T220)
DELETE1_IN_GAA(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_GAA(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
DELETE1_IN_GAA(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → P65_IN_GAAA(T231, T233, T234, T235)
P65_IN_GAAA(T231, T233, T234, T235) → U12_GAAA(T231, T233, T234, T235, less34_in_ga(T231, T233))
P65_IN_GAAA(T231, T233, T234, T235) → LESS34_IN_GA(T231, T233)
P65_IN_GAAA(T231, T233, T238, T239) → U13_GAAA(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_GAAA(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_GAAA(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
U13_GAAA(T231, T233, T238, T239, less34_out_ga(T231, T233)) → DELETE1_IN_GAA(s(T231), T238, T239)
DELETE1_IN_GAA(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_GAA(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
DELETE1_IN_GAA(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_GAA(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
DELETE1_IN_GAA(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → P72_IN_AGAA(T276, T271, T277, T278)
P72_IN_AGAA(0, s(T283), T284, T285) → U10_AGAA(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
P72_IN_AGAA(0, s(T283), T284, T285) → DELETE1_IN_GAA(s(T283), T284, T285)
DELETE1_IN_GAA(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_GAA(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
DELETE1_IN_GAA(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_GAA(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
DELETE1_IN_GAA(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_GAA(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
P72_IN_AGAA(s(T296), s(T295), T297, T298) → U11_AGAA(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
P72_IN_AGAA(s(T296), s(T295), T297, T298) → P79_IN_AGAA(T296, T295, T297, T298)
P79_IN_AGAA(T296, T295, T297, T298) → U15_AGAA(T296, T295, T297, T298, less46_in_ag(T296, T295))
P79_IN_AGAA(T296, T295, T297, T298) → LESS46_IN_AG(T296, T295)
P79_IN_AGAA(T296, T295, T301, T302) → U16_AGAA(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_AGAA(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_AGAA(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
U16_AGAA(T296, T295, T301, T302, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295), T301, T302)
DELETE1_IN_GAA(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_GAA(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
DELETE1_IN_GAA(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_GAA(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
DELETE1_IN_GAA(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_GAA(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
DELETE1_IN_GAA(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_GAA(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
DELETE1_IN_GAA(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → P116_IN_AGAA(T486, T481, T487, T488)
P116_IN_AGAA(0, s(T493), T494, T495) → U18_AGAA(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
P116_IN_AGAA(0, s(T493), T494, T495) → DELETE1_IN_GAA(s(T493), T494, T495)
DELETE1_IN_GAA(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_GAA(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
DELETE1_IN_GAA(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_GAA(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
DELETE1_IN_GAA(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_GAA(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
P116_IN_AGAA(s(T506), s(T505), T507, T508) → U19_AGAA(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
P116_IN_AGAA(s(T506), s(T505), T507, T508) → P79_IN_AGAA(T506, T505, T507, T508)
DELETE1_IN_GAA(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_GAA(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
DELETE1_IN_GAA(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_GAA(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
DELETE1_IN_GAA(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_GAA(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
DELETE1_IN_GAA(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_GAA(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
DELETE1_IN_GAA(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → DELETE1_IN_GAA(s(T699), T700, T701)
DELETE1_IN_GAA(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_GAA(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
DELETE1_IN_GAA(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → P79_IN_AGAA(T712, T711, T713, T714)
DELETE1_IN_GAA(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_GAA(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
DELETE1_IN_GAA(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_GAA(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
DELETE1_IN_GAA(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_GAA(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
DELETE1_IN_GAA(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_GAA(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
DELETE1_IN_GAA(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_GAA(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
DELETE1_IN_GAA(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_GAA(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
DELETE1_IN_GAA(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_GAA(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
DELETE1_IN_GAA(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_GAA(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
LESS46_IN_AG(s(T194), s(T193)) → LESS46_IN_AG(T194, T193)
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
LESS46_IN_AG(s(T194), s(T193)) → LESS46_IN_AG(T194, T193)
LESS46_IN_AG(s(T193)) → LESS46_IN_AG(T193)
From the DPs we obtained the following set of size-change graphs:
LESS34_IN_GA(s(T150), s(T152)) → LESS34_IN_GA(T150, T152)
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
LESS34_IN_GA(s(T150), s(T152)) → LESS34_IN_GA(T150, T152)
LESS34_IN_GA(s(T150)) → LESS34_IN_GA(T150)
From the DPs we obtained the following set of size-change graphs:
DELMIN19_IN_AAA(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → DELMIN19_IN_AAA(T100, T101, T102)
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
DELMIN19_IN_AAA(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → DELMIN19_IN_AAA(T100, T101, T102)
DELMIN19_IN_AAA → DELMIN19_IN_AAA
DELETE1_IN_GAA(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → P32_IN_GAAA(T127, T132, T133, T134)
P32_IN_GAAA(T127, T132, T137, T138) → U8_GAAA(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_GAAA(T127, T132, T137, T138, less34_out_ga(T127, T132)) → DELETE1_IN_GAA(T127, T137, T138)
DELETE1_IN_GAA(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → P44_IN_AGAA(T174, T169, T175, T176)
P44_IN_AGAA(T174, T169, T179, T180) → U5_AGAA(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_AGAA(T174, T169, T179, T180, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169, T179, T180)
DELETE1_IN_GAA(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → DELETE1_IN_GAA(0, T219, T220)
DELETE1_IN_GAA(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → P72_IN_AGAA(T276, T271, T277, T278)
P72_IN_AGAA(0, s(T283), T284, T285) → DELETE1_IN_GAA(s(T283), T284, T285)
DELETE1_IN_GAA(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → P65_IN_GAAA(T231, T233, T234, T235)
P65_IN_GAAA(T231, T233, T238, T239) → U13_GAAA(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_GAAA(T231, T233, T238, T239, less34_out_ga(T231, T233)) → DELETE1_IN_GAA(s(T231), T238, T239)
DELETE1_IN_GAA(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → P116_IN_AGAA(T486, T481, T487, T488)
P116_IN_AGAA(0, s(T493), T494, T495) → DELETE1_IN_GAA(s(T493), T494, T495)
DELETE1_IN_GAA(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → DELETE1_IN_GAA(s(T699), T700, T701)
DELETE1_IN_GAA(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → P79_IN_AGAA(T712, T711, T713, T714)
P79_IN_AGAA(T296, T295, T301, T302) → U16_AGAA(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_AGAA(T296, T295, T301, T302, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295), T301, T302)
P116_IN_AGAA(s(T506), s(T505), T507, T508) → P79_IN_AGAA(T506, T505, T507, T508)
P72_IN_AGAA(s(T296), s(T295), T297, T298) → P79_IN_AGAA(T296, T295, T297, T298)
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
DELETE1_IN_GAA(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → P32_IN_GAAA(T127, T132, T133, T134)
P32_IN_GAAA(T127, T132, T137, T138) → U8_GAAA(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_GAAA(T127, T132, T137, T138, less34_out_ga(T127, T132)) → DELETE1_IN_GAA(T127, T137, T138)
DELETE1_IN_GAA(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → P44_IN_AGAA(T174, T169, T175, T176)
P44_IN_AGAA(T174, T169, T179, T180) → U5_AGAA(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_AGAA(T174, T169, T179, T180, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169, T179, T180)
DELETE1_IN_GAA(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → DELETE1_IN_GAA(0, T219, T220)
DELETE1_IN_GAA(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → P72_IN_AGAA(T276, T271, T277, T278)
P72_IN_AGAA(0, s(T283), T284, T285) → DELETE1_IN_GAA(s(T283), T284, T285)
DELETE1_IN_GAA(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → P65_IN_GAAA(T231, T233, T234, T235)
P65_IN_GAAA(T231, T233, T238, T239) → U13_GAAA(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_GAAA(T231, T233, T238, T239, less34_out_ga(T231, T233)) → DELETE1_IN_GAA(s(T231), T238, T239)
DELETE1_IN_GAA(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → P116_IN_AGAA(T486, T481, T487, T488)
P116_IN_AGAA(0, s(T493), T494, T495) → DELETE1_IN_GAA(s(T493), T494, T495)
DELETE1_IN_GAA(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → DELETE1_IN_GAA(s(T699), T700, T701)
DELETE1_IN_GAA(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → P79_IN_AGAA(T712, T711, T713, T714)
P79_IN_AGAA(T296, T295, T301, T302) → U16_AGAA(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_AGAA(T296, T295, T301, T302, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295), T301, T302)
P116_IN_AGAA(s(T506), s(T505), T507, T508) → P79_IN_AGAA(T506, T505, T507, T508)
P72_IN_AGAA(s(T296), s(T295), T297, T298) → P79_IN_AGAA(T296, T295, T297, T298)
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
P32_IN_GAAA(T127) → U8_GAAA(T127, less34_in_ga(T127))
U8_GAAA(T127, less34_out_ga) → DELETE1_IN_GAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
P44_IN_AGAA(T169) → U5_AGAA(T169, less46_in_ag(T169))
U5_AGAA(T169, less46_out_ag(T174)) → DELETE1_IN_GAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(T231) → U13_GAAA(T231, less34_in_ga(T231))
U13_GAAA(T231, less34_out_ga) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(T295) → U16_AGAA(T295, less46_in_ag(T295))
U16_AGAA(T295, less46_out_ag(T296)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga)
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
U8_GAAA(T127, less34_out_ga) → DELETE1_IN_GAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
P44_IN_AGAA(T169) → U5_AGAA(T169, less46_in_ag(T169))
U5_AGAA(T169, less46_out_ag(T174)) → DELETE1_IN_GAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(T231) → U13_GAAA(T231, less34_in_ga(T231))
U13_GAAA(T231, less34_out_ga) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(T295) → U16_AGAA(T295, less46_in_ag(T295))
U16_AGAA(T295, less46_out_ag(T296)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga)
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
U8_GAAA(T127, less34_out_ga) → DELETE1_IN_GAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
U5_AGAA(T169, less46_out_ag(T174)) → DELETE1_IN_GAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(T231) → U13_GAAA(T231, less34_in_ga(T231))
U13_GAAA(T231, less34_out_ga) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(T295) → U16_AGAA(T295, less46_in_ag(T295))
U16_AGAA(T295, less46_out_ag(T296)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga)
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
U8_GAAA(T127, less34_out_ga) → DELETE1_IN_GAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
U5_AGAA(T169, less46_out_ag(T174)) → DELETE1_IN_GAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
U13_GAAA(T231, less34_out_ga) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(T295) → U16_AGAA(T295, less46_in_ag(T295))
U16_AGAA(T295, less46_out_ag(T296)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga)
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
U8_GAAA(T127, less34_out_ga) → DELETE1_IN_GAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
U5_AGAA(T169, less46_out_ag(T174)) → DELETE1_IN_GAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
U13_GAAA(T231, less34_out_ga) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
U16_AGAA(T295, less46_out_ag(T296)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga)
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
U8_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(0)
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
U5_AGAA(T169, less46_out_ag(T174)) → DELETE1_IN_GAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
U13_GAAA(T231, less34_out_ga) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
U16_AGAA(T295, less46_out_ag(T296)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga)
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
U8_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(0)
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
U5_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(z0))
U5_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(z0))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
U13_GAAA(T231, less34_out_ga) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
U16_AGAA(T295, less46_out_ag(T296)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga)
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
U8_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(0)
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
U5_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(z0))
U5_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(z0))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
DELETE1_IN_GAA(0) → P32_IN_GAAA(0)
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
U13_GAAA(T231, less34_out_ga) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
U16_AGAA(T295, less46_out_ag(T296)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga)
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
U8_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(0)
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
U5_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(z0))
U5_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(z0))
DELETE1_IN_GAA(0) → P32_IN_GAAA(0)
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
U5_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(z0))
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(z0))
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
U13_GAAA(T231, less34_out_ga) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
U16_AGAA(T295, less46_out_ag(T296)) → DELETE1_IN_GAA(s(T295))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
U5_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(z0))
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
U13_GAAA(T231, less34_out_ga) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
U16_AGAA(T295, less46_out_ag(T296)) → DELETE1_IN_GAA(s(T295))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
U5_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
U13_GAAA(T231, less34_out_ga) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
U16_AGAA(T295, less46_out_ag(T296)) → DELETE1_IN_GAA(s(T295))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
U13_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(s(z0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
U5_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
U16_AGAA(T295, less46_out_ag(T296)) → DELETE1_IN_GAA(s(T295))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(s(z0)))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
U5_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
U16_AGAA(T295, less46_out_ag(T296)) → DELETE1_IN_GAA(s(T295))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
U16_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(s(z0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
U5_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(s(z0)))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
DELETE1_IN_GAA(s(0)) → P65_IN_GAAA(0)
DELETE1_IN_GAA(s(s(y_0))) → P65_IN_GAAA(s(y_0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
U5_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(0)) → P65_IN_GAAA(0)
DELETE1_IN_GAA(s(s(y_0))) → P65_IN_GAAA(s(y_0))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
DELETE1_IN_GAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
U5_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(0)) → P65_IN_GAAA(0)
DELETE1_IN_GAA(s(s(y_0))) → P65_IN_GAAA(s(y_0))
DELETE1_IN_GAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
P116_IN_AGAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
U5_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(0)) → P65_IN_GAAA(0)
DELETE1_IN_GAA(s(s(y_0))) → P65_IN_GAAA(s(y_0))
DELETE1_IN_GAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
P116_IN_AGAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
P72_IN_AGAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0))
U5_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(less46_in_ag(x0)))
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(less34_in_ga(x0)))
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(0)) → DELETE1_IN_GAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(x1)) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(0)) → P65_IN_GAAA(0)
DELETE1_IN_GAA(s(s(y_0))) → P65_IN_GAAA(s(y_0))
DELETE1_IN_GAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
P116_IN_AGAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
P72_IN_AGAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(0) → P32_IN_GAAA(0)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga)
U8_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(0)
less34_in_ga(0) → less34_out_ga
less34_in_ga(s(T150)) → U2_ga(less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0)
less46_in_ag(s(T193)) → U3_ag(less46_in_ag(T193))
U2_ga(less34_out_ga) → less34_out_ga
U3_ag(less46_out_ag(T194)) → less46_out_ag(s(T194))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(0) → P32_IN_GAAA(0)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga)
U8_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(0)
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0)
U3_ag(x0)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(0) → P32_IN_GAAA(0)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga)
U8_GAAA(0, less34_out_ga) → DELETE1_IN_GAA(0)
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
DELETE1_IN_GAA(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_GAA(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
DELETE1_IN_GAA(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → DELMIN19_IN_AAA(T65, T66, T67)
DELMIN19_IN_AAA(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_AAA(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
DELMIN19_IN_AAA(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → DELMIN19_IN_AAA(T100, T101, T102)
DELETE1_IN_GAA(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_GAA(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
DELETE1_IN_GAA(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → P32_IN_GAAA(T127, T132, T133, T134)
P32_IN_GAAA(T127, T132, T133, T134) → U7_GAAA(T127, T132, T133, T134, less34_in_ga(T127, T132))
P32_IN_GAAA(T127, T132, T133, T134) → LESS34_IN_GA(T127, T132)
LESS34_IN_GA(s(T150), s(T152)) → U2_GA(T150, T152, less34_in_ga(T150, T152))
LESS34_IN_GA(s(T150), s(T152)) → LESS34_IN_GA(T150, T152)
P32_IN_GAAA(T127, T132, T137, T138) → U8_GAAA(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_GAAA(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_GAAA(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
U8_GAAA(T127, T132, T137, T138, less34_out_ga(T127, T132)) → DELETE1_IN_GAA(T127, T137, T138)
DELETE1_IN_GAA(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_GAA(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
DELETE1_IN_GAA(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → P44_IN_AGAA(T174, T169, T175, T176)
P44_IN_AGAA(T174, T169, T175, T176) → U4_AGAA(T174, T169, T175, T176, less46_in_ag(T174, T169))
P44_IN_AGAA(T174, T169, T175, T176) → LESS46_IN_AG(T174, T169)
LESS46_IN_AG(s(T194), s(T193)) → U3_AG(T194, T193, less46_in_ag(T194, T193))
LESS46_IN_AG(s(T194), s(T193)) → LESS46_IN_AG(T194, T193)
P44_IN_AGAA(T174, T169, T179, T180) → U5_AGAA(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_AGAA(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_AGAA(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
U5_AGAA(T174, T169, T179, T180, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169, T179, T180)
DELETE1_IN_GAA(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_GAA(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
DELETE1_IN_GAA(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → DELETE1_IN_GAA(0, T219, T220)
DELETE1_IN_GAA(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_GAA(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
DELETE1_IN_GAA(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → P65_IN_GAAA(T231, T233, T234, T235)
P65_IN_GAAA(T231, T233, T234, T235) → U12_GAAA(T231, T233, T234, T235, less34_in_ga(T231, T233))
P65_IN_GAAA(T231, T233, T234, T235) → LESS34_IN_GA(T231, T233)
P65_IN_GAAA(T231, T233, T238, T239) → U13_GAAA(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_GAAA(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_GAAA(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
U13_GAAA(T231, T233, T238, T239, less34_out_ga(T231, T233)) → DELETE1_IN_GAA(s(T231), T238, T239)
DELETE1_IN_GAA(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_GAA(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
DELETE1_IN_GAA(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_GAA(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
DELETE1_IN_GAA(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → P72_IN_AGAA(T276, T271, T277, T278)
P72_IN_AGAA(0, s(T283), T284, T285) → U10_AGAA(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
P72_IN_AGAA(0, s(T283), T284, T285) → DELETE1_IN_GAA(s(T283), T284, T285)
DELETE1_IN_GAA(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_GAA(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
DELETE1_IN_GAA(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_GAA(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
DELETE1_IN_GAA(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_GAA(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
P72_IN_AGAA(s(T296), s(T295), T297, T298) → U11_AGAA(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
P72_IN_AGAA(s(T296), s(T295), T297, T298) → P79_IN_AGAA(T296, T295, T297, T298)
P79_IN_AGAA(T296, T295, T297, T298) → U15_AGAA(T296, T295, T297, T298, less46_in_ag(T296, T295))
P79_IN_AGAA(T296, T295, T297, T298) → LESS46_IN_AG(T296, T295)
P79_IN_AGAA(T296, T295, T301, T302) → U16_AGAA(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_AGAA(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_AGAA(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
U16_AGAA(T296, T295, T301, T302, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295), T301, T302)
DELETE1_IN_GAA(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_GAA(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
DELETE1_IN_GAA(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_GAA(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
DELETE1_IN_GAA(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_GAA(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
DELETE1_IN_GAA(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_GAA(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
DELETE1_IN_GAA(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → P116_IN_AGAA(T486, T481, T487, T488)
P116_IN_AGAA(0, s(T493), T494, T495) → U18_AGAA(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
P116_IN_AGAA(0, s(T493), T494, T495) → DELETE1_IN_GAA(s(T493), T494, T495)
DELETE1_IN_GAA(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_GAA(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
DELETE1_IN_GAA(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_GAA(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
DELETE1_IN_GAA(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_GAA(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
P116_IN_AGAA(s(T506), s(T505), T507, T508) → U19_AGAA(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
P116_IN_AGAA(s(T506), s(T505), T507, T508) → P79_IN_AGAA(T506, T505, T507, T508)
DELETE1_IN_GAA(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_GAA(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
DELETE1_IN_GAA(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_GAA(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
DELETE1_IN_GAA(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_GAA(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
DELETE1_IN_GAA(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_GAA(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
DELETE1_IN_GAA(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → DELETE1_IN_GAA(s(T699), T700, T701)
DELETE1_IN_GAA(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_GAA(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
DELETE1_IN_GAA(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → P79_IN_AGAA(T712, T711, T713, T714)
DELETE1_IN_GAA(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_GAA(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
DELETE1_IN_GAA(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_GAA(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
DELETE1_IN_GAA(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_GAA(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
DELETE1_IN_GAA(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_GAA(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
DELETE1_IN_GAA(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_GAA(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
DELETE1_IN_GAA(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_GAA(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
DELETE1_IN_GAA(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_GAA(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
DELETE1_IN_GAA(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_GAA(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
DELETE1_IN_GAA(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_GAA(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
DELETE1_IN_GAA(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → DELMIN19_IN_AAA(T65, T66, T67)
DELMIN19_IN_AAA(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_AAA(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
DELMIN19_IN_AAA(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → DELMIN19_IN_AAA(T100, T101, T102)
DELETE1_IN_GAA(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_GAA(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
DELETE1_IN_GAA(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → P32_IN_GAAA(T127, T132, T133, T134)
P32_IN_GAAA(T127, T132, T133, T134) → U7_GAAA(T127, T132, T133, T134, less34_in_ga(T127, T132))
P32_IN_GAAA(T127, T132, T133, T134) → LESS34_IN_GA(T127, T132)
LESS34_IN_GA(s(T150), s(T152)) → U2_GA(T150, T152, less34_in_ga(T150, T152))
LESS34_IN_GA(s(T150), s(T152)) → LESS34_IN_GA(T150, T152)
P32_IN_GAAA(T127, T132, T137, T138) → U8_GAAA(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_GAAA(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_GAAA(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
U8_GAAA(T127, T132, T137, T138, less34_out_ga(T127, T132)) → DELETE1_IN_GAA(T127, T137, T138)
DELETE1_IN_GAA(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_GAA(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
DELETE1_IN_GAA(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → P44_IN_AGAA(T174, T169, T175, T176)
P44_IN_AGAA(T174, T169, T175, T176) → U4_AGAA(T174, T169, T175, T176, less46_in_ag(T174, T169))
P44_IN_AGAA(T174, T169, T175, T176) → LESS46_IN_AG(T174, T169)
LESS46_IN_AG(s(T194), s(T193)) → U3_AG(T194, T193, less46_in_ag(T194, T193))
LESS46_IN_AG(s(T194), s(T193)) → LESS46_IN_AG(T194, T193)
P44_IN_AGAA(T174, T169, T179, T180) → U5_AGAA(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_AGAA(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_AGAA(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
U5_AGAA(T174, T169, T179, T180, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169, T179, T180)
DELETE1_IN_GAA(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_GAA(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
DELETE1_IN_GAA(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → DELETE1_IN_GAA(0, T219, T220)
DELETE1_IN_GAA(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_GAA(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
DELETE1_IN_GAA(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → P65_IN_GAAA(T231, T233, T234, T235)
P65_IN_GAAA(T231, T233, T234, T235) → U12_GAAA(T231, T233, T234, T235, less34_in_ga(T231, T233))
P65_IN_GAAA(T231, T233, T234, T235) → LESS34_IN_GA(T231, T233)
P65_IN_GAAA(T231, T233, T238, T239) → U13_GAAA(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_GAAA(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_GAAA(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
U13_GAAA(T231, T233, T238, T239, less34_out_ga(T231, T233)) → DELETE1_IN_GAA(s(T231), T238, T239)
DELETE1_IN_GAA(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_GAA(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
DELETE1_IN_GAA(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_GAA(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
DELETE1_IN_GAA(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → P72_IN_AGAA(T276, T271, T277, T278)
P72_IN_AGAA(0, s(T283), T284, T285) → U10_AGAA(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
P72_IN_AGAA(0, s(T283), T284, T285) → DELETE1_IN_GAA(s(T283), T284, T285)
DELETE1_IN_GAA(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_GAA(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
DELETE1_IN_GAA(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_GAA(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
DELETE1_IN_GAA(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_GAA(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
P72_IN_AGAA(s(T296), s(T295), T297, T298) → U11_AGAA(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
P72_IN_AGAA(s(T296), s(T295), T297, T298) → P79_IN_AGAA(T296, T295, T297, T298)
P79_IN_AGAA(T296, T295, T297, T298) → U15_AGAA(T296, T295, T297, T298, less46_in_ag(T296, T295))
P79_IN_AGAA(T296, T295, T297, T298) → LESS46_IN_AG(T296, T295)
P79_IN_AGAA(T296, T295, T301, T302) → U16_AGAA(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_AGAA(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_AGAA(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
U16_AGAA(T296, T295, T301, T302, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295), T301, T302)
DELETE1_IN_GAA(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_GAA(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
DELETE1_IN_GAA(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_GAA(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
DELETE1_IN_GAA(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_GAA(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
DELETE1_IN_GAA(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_GAA(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
DELETE1_IN_GAA(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → P116_IN_AGAA(T486, T481, T487, T488)
P116_IN_AGAA(0, s(T493), T494, T495) → U18_AGAA(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
P116_IN_AGAA(0, s(T493), T494, T495) → DELETE1_IN_GAA(s(T493), T494, T495)
DELETE1_IN_GAA(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_GAA(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
DELETE1_IN_GAA(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_GAA(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
DELETE1_IN_GAA(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_GAA(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
P116_IN_AGAA(s(T506), s(T505), T507, T508) → U19_AGAA(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
P116_IN_AGAA(s(T506), s(T505), T507, T508) → P79_IN_AGAA(T506, T505, T507, T508)
DELETE1_IN_GAA(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_GAA(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
DELETE1_IN_GAA(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_GAA(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
DELETE1_IN_GAA(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_GAA(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
DELETE1_IN_GAA(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_GAA(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
DELETE1_IN_GAA(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → DELETE1_IN_GAA(s(T699), T700, T701)
DELETE1_IN_GAA(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_GAA(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
DELETE1_IN_GAA(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → P79_IN_AGAA(T712, T711, T713, T714)
DELETE1_IN_GAA(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_GAA(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
DELETE1_IN_GAA(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_GAA(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
DELETE1_IN_GAA(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_GAA(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
DELETE1_IN_GAA(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_GAA(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
DELETE1_IN_GAA(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_GAA(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
DELETE1_IN_GAA(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_GAA(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
DELETE1_IN_GAA(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_GAA(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
DELETE1_IN_GAA(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_GAA(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
LESS46_IN_AG(s(T194), s(T193)) → LESS46_IN_AG(T194, T193)
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
LESS46_IN_AG(s(T194), s(T193)) → LESS46_IN_AG(T194, T193)
LESS46_IN_AG(s(T193)) → LESS46_IN_AG(T193)
From the DPs we obtained the following set of size-change graphs:
LESS34_IN_GA(s(T150), s(T152)) → LESS34_IN_GA(T150, T152)
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
LESS34_IN_GA(s(T150), s(T152)) → LESS34_IN_GA(T150, T152)
LESS34_IN_GA(s(T150)) → LESS34_IN_GA(T150)
From the DPs we obtained the following set of size-change graphs:
DELMIN19_IN_AAA(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → DELMIN19_IN_AAA(T100, T101, T102)
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
DELMIN19_IN_AAA(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → DELMIN19_IN_AAA(T100, T101, T102)
DELMIN19_IN_AAA → DELMIN19_IN_AAA
DELETE1_IN_GAA(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → P32_IN_GAAA(T127, T132, T133, T134)
P32_IN_GAAA(T127, T132, T137, T138) → U8_GAAA(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_GAAA(T127, T132, T137, T138, less34_out_ga(T127, T132)) → DELETE1_IN_GAA(T127, T137, T138)
DELETE1_IN_GAA(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → P44_IN_AGAA(T174, T169, T175, T176)
P44_IN_AGAA(T174, T169, T179, T180) → U5_AGAA(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_AGAA(T174, T169, T179, T180, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169, T179, T180)
DELETE1_IN_GAA(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → DELETE1_IN_GAA(0, T219, T220)
DELETE1_IN_GAA(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → P72_IN_AGAA(T276, T271, T277, T278)
P72_IN_AGAA(0, s(T283), T284, T285) → DELETE1_IN_GAA(s(T283), T284, T285)
DELETE1_IN_GAA(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → P65_IN_GAAA(T231, T233, T234, T235)
P65_IN_GAAA(T231, T233, T238, T239) → U13_GAAA(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_GAAA(T231, T233, T238, T239, less34_out_ga(T231, T233)) → DELETE1_IN_GAA(s(T231), T238, T239)
DELETE1_IN_GAA(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → P116_IN_AGAA(T486, T481, T487, T488)
P116_IN_AGAA(0, s(T493), T494, T495) → DELETE1_IN_GAA(s(T493), T494, T495)
DELETE1_IN_GAA(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → DELETE1_IN_GAA(s(T699), T700, T701)
DELETE1_IN_GAA(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → P79_IN_AGAA(T712, T711, T713, T714)
P79_IN_AGAA(T296, T295, T301, T302) → U16_AGAA(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_AGAA(T296, T295, T301, T302, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295), T301, T302)
P116_IN_AGAA(s(T506), s(T505), T507, T508) → P79_IN_AGAA(T506, T505, T507, T508)
P72_IN_AGAA(s(T296), s(T295), T297, T298) → P79_IN_AGAA(T296, T295, T297, T298)
delete1_in_gaa(T6, tree(T6, void, T7), T7) → delete1_out_gaa(T6, tree(T6, void, T7), T7)
delete1_in_gaa(T10, tree(T10, T11, void), T11) → delete1_out_gaa(T10, tree(T10, T11, void), T11)
delete1_in_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34)) → delete1_out_gaa(T17, tree(T17, T18, tree(T33, void, T34)), tree(T33, T18, T34))
delete1_in_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64))) → U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_in_aaa(T65, T66, T67))
delmin19_in_aaa(tree(T80, void, T81), T80, T81) → delmin19_out_aaa(tree(T80, void, T81), T80, T81)
delmin19_in_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99)) → U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_in_aaa(T100, T101, T102))
U1_aaa(T94, T100, T96, T101, T102, T99, delmin19_out_aaa(T100, T101, T102)) → delmin19_out_aaa(tree(T94, T100, T96), T101, tree(T94, T102, T99))
U20_gaa(T17, T18, T59, T65, T61, T66, T67, T64, delmin19_out_aaa(T65, T66, T67)) → delete1_out_gaa(T17, tree(T17, T18, tree(T59, T65, T61)), tree(T66, T18, tree(T59, T67, T64)))
delete1_in_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → U21_gaa(T127, T132, T133, T130, T134, p32_in_gaaa(T127, T132, T133, T134))
p32_in_gaaa(T127, T132, T133, T134) → U7_gaaa(T127, T132, T133, T134, less34_in_ga(T127, T132))
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U7_gaaa(T127, T132, T133, T134, less34_out_ga(T127, T132)) → p32_out_gaaa(T127, T132, T133, T134)
p32_in_gaaa(T127, T132, T137, T138) → U8_gaaa(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_gaaa(T127, T132, T137, T138, less34_out_ga(T127, T132)) → U9_gaaa(T127, T132, T137, T138, delete1_in_gaa(T127, T137, T138))
delete1_in_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → U22_gaa(T169, T174, T171, T175, T176, p44_in_agaa(T174, T169, T175, T176))
p44_in_agaa(T174, T169, T175, T176) → U4_agaa(T174, T169, T175, T176, less46_in_ag(T174, T169))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
U4_agaa(T174, T169, T175, T176, less46_out_ag(T174, T169)) → p44_out_agaa(T174, T169, T175, T176)
p44_in_agaa(T174, T169, T179, T180) → U5_agaa(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_agaa(T174, T169, T179, T180, less46_out_ag(T174, T169)) → U6_agaa(T174, T169, T179, T180, delete1_in_gaa(T169, T179, T180))
delete1_in_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → U23_gaa(T218, T219, T209, T220, delete1_in_gaa(0, T219, T220))
delete1_in_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → U24_gaa(T231, T233, T234, T209, T235, p65_in_gaaa(T231, T233, T234, T235))
p65_in_gaaa(T231, T233, T234, T235) → U12_gaaa(T231, T233, T234, T235, less34_in_ga(T231, T233))
U12_gaaa(T231, T233, T234, T235, less34_out_ga(T231, T233)) → p65_out_gaaa(T231, T233, T234, T235)
p65_in_gaaa(T231, T233, T238, T239) → U13_gaaa(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_gaaa(T231, T233, T238, T239, less34_out_ga(T231, T233)) → U14_gaaa(T231, T233, T238, T239, delete1_in_gaa(s(T231), T238, T239))
delete1_in_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263)) → U25_gaa(T256, T261, T258, T262, T263, p44_in_agaa(T261, T256, T262, T263))
U25_gaa(T256, T261, T258, T262, T263, p44_out_agaa(T261, T256, T262, T263)) → delete1_out_gaa(T256, tree(T261, T258, T262), tree(T261, T258, T263))
delete1_in_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → U26_gaa(T271, T276, T273, T277, T278, p72_in_agaa(T276, T271, T277, T278))
p72_in_agaa(0, s(T283), T284, T285) → U10_agaa(T283, T284, T285, delete1_in_gaa(s(T283), T284, T285))
delete1_in_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361))) → U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_in_aaa(T362, T363, T364))
U27_gaa(T314, T315, T356, T362, T358, T363, T364, T361, delmin19_out_aaa(T362, T363, T364)) → delete1_out_gaa(T314, tree(T314, T315, tree(T356, T362, T358)), tree(T363, T315, tree(T356, T364, T361)))
delete1_in_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392)) → U28_gaa(T389, T394, T395, T392, T396, p32_in_gaaa(T389, T394, T395, T396))
U28_gaa(T389, T394, T395, T392, T396, p32_out_gaaa(T389, T394, T395, T396)) → delete1_out_gaa(T389, tree(T394, T395, T392), tree(T394, T396, T392))
delete1_in_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416)) → U29_gaa(T409, T414, T411, T415, T416, p72_in_agaa(T414, T409, T415, T416))
p72_in_agaa(s(T296), s(T295), T297, T298) → U11_agaa(T296, T295, T297, T298, p79_in_agaa(T296, T295, T297, T298))
p79_in_agaa(T296, T295, T297, T298) → U15_agaa(T296, T295, T297, T298, less46_in_ag(T296, T295))
U15_agaa(T296, T295, T297, T298, less46_out_ag(T296, T295)) → p79_out_agaa(T296, T295, T297, T298)
p79_in_agaa(T296, T295, T301, T302) → U16_agaa(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_agaa(T296, T295, T301, T302, less46_out_ag(T296, T295)) → U17_agaa(T296, T295, T301, T302, delete1_in_gaa(s(T295), T301, T302))
delete1_in_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427)) → U30_gaa(T436, T437, T427, T438, delete1_in_gaa(0, T437, T438))
delete1_in_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427)) → U31_gaa(T449, T451, T452, T427, T453, p65_in_gaaa(T449, T451, T452, T453))
U31_gaa(T449, T451, T452, T427, T453, p65_out_gaaa(T449, T451, T452, T453)) → delete1_out_gaa(s(T449), tree(s(T451), T452, T427), tree(s(T451), T453, T427))
delete1_in_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473)) → U32_gaa(T466, T471, T468, T472, T473, p72_in_agaa(T471, T466, T472, T473))
U32_gaa(T466, T471, T468, T472, T473, p72_out_agaa(T471, T466, T472, T473)) → delete1_out_gaa(T466, tree(T471, T468, T472), tree(T471, T468, T473))
delete1_in_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → U33_gaa(T481, T486, T483, T487, T488, p116_in_agaa(T486, T481, T487, T488))
p116_in_agaa(0, s(T493), T494, T495) → U18_agaa(T493, T494, T495, delete1_in_gaa(s(T493), T494, T495))
delete1_in_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567))) → U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_in_aaa(T568, T569, T570))
U34_gaa(T520, T521, T562, T568, T564, T569, T570, T567, delmin19_out_aaa(T568, T569, T570)) → delete1_out_gaa(T520, tree(T520, T521, tree(T562, T568, T564)), tree(T569, T521, tree(T562, T570, T567)))
delete1_in_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598)) → U35_gaa(T595, T600, T601, T598, T602, p32_in_gaaa(T595, T600, T601, T602))
U35_gaa(T595, T600, T601, T598, T602, p32_out_gaaa(T595, T600, T601, T602)) → delete1_out_gaa(T595, tree(T600, T601, T598), tree(T600, T602, T598))
delete1_in_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622)) → U36_gaa(T615, T620, T617, T621, T622, p116_in_agaa(T620, T615, T621, T622))
p116_in_agaa(s(T506), s(T505), T507, T508) → U19_agaa(T506, T505, T507, T508, p79_in_agaa(T506, T505, T507, T508))
U19_agaa(T506, T505, T507, T508, p79_out_agaa(T506, T505, T507, T508)) → p116_out_agaa(s(T506), s(T505), T507, T508)
U36_gaa(T615, T620, T617, T621, T622, p116_out_agaa(T620, T615, T621, T622)) → delete1_out_gaa(T615, tree(T620, T617, T621), tree(T620, T617, T622))
delete1_in_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633)) → U37_gaa(T642, T643, T633, T644, delete1_in_gaa(0, T643, T644))
delete1_in_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633)) → U38_gaa(T655, T657, T658, T633, T659, p65_in_gaaa(T655, T657, T658, T659))
U38_gaa(T655, T657, T658, T633, T659, p65_out_gaaa(T655, T657, T658, T659)) → delete1_out_gaa(s(T655), tree(s(T657), T658, T633), tree(s(T657), T659, T633))
delete1_in_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679)) → U39_gaa(T672, T677, T674, T678, T679, p116_in_agaa(T677, T672, T678, T679))
U39_gaa(T672, T677, T674, T678, T679, p116_out_agaa(T677, T672, T678, T679)) → delete1_out_gaa(T672, tree(T677, T674, T678), tree(T677, T674, T679))
delete1_in_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → U40_gaa(T699, T689, T700, T701, delete1_in_gaa(s(T699), T700, T701))
delete1_in_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → U41_gaa(T711, T712, T689, T713, T714, p79_in_agaa(T712, T711, T713, T714))
U41_gaa(T711, T712, T689, T713, T714, p79_out_agaa(T712, T711, T713, T714)) → delete1_out_gaa(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714))
delete1_in_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769))) → U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_in_aaa(T770, T771, T772))
U42_gaa(T722, T723, T764, T770, T766, T771, T772, T769, delmin19_out_aaa(T770, T771, T772)) → delete1_out_gaa(T722, tree(T722, T723, tree(T764, T770, T766)), tree(T771, T723, tree(T764, T772, T769)))
delete1_in_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800)) → U43_gaa(T797, T802, T803, T800, T804, p32_in_gaaa(T797, T802, T803, T804))
U43_gaa(T797, T802, T803, T800, T804, p32_out_gaaa(T797, T802, T803, T804)) → delete1_out_gaa(T797, tree(T802, T803, T800), tree(T802, T804, T800))
delete1_in_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824)) → U44_gaa(T817, T822, T819, T823, T824, p116_in_agaa(T822, T817, T823, T824))
U44_gaa(T817, T822, T819, T823, T824, p116_out_agaa(T822, T817, T823, T824)) → delete1_out_gaa(T817, tree(T822, T819, T823), tree(T822, T819, T824))
delete1_in_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835)) → U45_gaa(T844, T845, T835, T846, delete1_in_gaa(0, T845, T846))
delete1_in_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835)) → U46_gaa(T857, T859, T860, T835, T861, p65_in_gaaa(T857, T859, T860, T861))
U46_gaa(T857, T859, T860, T835, T861, p65_out_gaaa(T857, T859, T860, T861)) → delete1_out_gaa(s(T857), tree(s(T859), T860, T835), tree(s(T859), T861, T835))
delete1_in_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881)) → U47_gaa(T874, T879, T876, T880, T881, p116_in_agaa(T879, T874, T880, T881))
U47_gaa(T874, T879, T876, T880, T881, p116_out_agaa(T879, T874, T880, T881)) → delete1_out_gaa(T874, tree(T879, T876, T880), tree(T879, T876, T881))
delete1_in_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903)) → U48_gaa(T901, T891, T902, T903, delete1_in_gaa(s(T901), T902, T903))
delete1_in_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916)) → U49_gaa(T913, T914, T891, T915, T916, p79_in_agaa(T914, T913, T915, T916))
U49_gaa(T913, T914, T891, T915, T916, p79_out_agaa(T914, T913, T915, T916)) → delete1_out_gaa(s(T913), tree(s(T914), T891, T915), tree(s(T914), T891, T916))
U48_gaa(T901, T891, T902, T903, delete1_out_gaa(s(T901), T902, T903)) → delete1_out_gaa(s(T901), tree(0, T891, T902), tree(0, T891, T903))
U45_gaa(T844, T845, T835, T846, delete1_out_gaa(0, T845, T846)) → delete1_out_gaa(0, tree(s(T844), T845, T835), tree(s(T844), T846, T835))
U40_gaa(T699, T689, T700, T701, delete1_out_gaa(s(T699), T700, T701)) → delete1_out_gaa(s(T699), tree(0, T689, T700), tree(0, T689, T701))
U37_gaa(T642, T643, T633, T644, delete1_out_gaa(0, T643, T644)) → delete1_out_gaa(0, tree(s(T642), T643, T633), tree(s(T642), T644, T633))
U18_agaa(T493, T494, T495, delete1_out_gaa(s(T493), T494, T495)) → p116_out_agaa(0, s(T493), T494, T495)
U33_gaa(T481, T486, T483, T487, T488, p116_out_agaa(T486, T481, T487, T488)) → delete1_out_gaa(T481, tree(T486, T483, T487), tree(T486, T483, T488))
U30_gaa(T436, T437, T427, T438, delete1_out_gaa(0, T437, T438)) → delete1_out_gaa(0, tree(s(T436), T437, T427), tree(s(T436), T438, T427))
U17_agaa(T296, T295, T301, T302, delete1_out_gaa(s(T295), T301, T302)) → p79_out_agaa(T296, T295, T301, T302)
U11_agaa(T296, T295, T297, T298, p79_out_agaa(T296, T295, T297, T298)) → p72_out_agaa(s(T296), s(T295), T297, T298)
U29_gaa(T409, T414, T411, T415, T416, p72_out_agaa(T414, T409, T415, T416)) → delete1_out_gaa(T409, tree(T414, T411, T415), tree(T414, T411, T416))
U10_agaa(T283, T284, T285, delete1_out_gaa(s(T283), T284, T285)) → p72_out_agaa(0, s(T283), T284, T285)
U26_gaa(T271, T276, T273, T277, T278, p72_out_agaa(T276, T271, T277, T278)) → delete1_out_gaa(T271, tree(T276, T273, T277), tree(T276, T273, T278))
U14_gaaa(T231, T233, T238, T239, delete1_out_gaa(s(T231), T238, T239)) → p65_out_gaaa(T231, T233, T238, T239)
U24_gaa(T231, T233, T234, T209, T235, p65_out_gaaa(T231, T233, T234, T235)) → delete1_out_gaa(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209))
U23_gaa(T218, T219, T209, T220, delete1_out_gaa(0, T219, T220)) → delete1_out_gaa(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209))
U6_agaa(T174, T169, T179, T180, delete1_out_gaa(T169, T179, T180)) → p44_out_agaa(T174, T169, T179, T180)
U22_gaa(T169, T174, T171, T175, T176, p44_out_agaa(T174, T169, T175, T176)) → delete1_out_gaa(T169, tree(T174, T171, T175), tree(T174, T171, T176))
U9_gaaa(T127, T132, T137, T138, delete1_out_gaa(T127, T137, T138)) → p32_out_gaaa(T127, T132, T137, T138)
U21_gaa(T127, T132, T133, T130, T134, p32_out_gaaa(T127, T132, T133, T134)) → delete1_out_gaa(T127, tree(T132, T133, T130), tree(T132, T134, T130))
DELETE1_IN_GAA(T127, tree(T132, T133, T130), tree(T132, T134, T130)) → P32_IN_GAAA(T127, T132, T133, T134)
P32_IN_GAAA(T127, T132, T137, T138) → U8_GAAA(T127, T132, T137, T138, less34_in_ga(T127, T132))
U8_GAAA(T127, T132, T137, T138, less34_out_ga(T127, T132)) → DELETE1_IN_GAA(T127, T137, T138)
DELETE1_IN_GAA(T169, tree(T174, T171, T175), tree(T174, T171, T176)) → P44_IN_AGAA(T174, T169, T175, T176)
P44_IN_AGAA(T174, T169, T179, T180) → U5_AGAA(T174, T169, T179, T180, less46_in_ag(T174, T169))
U5_AGAA(T174, T169, T179, T180, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169, T179, T180)
DELETE1_IN_GAA(0, tree(s(T218), T219, T209), tree(s(T218), T220, T209)) → DELETE1_IN_GAA(0, T219, T220)
DELETE1_IN_GAA(T271, tree(T276, T273, T277), tree(T276, T273, T278)) → P72_IN_AGAA(T276, T271, T277, T278)
P72_IN_AGAA(0, s(T283), T284, T285) → DELETE1_IN_GAA(s(T283), T284, T285)
DELETE1_IN_GAA(s(T231), tree(s(T233), T234, T209), tree(s(T233), T235, T209)) → P65_IN_GAAA(T231, T233, T234, T235)
P65_IN_GAAA(T231, T233, T238, T239) → U13_GAAA(T231, T233, T238, T239, less34_in_ga(T231, T233))
U13_GAAA(T231, T233, T238, T239, less34_out_ga(T231, T233)) → DELETE1_IN_GAA(s(T231), T238, T239)
DELETE1_IN_GAA(T481, tree(T486, T483, T487), tree(T486, T483, T488)) → P116_IN_AGAA(T486, T481, T487, T488)
P116_IN_AGAA(0, s(T493), T494, T495) → DELETE1_IN_GAA(s(T493), T494, T495)
DELETE1_IN_GAA(s(T699), tree(0, T689, T700), tree(0, T689, T701)) → DELETE1_IN_GAA(s(T699), T700, T701)
DELETE1_IN_GAA(s(T711), tree(s(T712), T689, T713), tree(s(T712), T689, T714)) → P79_IN_AGAA(T712, T711, T713, T714)
P79_IN_AGAA(T296, T295, T301, T302) → U16_AGAA(T296, T295, T301, T302, less46_in_ag(T296, T295))
U16_AGAA(T296, T295, T301, T302, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295), T301, T302)
P116_IN_AGAA(s(T506), s(T505), T507, T508) → P79_IN_AGAA(T506, T505, T507, T508)
P72_IN_AGAA(s(T296), s(T295), T297, T298) → P79_IN_AGAA(T296, T295, T297, T298)
less34_in_ga(0, s(T145)) → less34_out_ga(0, s(T145))
less34_in_ga(s(T150), s(T152)) → U2_ga(T150, T152, less34_in_ga(T150, T152))
less46_in_ag(0, s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T194), s(T193)) → U3_ag(T194, T193, less46_in_ag(T194, T193))
U2_ga(T150, T152, less34_out_ga(T150, T152)) → less34_out_ga(s(T150), s(T152))
U3_ag(T194, T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
P32_IN_GAAA(T127) → U8_GAAA(T127, less34_in_ga(T127))
U8_GAAA(T127, less34_out_ga(T127)) → DELETE1_IN_GAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
P44_IN_AGAA(T169) → U5_AGAA(T169, less46_in_ag(T169))
U5_AGAA(T169, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(T231) → U13_GAAA(T231, less34_in_ga(T231))
U13_GAAA(T231, less34_out_ga(T231)) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(T295) → U16_AGAA(T295, less46_in_ag(T295))
U16_AGAA(T295, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga(0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
U8_GAAA(T127, less34_out_ga(T127)) → DELETE1_IN_GAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
P44_IN_AGAA(T169) → U5_AGAA(T169, less46_in_ag(T169))
U5_AGAA(T169, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(T231) → U13_GAAA(T231, less34_in_ga(T231))
U13_GAAA(T231, less34_out_ga(T231)) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(T295) → U16_AGAA(T295, less46_in_ag(T295))
U16_AGAA(T295, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga(0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
U8_GAAA(T127, less34_out_ga(T127)) → DELETE1_IN_GAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
U5_AGAA(T169, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(T231) → U13_GAAA(T231, less34_in_ga(T231))
U13_GAAA(T231, less34_out_ga(T231)) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(T295) → U16_AGAA(T295, less46_in_ag(T295))
U16_AGAA(T295, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga(0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
U8_GAAA(T127, less34_out_ga(T127)) → DELETE1_IN_GAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
U5_AGAA(T169, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
U13_GAAA(T231, less34_out_ga(T231)) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(T295) → U16_AGAA(T295, less46_in_ag(T295))
U16_AGAA(T295, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga(0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
U8_GAAA(T127, less34_out_ga(T127)) → DELETE1_IN_GAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
U5_AGAA(T169, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
U13_GAAA(T231, less34_out_ga(T231)) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
U16_AGAA(T295, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga(0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
U8_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(0)
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
U5_AGAA(T169, less46_out_ag(T174, T169)) → DELETE1_IN_GAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
U13_GAAA(T231, less34_out_ga(T231)) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
U16_AGAA(T295, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga(0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
U8_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(0)
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
U5_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(z0))
U5_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(z0))
DELETE1_IN_GAA(T127) → P32_IN_GAAA(T127)
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
U13_GAAA(T231, less34_out_ga(T231)) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
U16_AGAA(T295, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga(0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
U8_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(0)
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
U5_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(z0))
U5_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(z0))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
DELETE1_IN_GAA(0) → P32_IN_GAAA(0)
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
U13_GAAA(T231, less34_out_ga(T231)) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
U16_AGAA(T295, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga(0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
U8_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(0)
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
U5_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(z0))
U5_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(z0))
DELETE1_IN_GAA(0) → P32_IN_GAAA(0)
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
U5_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(z0))
DELETE1_IN_GAA(T169) → P44_IN_AGAA(T169)
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(z0))
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
U13_GAAA(T231, less34_out_ga(T231)) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
U16_AGAA(T295, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
U5_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(z0))
DELETE1_IN_GAA(T271) → P72_IN_AGAA(T271)
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
U13_GAAA(T231, less34_out_ga(T231)) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
U16_AGAA(T295, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
U5_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
U13_GAAA(T231, less34_out_ga(T231)) → DELETE1_IN_GAA(s(T231))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
U16_AGAA(T295, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
U13_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(s(z0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
U5_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
DELETE1_IN_GAA(T481) → P116_IN_AGAA(T481)
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
U16_AGAA(T295, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(s(z0)))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
U5_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
U16_AGAA(T295, less46_out_ag(T296, T295)) → DELETE1_IN_GAA(s(T295))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
U16_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(s(z0)))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
U5_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
DELETE1_IN_GAA(s(T231)) → P65_IN_GAAA(T231)
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(s(z0)))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
DELETE1_IN_GAA(s(0)) → P65_IN_GAAA(0)
DELETE1_IN_GAA(s(s(y_0))) → P65_IN_GAAA(s(y_0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
U5_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
DELETE1_IN_GAA(s(T711)) → P79_IN_AGAA(T711)
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(0)) → P65_IN_GAAA(0)
DELETE1_IN_GAA(s(s(y_0))) → P65_IN_GAAA(s(y_0))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
DELETE1_IN_GAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
U5_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P116_IN_AGAA(s(T505)) → P79_IN_AGAA(T505)
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(0)) → P65_IN_GAAA(0)
DELETE1_IN_GAA(s(s(y_0))) → P65_IN_GAAA(s(y_0))
DELETE1_IN_GAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
P116_IN_AGAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
U5_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
P72_IN_AGAA(s(T295)) → P79_IN_AGAA(T295)
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(0)) → P65_IN_GAAA(0)
DELETE1_IN_GAA(s(s(y_0))) → P65_IN_GAAA(s(y_0))
DELETE1_IN_GAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
P116_IN_AGAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
P72_IN_AGAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), less46_out_ag(0, s(x0)))
U5_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(z0))
P44_IN_AGAA(s(x0)) → U5_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
U5_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(z0))
P72_IN_AGAA(s(T283)) → DELETE1_IN_GAA(s(T283))
P65_IN_GAAA(0) → U13_GAAA(0, less34_out_ga(0))
P116_IN_AGAA(s(T493)) → DELETE1_IN_GAA(s(T493))
DELETE1_IN_GAA(s(T699)) → DELETE1_IN_GAA(s(T699))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), less46_out_ag(0, s(x0)))
DELETE1_IN_GAA(s(z0)) → P32_IN_GAAA(s(z0))
P32_IN_GAAA(s(x0)) → U8_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
U8_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(z0))
P79_IN_AGAA(s(x0)) → U16_AGAA(s(x0), U3_ag(x0, less46_in_ag(x0)))
P65_IN_GAAA(s(x0)) → U13_GAAA(s(x0), U2_ga(x0, less34_in_ga(x0)))
DELETE1_IN_GAA(s(z0)) → P44_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(z0)) → P72_IN_AGAA(s(z0))
U13_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(s(0))
U13_GAAA(s(z0), less34_out_ga(s(z0))) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(z0)) → P116_IN_AGAA(s(z0))
DELETE1_IN_GAA(s(0)) → P116_IN_AGAA(s(0))
DELETE1_IN_GAA(s(s(z0))) → P116_IN_AGAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(0, s(z0))) → DELETE1_IN_GAA(s(s(z0)))
U16_AGAA(s(z0), less46_out_ag(x1, s(z0))) → DELETE1_IN_GAA(s(s(z0)))
DELETE1_IN_GAA(s(0)) → P65_IN_GAAA(0)
DELETE1_IN_GAA(s(s(y_0))) → P65_IN_GAAA(s(y_0))
DELETE1_IN_GAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
P116_IN_AGAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
P72_IN_AGAA(s(s(y_0))) → P79_IN_AGAA(s(y_0))
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(0) → P32_IN_GAAA(0)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga(0))
U8_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(0)
less34_in_ga(0) → less34_out_ga(0)
less34_in_ga(s(T150)) → U2_ga(T150, less34_in_ga(T150))
less46_in_ag(s(T187)) → less46_out_ag(0, s(T187))
less46_in_ag(s(T193)) → U3_ag(T193, less46_in_ag(T193))
U2_ga(T150, less34_out_ga(T150)) → less34_out_ga(s(T150))
U3_ag(T193, less46_out_ag(T194, T193)) → less46_out_ag(s(T194), s(T193))
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(0) → P32_IN_GAAA(0)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga(0))
U8_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(0)
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
less34_in_ga(x0)
less46_in_ag(x0)
U2_ga(x0, x1)
U3_ag(x0, x1)
DELETE1_IN_GAA(0) → DELETE1_IN_GAA(0)
DELETE1_IN_GAA(0) → P32_IN_GAAA(0)
P32_IN_GAAA(0) → U8_GAAA(0, less34_out_ga(0))
U8_GAAA(0, less34_out_ga(0)) → DELETE1_IN_GAA(0)