0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇒, 188 ms)
↳2 Prolog
↳3 PrologToPiTRSProof (⇒, 81 ms)
↳4 PiTRS
↳5 DependencyPairsProof (⇔, 187 ms)
↳6 PiDP
↳7 DependencyGraphProof (⇔, 6 ms)
↳8 PiDP
↳9 PiDPToQDPProof (⇒, 49 ms)
↳10 QDP
↳11 UsableRulesReductionPairsProof (⇔, 436 ms)
↳12 QDP
↳13 UsableRulesProof (⇔, 0 ms)
↳14 QDP
↳15 QReductionProof (⇔, 18 ms)
↳16 QDP
↳17 MRRProof (⇔, 204 ms)
↳18 QDP
↳19 DependencyGraphProof (⇔, 0 ms)
↳20 TRUE
hidden_flattenB_in_gaa([], T5, T5) → hidden_flattenB_out_gaa([], T5, T5)
hidden_flattenB_in_gaa(.(.(T11, T12), T13), T16, T17) → U12_gaa(T11, T12, T13, T16, T17, pA_in_gaagga(T13, T16, X22, T11, T12, T17))
pA_in_gaagga([], T21, T21, T11, T12, T22) → U1_gaagga(T21, T11, T12, T22, hidden_flattenB_in_gaa(.(T11, T12), T21, T22))
hidden_flattenB_in_gaa(.(T113, []), T121, .(T113, T121)) → hidden_flattenB_out_gaa(.(T113, []), T121, .(T113, T121))
hidden_flattenB_in_gaa(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148)) → U13_gaa(T113, T142, T143, T144, T147, T148, pA_in_gaagga(T144, T147, X214, T142, T143, T148))
pA_in_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T44) → U2_gaagga(T39, T40, T41, T43, X71, T11, T12, T44, hidden_flattenC_in_gaa(T41, T43, X70))
hidden_flattenC_in_gaa([], T53, T53) → hidden_flattenC_out_gaa([], T53, T53)
hidden_flattenC_in_gaa(.(.(T70, T71), T72), T74, X120) → U8_gaa(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, X119))
hidden_flattenC_in_gaa(.(.(T70, T71), T72), T74, X120) → U9_gaa(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, T77))
hidden_flattenC_in_gaa(.(T86, T87), T89, .(T86, X141)) → U11_gaa(T86, T87, T89, X141, hidden_flattenC_in_gaa(T87, T89, X141))
U11_gaa(T86, T87, T89, X141, hidden_flattenC_out_gaa(T87, T89, X141)) → hidden_flattenC_out_gaa(.(T86, T87), T89, .(T86, X141))
U9_gaa(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, T77)) → U10_gaa(T70, T71, T72, T74, X120, hidden_flattenB_in_gaa(.(T70, T71), T77, X120))
hidden_flattenB_in_gaa(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164))) → U14_gaa(T113, T159, T160, T163, T164, hidden_flattenB_in_gaa(T160, T163, T164))
U14_gaa(T113, T159, T160, T163, T164, hidden_flattenB_out_gaa(T160, T163, T164)) → hidden_flattenB_out_gaa(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164)))
U10_gaa(T70, T71, T72, T74, X120, hidden_flattenB_out_gaa(.(T70, T71), T77, X120)) → hidden_flattenC_out_gaa(.(.(T70, T71), T72), T74, X120)
U8_gaa(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, X119)) → hidden_flattenC_out_gaa(.(.(T70, T71), T72), T74, X120)
U2_gaagga(T39, T40, T41, T43, X71, T11, T12, T44, hidden_flattenC_out_gaa(T41, T43, X70)) → pA_out_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T44)
pA_in_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T48) → U3_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_in_gaa(T41, T43, T47))
U3_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_out_gaa(T41, T43, T47)) → U4_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, pA_in_gaagga(.(T39, T40), T47, X71, T11, T12, T48))
pA_in_gaagga(.(T98, T99), T101, .(T98, X160), T11, T12, T102) → U5_gaagga(T98, T99, T101, X160, T11, T12, T102, hidden_flattenC_in_gaa(T99, T101, X160))
U5_gaagga(T98, T99, T101, X160, T11, T12, T102, hidden_flattenC_out_gaa(T99, T101, X160)) → pA_out_gaagga(.(T98, T99), T101, .(T98, X160), T11, T12, T102)
pA_in_gaagga(.(T98, T99), T101, .(T98, T105), T11, T12, T106) → U6_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_in_gaa(T99, T101, T105))
U6_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_out_gaa(T99, T101, T105)) → U7_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenB_in_gaa(.(T11, T12), .(T98, T105), T106))
U7_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenB_out_gaa(.(T11, T12), .(T98, T105), T106)) → pA_out_gaagga(.(T98, T99), T101, .(T98, T105), T11, T12, T106)
U4_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, pA_out_gaagga(.(T39, T40), T47, X71, T11, T12, T48)) → pA_out_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T48)
U13_gaa(T113, T142, T143, T144, T147, T148, pA_out_gaagga(T144, T147, X214, T142, T143, T148)) → hidden_flattenB_out_gaa(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148))
U1_gaagga(T21, T11, T12, T22, hidden_flattenB_out_gaa(.(T11, T12), T21, T22)) → pA_out_gaagga([], T21, T21, T11, T12, T22)
U12_gaa(T11, T12, T13, T16, T17, pA_out_gaagga(T13, T16, X22, T11, T12, T17)) → hidden_flattenB_out_gaa(.(.(T11, T12), T13), T16, T17)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
hidden_flattenB_in_gaa([], T5, T5) → hidden_flattenB_out_gaa([], T5, T5)
hidden_flattenB_in_gaa(.(.(T11, T12), T13), T16, T17) → U12_gaa(T11, T12, T13, T16, T17, pA_in_gaagga(T13, T16, X22, T11, T12, T17))
pA_in_gaagga([], T21, T21, T11, T12, T22) → U1_gaagga(T21, T11, T12, T22, hidden_flattenB_in_gaa(.(T11, T12), T21, T22))
hidden_flattenB_in_gaa(.(T113, []), T121, .(T113, T121)) → hidden_flattenB_out_gaa(.(T113, []), T121, .(T113, T121))
hidden_flattenB_in_gaa(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148)) → U13_gaa(T113, T142, T143, T144, T147, T148, pA_in_gaagga(T144, T147, X214, T142, T143, T148))
pA_in_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T44) → U2_gaagga(T39, T40, T41, T43, X71, T11, T12, T44, hidden_flattenC_in_gaa(T41, T43, X70))
hidden_flattenC_in_gaa([], T53, T53) → hidden_flattenC_out_gaa([], T53, T53)
hidden_flattenC_in_gaa(.(.(T70, T71), T72), T74, X120) → U8_gaa(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, X119))
hidden_flattenC_in_gaa(.(.(T70, T71), T72), T74, X120) → U9_gaa(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, T77))
hidden_flattenC_in_gaa(.(T86, T87), T89, .(T86, X141)) → U11_gaa(T86, T87, T89, X141, hidden_flattenC_in_gaa(T87, T89, X141))
U11_gaa(T86, T87, T89, X141, hidden_flattenC_out_gaa(T87, T89, X141)) → hidden_flattenC_out_gaa(.(T86, T87), T89, .(T86, X141))
U9_gaa(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, T77)) → U10_gaa(T70, T71, T72, T74, X120, hidden_flattenB_in_gaa(.(T70, T71), T77, X120))
hidden_flattenB_in_gaa(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164))) → U14_gaa(T113, T159, T160, T163, T164, hidden_flattenB_in_gaa(T160, T163, T164))
U14_gaa(T113, T159, T160, T163, T164, hidden_flattenB_out_gaa(T160, T163, T164)) → hidden_flattenB_out_gaa(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164)))
U10_gaa(T70, T71, T72, T74, X120, hidden_flattenB_out_gaa(.(T70, T71), T77, X120)) → hidden_flattenC_out_gaa(.(.(T70, T71), T72), T74, X120)
U8_gaa(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, X119)) → hidden_flattenC_out_gaa(.(.(T70, T71), T72), T74, X120)
U2_gaagga(T39, T40, T41, T43, X71, T11, T12, T44, hidden_flattenC_out_gaa(T41, T43, X70)) → pA_out_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T44)
pA_in_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T48) → U3_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_in_gaa(T41, T43, T47))
U3_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_out_gaa(T41, T43, T47)) → U4_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, pA_in_gaagga(.(T39, T40), T47, X71, T11, T12, T48))
pA_in_gaagga(.(T98, T99), T101, .(T98, X160), T11, T12, T102) → U5_gaagga(T98, T99, T101, X160, T11, T12, T102, hidden_flattenC_in_gaa(T99, T101, X160))
U5_gaagga(T98, T99, T101, X160, T11, T12, T102, hidden_flattenC_out_gaa(T99, T101, X160)) → pA_out_gaagga(.(T98, T99), T101, .(T98, X160), T11, T12, T102)
pA_in_gaagga(.(T98, T99), T101, .(T98, T105), T11, T12, T106) → U6_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_in_gaa(T99, T101, T105))
U6_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_out_gaa(T99, T101, T105)) → U7_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenB_in_gaa(.(T11, T12), .(T98, T105), T106))
U7_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenB_out_gaa(.(T11, T12), .(T98, T105), T106)) → pA_out_gaagga(.(T98, T99), T101, .(T98, T105), T11, T12, T106)
U4_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, pA_out_gaagga(.(T39, T40), T47, X71, T11, T12, T48)) → pA_out_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T48)
U13_gaa(T113, T142, T143, T144, T147, T148, pA_out_gaagga(T144, T147, X214, T142, T143, T148)) → hidden_flattenB_out_gaa(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148))
U1_gaagga(T21, T11, T12, T22, hidden_flattenB_out_gaa(.(T11, T12), T21, T22)) → pA_out_gaagga([], T21, T21, T11, T12, T22)
U12_gaa(T11, T12, T13, T16, T17, pA_out_gaagga(T13, T16, X22, T11, T12, T17)) → hidden_flattenB_out_gaa(.(.(T11, T12), T13), T16, T17)
HIDDEN_FLATTENB_IN_GAA(.(.(T11, T12), T13), T16, T17) → U12_GAA(T11, T12, T13, T16, T17, pA_in_gaagga(T13, T16, X22, T11, T12, T17))
HIDDEN_FLATTENB_IN_GAA(.(.(T11, T12), T13), T16, T17) → PA_IN_GAAGGA(T13, T16, X22, T11, T12, T17)
PA_IN_GAAGGA([], T21, T21, T11, T12, T22) → U1_GAAGGA(T21, T11, T12, T22, hidden_flattenB_in_gaa(.(T11, T12), T21, T22))
PA_IN_GAAGGA([], T21, T21, T11, T12, T22) → HIDDEN_FLATTENB_IN_GAA(.(T11, T12), T21, T22)
HIDDEN_FLATTENB_IN_GAA(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148)) → U13_GAA(T113, T142, T143, T144, T147, T148, pA_in_gaagga(T144, T147, X214, T142, T143, T148))
HIDDEN_FLATTENB_IN_GAA(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148)) → PA_IN_GAAGGA(T144, T147, X214, T142, T143, T148)
PA_IN_GAAGGA(.(.(T39, T40), T41), T43, X71, T11, T12, T44) → U2_GAAGGA(T39, T40, T41, T43, X71, T11, T12, T44, hidden_flattenC_in_gaa(T41, T43, X70))
PA_IN_GAAGGA(.(.(T39, T40), T41), T43, X71, T11, T12, T44) → HIDDEN_FLATTENC_IN_GAA(T41, T43, X70)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72), T74, X120) → U8_GAA(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, X119))
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72), T74, X120) → HIDDEN_FLATTENC_IN_GAA(T72, T74, X119)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72), T74, X120) → U9_GAA(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, T77))
HIDDEN_FLATTENC_IN_GAA(.(T86, T87), T89, .(T86, X141)) → U11_GAA(T86, T87, T89, X141, hidden_flattenC_in_gaa(T87, T89, X141))
HIDDEN_FLATTENC_IN_GAA(.(T86, T87), T89, .(T86, X141)) → HIDDEN_FLATTENC_IN_GAA(T87, T89, X141)
U9_GAA(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, T77)) → U10_GAA(T70, T71, T72, T74, X120, hidden_flattenB_in_gaa(.(T70, T71), T77, X120))
U9_GAA(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, T77)) → HIDDEN_FLATTENB_IN_GAA(.(T70, T71), T77, X120)
HIDDEN_FLATTENB_IN_GAA(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164))) → U14_GAA(T113, T159, T160, T163, T164, hidden_flattenB_in_gaa(T160, T163, T164))
HIDDEN_FLATTENB_IN_GAA(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164))) → HIDDEN_FLATTENB_IN_GAA(T160, T163, T164)
PA_IN_GAAGGA(.(.(T39, T40), T41), T43, X71, T11, T12, T48) → U3_GAAGGA(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_in_gaa(T41, T43, T47))
U3_GAAGGA(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_out_gaa(T41, T43, T47)) → U4_GAAGGA(T39, T40, T41, T43, X71, T11, T12, T48, pA_in_gaagga(.(T39, T40), T47, X71, T11, T12, T48))
U3_GAAGGA(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_out_gaa(T41, T43, T47)) → PA_IN_GAAGGA(.(T39, T40), T47, X71, T11, T12, T48)
PA_IN_GAAGGA(.(T98, T99), T101, .(T98, X160), T11, T12, T102) → U5_GAAGGA(T98, T99, T101, X160, T11, T12, T102, hidden_flattenC_in_gaa(T99, T101, X160))
PA_IN_GAAGGA(.(T98, T99), T101, .(T98, X160), T11, T12, T102) → HIDDEN_FLATTENC_IN_GAA(T99, T101, X160)
PA_IN_GAAGGA(.(T98, T99), T101, .(T98, T105), T11, T12, T106) → U6_GAAGGA(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_in_gaa(T99, T101, T105))
U6_GAAGGA(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_out_gaa(T99, T101, T105)) → U7_GAAGGA(T98, T99, T101, T105, T11, T12, T106, hidden_flattenB_in_gaa(.(T11, T12), .(T98, T105), T106))
U6_GAAGGA(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_out_gaa(T99, T101, T105)) → HIDDEN_FLATTENB_IN_GAA(.(T11, T12), .(T98, T105), T106)
hidden_flattenB_in_gaa([], T5, T5) → hidden_flattenB_out_gaa([], T5, T5)
hidden_flattenB_in_gaa(.(.(T11, T12), T13), T16, T17) → U12_gaa(T11, T12, T13, T16, T17, pA_in_gaagga(T13, T16, X22, T11, T12, T17))
pA_in_gaagga([], T21, T21, T11, T12, T22) → U1_gaagga(T21, T11, T12, T22, hidden_flattenB_in_gaa(.(T11, T12), T21, T22))
hidden_flattenB_in_gaa(.(T113, []), T121, .(T113, T121)) → hidden_flattenB_out_gaa(.(T113, []), T121, .(T113, T121))
hidden_flattenB_in_gaa(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148)) → U13_gaa(T113, T142, T143, T144, T147, T148, pA_in_gaagga(T144, T147, X214, T142, T143, T148))
pA_in_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T44) → U2_gaagga(T39, T40, T41, T43, X71, T11, T12, T44, hidden_flattenC_in_gaa(T41, T43, X70))
hidden_flattenC_in_gaa([], T53, T53) → hidden_flattenC_out_gaa([], T53, T53)
hidden_flattenC_in_gaa(.(.(T70, T71), T72), T74, X120) → U8_gaa(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, X119))
hidden_flattenC_in_gaa(.(.(T70, T71), T72), T74, X120) → U9_gaa(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, T77))
hidden_flattenC_in_gaa(.(T86, T87), T89, .(T86, X141)) → U11_gaa(T86, T87, T89, X141, hidden_flattenC_in_gaa(T87, T89, X141))
U11_gaa(T86, T87, T89, X141, hidden_flattenC_out_gaa(T87, T89, X141)) → hidden_flattenC_out_gaa(.(T86, T87), T89, .(T86, X141))
U9_gaa(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, T77)) → U10_gaa(T70, T71, T72, T74, X120, hidden_flattenB_in_gaa(.(T70, T71), T77, X120))
hidden_flattenB_in_gaa(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164))) → U14_gaa(T113, T159, T160, T163, T164, hidden_flattenB_in_gaa(T160, T163, T164))
U14_gaa(T113, T159, T160, T163, T164, hidden_flattenB_out_gaa(T160, T163, T164)) → hidden_flattenB_out_gaa(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164)))
U10_gaa(T70, T71, T72, T74, X120, hidden_flattenB_out_gaa(.(T70, T71), T77, X120)) → hidden_flattenC_out_gaa(.(.(T70, T71), T72), T74, X120)
U8_gaa(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, X119)) → hidden_flattenC_out_gaa(.(.(T70, T71), T72), T74, X120)
U2_gaagga(T39, T40, T41, T43, X71, T11, T12, T44, hidden_flattenC_out_gaa(T41, T43, X70)) → pA_out_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T44)
pA_in_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T48) → U3_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_in_gaa(T41, T43, T47))
U3_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_out_gaa(T41, T43, T47)) → U4_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, pA_in_gaagga(.(T39, T40), T47, X71, T11, T12, T48))
pA_in_gaagga(.(T98, T99), T101, .(T98, X160), T11, T12, T102) → U5_gaagga(T98, T99, T101, X160, T11, T12, T102, hidden_flattenC_in_gaa(T99, T101, X160))
U5_gaagga(T98, T99, T101, X160, T11, T12, T102, hidden_flattenC_out_gaa(T99, T101, X160)) → pA_out_gaagga(.(T98, T99), T101, .(T98, X160), T11, T12, T102)
pA_in_gaagga(.(T98, T99), T101, .(T98, T105), T11, T12, T106) → U6_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_in_gaa(T99, T101, T105))
U6_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_out_gaa(T99, T101, T105)) → U7_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenB_in_gaa(.(T11, T12), .(T98, T105), T106))
U7_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenB_out_gaa(.(T11, T12), .(T98, T105), T106)) → pA_out_gaagga(.(T98, T99), T101, .(T98, T105), T11, T12, T106)
U4_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, pA_out_gaagga(.(T39, T40), T47, X71, T11, T12, T48)) → pA_out_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T48)
U13_gaa(T113, T142, T143, T144, T147, T148, pA_out_gaagga(T144, T147, X214, T142, T143, T148)) → hidden_flattenB_out_gaa(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148))
U1_gaagga(T21, T11, T12, T22, hidden_flattenB_out_gaa(.(T11, T12), T21, T22)) → pA_out_gaagga([], T21, T21, T11, T12, T22)
U12_gaa(T11, T12, T13, T16, T17, pA_out_gaagga(T13, T16, X22, T11, T12, T17)) → hidden_flattenB_out_gaa(.(.(T11, T12), T13), T16, T17)
HIDDEN_FLATTENB_IN_GAA(.(.(T11, T12), T13), T16, T17) → U12_GAA(T11, T12, T13, T16, T17, pA_in_gaagga(T13, T16, X22, T11, T12, T17))
HIDDEN_FLATTENB_IN_GAA(.(.(T11, T12), T13), T16, T17) → PA_IN_GAAGGA(T13, T16, X22, T11, T12, T17)
PA_IN_GAAGGA([], T21, T21, T11, T12, T22) → U1_GAAGGA(T21, T11, T12, T22, hidden_flattenB_in_gaa(.(T11, T12), T21, T22))
PA_IN_GAAGGA([], T21, T21, T11, T12, T22) → HIDDEN_FLATTENB_IN_GAA(.(T11, T12), T21, T22)
HIDDEN_FLATTENB_IN_GAA(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148)) → U13_GAA(T113, T142, T143, T144, T147, T148, pA_in_gaagga(T144, T147, X214, T142, T143, T148))
HIDDEN_FLATTENB_IN_GAA(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148)) → PA_IN_GAAGGA(T144, T147, X214, T142, T143, T148)
PA_IN_GAAGGA(.(.(T39, T40), T41), T43, X71, T11, T12, T44) → U2_GAAGGA(T39, T40, T41, T43, X71, T11, T12, T44, hidden_flattenC_in_gaa(T41, T43, X70))
PA_IN_GAAGGA(.(.(T39, T40), T41), T43, X71, T11, T12, T44) → HIDDEN_FLATTENC_IN_GAA(T41, T43, X70)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72), T74, X120) → U8_GAA(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, X119))
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72), T74, X120) → HIDDEN_FLATTENC_IN_GAA(T72, T74, X119)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72), T74, X120) → U9_GAA(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, T77))
HIDDEN_FLATTENC_IN_GAA(.(T86, T87), T89, .(T86, X141)) → U11_GAA(T86, T87, T89, X141, hidden_flattenC_in_gaa(T87, T89, X141))
HIDDEN_FLATTENC_IN_GAA(.(T86, T87), T89, .(T86, X141)) → HIDDEN_FLATTENC_IN_GAA(T87, T89, X141)
U9_GAA(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, T77)) → U10_GAA(T70, T71, T72, T74, X120, hidden_flattenB_in_gaa(.(T70, T71), T77, X120))
U9_GAA(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, T77)) → HIDDEN_FLATTENB_IN_GAA(.(T70, T71), T77, X120)
HIDDEN_FLATTENB_IN_GAA(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164))) → U14_GAA(T113, T159, T160, T163, T164, hidden_flattenB_in_gaa(T160, T163, T164))
HIDDEN_FLATTENB_IN_GAA(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164))) → HIDDEN_FLATTENB_IN_GAA(T160, T163, T164)
PA_IN_GAAGGA(.(.(T39, T40), T41), T43, X71, T11, T12, T48) → U3_GAAGGA(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_in_gaa(T41, T43, T47))
U3_GAAGGA(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_out_gaa(T41, T43, T47)) → U4_GAAGGA(T39, T40, T41, T43, X71, T11, T12, T48, pA_in_gaagga(.(T39, T40), T47, X71, T11, T12, T48))
U3_GAAGGA(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_out_gaa(T41, T43, T47)) → PA_IN_GAAGGA(.(T39, T40), T47, X71, T11, T12, T48)
PA_IN_GAAGGA(.(T98, T99), T101, .(T98, X160), T11, T12, T102) → U5_GAAGGA(T98, T99, T101, X160, T11, T12, T102, hidden_flattenC_in_gaa(T99, T101, X160))
PA_IN_GAAGGA(.(T98, T99), T101, .(T98, X160), T11, T12, T102) → HIDDEN_FLATTENC_IN_GAA(T99, T101, X160)
PA_IN_GAAGGA(.(T98, T99), T101, .(T98, T105), T11, T12, T106) → U6_GAAGGA(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_in_gaa(T99, T101, T105))
U6_GAAGGA(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_out_gaa(T99, T101, T105)) → U7_GAAGGA(T98, T99, T101, T105, T11, T12, T106, hidden_flattenB_in_gaa(.(T11, T12), .(T98, T105), T106))
U6_GAAGGA(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_out_gaa(T99, T101, T105)) → HIDDEN_FLATTENB_IN_GAA(.(T11, T12), .(T98, T105), T106)
hidden_flattenB_in_gaa([], T5, T5) → hidden_flattenB_out_gaa([], T5, T5)
hidden_flattenB_in_gaa(.(.(T11, T12), T13), T16, T17) → U12_gaa(T11, T12, T13, T16, T17, pA_in_gaagga(T13, T16, X22, T11, T12, T17))
pA_in_gaagga([], T21, T21, T11, T12, T22) → U1_gaagga(T21, T11, T12, T22, hidden_flattenB_in_gaa(.(T11, T12), T21, T22))
hidden_flattenB_in_gaa(.(T113, []), T121, .(T113, T121)) → hidden_flattenB_out_gaa(.(T113, []), T121, .(T113, T121))
hidden_flattenB_in_gaa(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148)) → U13_gaa(T113, T142, T143, T144, T147, T148, pA_in_gaagga(T144, T147, X214, T142, T143, T148))
pA_in_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T44) → U2_gaagga(T39, T40, T41, T43, X71, T11, T12, T44, hidden_flattenC_in_gaa(T41, T43, X70))
hidden_flattenC_in_gaa([], T53, T53) → hidden_flattenC_out_gaa([], T53, T53)
hidden_flattenC_in_gaa(.(.(T70, T71), T72), T74, X120) → U8_gaa(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, X119))
hidden_flattenC_in_gaa(.(.(T70, T71), T72), T74, X120) → U9_gaa(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, T77))
hidden_flattenC_in_gaa(.(T86, T87), T89, .(T86, X141)) → U11_gaa(T86, T87, T89, X141, hidden_flattenC_in_gaa(T87, T89, X141))
U11_gaa(T86, T87, T89, X141, hidden_flattenC_out_gaa(T87, T89, X141)) → hidden_flattenC_out_gaa(.(T86, T87), T89, .(T86, X141))
U9_gaa(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, T77)) → U10_gaa(T70, T71, T72, T74, X120, hidden_flattenB_in_gaa(.(T70, T71), T77, X120))
hidden_flattenB_in_gaa(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164))) → U14_gaa(T113, T159, T160, T163, T164, hidden_flattenB_in_gaa(T160, T163, T164))
U14_gaa(T113, T159, T160, T163, T164, hidden_flattenB_out_gaa(T160, T163, T164)) → hidden_flattenB_out_gaa(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164)))
U10_gaa(T70, T71, T72, T74, X120, hidden_flattenB_out_gaa(.(T70, T71), T77, X120)) → hidden_flattenC_out_gaa(.(.(T70, T71), T72), T74, X120)
U8_gaa(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, X119)) → hidden_flattenC_out_gaa(.(.(T70, T71), T72), T74, X120)
U2_gaagga(T39, T40, T41, T43, X71, T11, T12, T44, hidden_flattenC_out_gaa(T41, T43, X70)) → pA_out_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T44)
pA_in_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T48) → U3_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_in_gaa(T41, T43, T47))
U3_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_out_gaa(T41, T43, T47)) → U4_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, pA_in_gaagga(.(T39, T40), T47, X71, T11, T12, T48))
pA_in_gaagga(.(T98, T99), T101, .(T98, X160), T11, T12, T102) → U5_gaagga(T98, T99, T101, X160, T11, T12, T102, hidden_flattenC_in_gaa(T99, T101, X160))
U5_gaagga(T98, T99, T101, X160, T11, T12, T102, hidden_flattenC_out_gaa(T99, T101, X160)) → pA_out_gaagga(.(T98, T99), T101, .(T98, X160), T11, T12, T102)
pA_in_gaagga(.(T98, T99), T101, .(T98, T105), T11, T12, T106) → U6_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_in_gaa(T99, T101, T105))
U6_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_out_gaa(T99, T101, T105)) → U7_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenB_in_gaa(.(T11, T12), .(T98, T105), T106))
U7_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenB_out_gaa(.(T11, T12), .(T98, T105), T106)) → pA_out_gaagga(.(T98, T99), T101, .(T98, T105), T11, T12, T106)
U4_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, pA_out_gaagga(.(T39, T40), T47, X71, T11, T12, T48)) → pA_out_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T48)
U13_gaa(T113, T142, T143, T144, T147, T148, pA_out_gaagga(T144, T147, X214, T142, T143, T148)) → hidden_flattenB_out_gaa(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148))
U1_gaagga(T21, T11, T12, T22, hidden_flattenB_out_gaa(.(T11, T12), T21, T22)) → pA_out_gaagga([], T21, T21, T11, T12, T22)
U12_gaa(T11, T12, T13, T16, T17, pA_out_gaagga(T13, T16, X22, T11, T12, T17)) → hidden_flattenB_out_gaa(.(.(T11, T12), T13), T16, T17)
HIDDEN_FLATTENB_IN_GAA(.(.(T11, T12), T13), T16, T17) → PA_IN_GAAGGA(T13, T16, X22, T11, T12, T17)
PA_IN_GAAGGA([], T21, T21, T11, T12, T22) → HIDDEN_FLATTENB_IN_GAA(.(T11, T12), T21, T22)
HIDDEN_FLATTENB_IN_GAA(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148)) → PA_IN_GAAGGA(T144, T147, X214, T142, T143, T148)
PA_IN_GAAGGA(.(.(T39, T40), T41), T43, X71, T11, T12, T44) → HIDDEN_FLATTENC_IN_GAA(T41, T43, X70)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72), T74, X120) → HIDDEN_FLATTENC_IN_GAA(T72, T74, X119)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72), T74, X120) → U9_GAA(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, T77))
U9_GAA(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, T77)) → HIDDEN_FLATTENB_IN_GAA(.(T70, T71), T77, X120)
HIDDEN_FLATTENB_IN_GAA(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164))) → HIDDEN_FLATTENB_IN_GAA(T160, T163, T164)
HIDDEN_FLATTENC_IN_GAA(.(T86, T87), T89, .(T86, X141)) → HIDDEN_FLATTENC_IN_GAA(T87, T89, X141)
PA_IN_GAAGGA(.(.(T39, T40), T41), T43, X71, T11, T12, T48) → U3_GAAGGA(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_in_gaa(T41, T43, T47))
U3_GAAGGA(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_out_gaa(T41, T43, T47)) → PA_IN_GAAGGA(.(T39, T40), T47, X71, T11, T12, T48)
PA_IN_GAAGGA(.(T98, T99), T101, .(T98, X160), T11, T12, T102) → HIDDEN_FLATTENC_IN_GAA(T99, T101, X160)
PA_IN_GAAGGA(.(T98, T99), T101, .(T98, T105), T11, T12, T106) → U6_GAAGGA(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_in_gaa(T99, T101, T105))
U6_GAAGGA(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_out_gaa(T99, T101, T105)) → HIDDEN_FLATTENB_IN_GAA(.(T11, T12), .(T98, T105), T106)
hidden_flattenB_in_gaa([], T5, T5) → hidden_flattenB_out_gaa([], T5, T5)
hidden_flattenB_in_gaa(.(.(T11, T12), T13), T16, T17) → U12_gaa(T11, T12, T13, T16, T17, pA_in_gaagga(T13, T16, X22, T11, T12, T17))
pA_in_gaagga([], T21, T21, T11, T12, T22) → U1_gaagga(T21, T11, T12, T22, hidden_flattenB_in_gaa(.(T11, T12), T21, T22))
hidden_flattenB_in_gaa(.(T113, []), T121, .(T113, T121)) → hidden_flattenB_out_gaa(.(T113, []), T121, .(T113, T121))
hidden_flattenB_in_gaa(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148)) → U13_gaa(T113, T142, T143, T144, T147, T148, pA_in_gaagga(T144, T147, X214, T142, T143, T148))
pA_in_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T44) → U2_gaagga(T39, T40, T41, T43, X71, T11, T12, T44, hidden_flattenC_in_gaa(T41, T43, X70))
hidden_flattenC_in_gaa([], T53, T53) → hidden_flattenC_out_gaa([], T53, T53)
hidden_flattenC_in_gaa(.(.(T70, T71), T72), T74, X120) → U8_gaa(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, X119))
hidden_flattenC_in_gaa(.(.(T70, T71), T72), T74, X120) → U9_gaa(T70, T71, T72, T74, X120, hidden_flattenC_in_gaa(T72, T74, T77))
hidden_flattenC_in_gaa(.(T86, T87), T89, .(T86, X141)) → U11_gaa(T86, T87, T89, X141, hidden_flattenC_in_gaa(T87, T89, X141))
U11_gaa(T86, T87, T89, X141, hidden_flattenC_out_gaa(T87, T89, X141)) → hidden_flattenC_out_gaa(.(T86, T87), T89, .(T86, X141))
U9_gaa(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, T77)) → U10_gaa(T70, T71, T72, T74, X120, hidden_flattenB_in_gaa(.(T70, T71), T77, X120))
hidden_flattenB_in_gaa(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164))) → U14_gaa(T113, T159, T160, T163, T164, hidden_flattenB_in_gaa(T160, T163, T164))
U14_gaa(T113, T159, T160, T163, T164, hidden_flattenB_out_gaa(T160, T163, T164)) → hidden_flattenB_out_gaa(.(T113, .(T159, T160)), T163, .(T113, .(T159, T164)))
U10_gaa(T70, T71, T72, T74, X120, hidden_flattenB_out_gaa(.(T70, T71), T77, X120)) → hidden_flattenC_out_gaa(.(.(T70, T71), T72), T74, X120)
U8_gaa(T70, T71, T72, T74, X120, hidden_flattenC_out_gaa(T72, T74, X119)) → hidden_flattenC_out_gaa(.(.(T70, T71), T72), T74, X120)
U2_gaagga(T39, T40, T41, T43, X71, T11, T12, T44, hidden_flattenC_out_gaa(T41, T43, X70)) → pA_out_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T44)
pA_in_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T48) → U3_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_in_gaa(T41, T43, T47))
U3_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, hidden_flattenC_out_gaa(T41, T43, T47)) → U4_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, pA_in_gaagga(.(T39, T40), T47, X71, T11, T12, T48))
pA_in_gaagga(.(T98, T99), T101, .(T98, X160), T11, T12, T102) → U5_gaagga(T98, T99, T101, X160, T11, T12, T102, hidden_flattenC_in_gaa(T99, T101, X160))
U5_gaagga(T98, T99, T101, X160, T11, T12, T102, hidden_flattenC_out_gaa(T99, T101, X160)) → pA_out_gaagga(.(T98, T99), T101, .(T98, X160), T11, T12, T102)
pA_in_gaagga(.(T98, T99), T101, .(T98, T105), T11, T12, T106) → U6_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_in_gaa(T99, T101, T105))
U6_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenC_out_gaa(T99, T101, T105)) → U7_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenB_in_gaa(.(T11, T12), .(T98, T105), T106))
U7_gaagga(T98, T99, T101, T105, T11, T12, T106, hidden_flattenB_out_gaa(.(T11, T12), .(T98, T105), T106)) → pA_out_gaagga(.(T98, T99), T101, .(T98, T105), T11, T12, T106)
U4_gaagga(T39, T40, T41, T43, X71, T11, T12, T48, pA_out_gaagga(.(T39, T40), T47, X71, T11, T12, T48)) → pA_out_gaagga(.(.(T39, T40), T41), T43, X71, T11, T12, T48)
U13_gaa(T113, T142, T143, T144, T147, T148, pA_out_gaagga(T144, T147, X214, T142, T143, T148)) → hidden_flattenB_out_gaa(.(T113, .(.(T142, T143), T144)), T147, .(T113, T148))
U1_gaagga(T21, T11, T12, T22, hidden_flattenB_out_gaa(.(T11, T12), T21, T22)) → pA_out_gaagga([], T21, T21, T11, T12, T22)
U12_gaa(T11, T12, T13, T16, T17, pA_out_gaagga(T13, T16, X22, T11, T12, T17)) → hidden_flattenB_out_gaa(.(.(T11, T12), T13), T16, T17)
HIDDEN_FLATTENB_IN_GAA(.(.(T11, T12), T13)) → PA_IN_GAAGGA(T13, T11, T12)
PA_IN_GAAGGA([], T11, T12) → HIDDEN_FLATTENB_IN_GAA(.(T11, T12))
HIDDEN_FLATTENB_IN_GAA(.(T113, .(.(T142, T143), T144))) → PA_IN_GAAGGA(T144, T142, T143)
PA_IN_GAAGGA(.(.(T39, T40), T41), T11, T12) → HIDDEN_FLATTENC_IN_GAA(T41)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72)) → HIDDEN_FLATTENC_IN_GAA(T72)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72)) → U9_GAA(T70, T71, hidden_flattenC_in_gaa(T72))
U9_GAA(T70, T71, hidden_flattenC_out_gaa) → HIDDEN_FLATTENB_IN_GAA(.(T70, T71))
HIDDEN_FLATTENB_IN_GAA(.(T113, .(T159, T160))) → HIDDEN_FLATTENB_IN_GAA(T160)
HIDDEN_FLATTENC_IN_GAA(.(T86, T87)) → HIDDEN_FLATTENC_IN_GAA(T87)
PA_IN_GAAGGA(.(.(T39, T40), T41), T11, T12) → U3_GAAGGA(T39, T40, T11, T12, hidden_flattenC_in_gaa(T41))
U3_GAAGGA(T39, T40, T11, T12, hidden_flattenC_out_gaa) → PA_IN_GAAGGA(.(T39, T40), T11, T12)
PA_IN_GAAGGA(.(T98, T99), T11, T12) → HIDDEN_FLATTENC_IN_GAA(T99)
PA_IN_GAAGGA(.(T98, T99), T11, T12) → U6_GAAGGA(T11, T12, hidden_flattenC_in_gaa(T99))
U6_GAAGGA(T11, T12, hidden_flattenC_out_gaa) → HIDDEN_FLATTENB_IN_GAA(.(T11, T12))
hidden_flattenB_in_gaa([]) → hidden_flattenB_out_gaa
hidden_flattenB_in_gaa(.(.(T11, T12), T13)) → U12_gaa(pA_in_gaagga(T13, T11, T12))
pA_in_gaagga([], T11, T12) → U1_gaagga(hidden_flattenB_in_gaa(.(T11, T12)))
hidden_flattenB_in_gaa(.(T113, [])) → hidden_flattenB_out_gaa
hidden_flattenB_in_gaa(.(T113, .(.(T142, T143), T144))) → U13_gaa(pA_in_gaagga(T144, T142, T143))
pA_in_gaagga(.(.(T39, T40), T41), T11, T12) → U2_gaagga(hidden_flattenC_in_gaa(T41))
hidden_flattenC_in_gaa([]) → hidden_flattenC_out_gaa
hidden_flattenC_in_gaa(.(.(T70, T71), T72)) → U8_gaa(hidden_flattenC_in_gaa(T72))
hidden_flattenC_in_gaa(.(.(T70, T71), T72)) → U9_gaa(T70, T71, hidden_flattenC_in_gaa(T72))
hidden_flattenC_in_gaa(.(T86, T87)) → U11_gaa(hidden_flattenC_in_gaa(T87))
U11_gaa(hidden_flattenC_out_gaa) → hidden_flattenC_out_gaa
U9_gaa(T70, T71, hidden_flattenC_out_gaa) → U10_gaa(hidden_flattenB_in_gaa(.(T70, T71)))
hidden_flattenB_in_gaa(.(T113, .(T159, T160))) → U14_gaa(hidden_flattenB_in_gaa(T160))
U14_gaa(hidden_flattenB_out_gaa) → hidden_flattenB_out_gaa
U10_gaa(hidden_flattenB_out_gaa) → hidden_flattenC_out_gaa
U8_gaa(hidden_flattenC_out_gaa) → hidden_flattenC_out_gaa
U2_gaagga(hidden_flattenC_out_gaa) → pA_out_gaagga
pA_in_gaagga(.(.(T39, T40), T41), T11, T12) → U3_gaagga(T39, T40, T11, T12, hidden_flattenC_in_gaa(T41))
U3_gaagga(T39, T40, T11, T12, hidden_flattenC_out_gaa) → U4_gaagga(pA_in_gaagga(.(T39, T40), T11, T12))
pA_in_gaagga(.(T98, T99), T11, T12) → U5_gaagga(hidden_flattenC_in_gaa(T99))
U5_gaagga(hidden_flattenC_out_gaa) → pA_out_gaagga
pA_in_gaagga(.(T98, T99), T11, T12) → U6_gaagga(T11, T12, hidden_flattenC_in_gaa(T99))
U6_gaagga(T11, T12, hidden_flattenC_out_gaa) → U7_gaagga(hidden_flattenB_in_gaa(.(T11, T12)))
U7_gaagga(hidden_flattenB_out_gaa) → pA_out_gaagga
U4_gaagga(pA_out_gaagga) → pA_out_gaagga
U13_gaa(pA_out_gaagga) → hidden_flattenB_out_gaa
U1_gaagga(hidden_flattenB_out_gaa) → pA_out_gaagga
U12_gaa(pA_out_gaagga) → hidden_flattenB_out_gaa
hidden_flattenB_in_gaa(x0)
pA_in_gaagga(x0, x1, x2)
hidden_flattenC_in_gaa(x0)
U11_gaa(x0)
U9_gaa(x0, x1, x2)
U14_gaa(x0)
U10_gaa(x0)
U8_gaa(x0)
U2_gaagga(x0)
U3_gaagga(x0, x1, x2, x3, x4)
U5_gaagga(x0)
U6_gaagga(x0, x1, x2)
U7_gaagga(x0)
U4_gaagga(x0)
U13_gaa(x0)
U1_gaagga(x0)
U12_gaa(x0)
The following rules are removed from R:
PA_IN_GAAGGA([], T11, T12) → HIDDEN_FLATTENB_IN_GAA(.(T11, T12))
Used ordering: POLO with Polynomial interpretation [POLO]:
hidden_flattenB_in_gaa([]) → hidden_flattenB_out_gaa
pA_in_gaagga([], T11, T12) → U1_gaagga(hidden_flattenB_in_gaa(.(T11, T12)))
hidden_flattenB_in_gaa(.(T113, [])) → hidden_flattenB_out_gaa
hidden_flattenC_in_gaa([]) → hidden_flattenC_out_gaa
POL(.(x1, x2)) = 2·x1 + 2·x2
POL(HIDDEN_FLATTENB_IN_GAA(x1)) = x1
POL(HIDDEN_FLATTENC_IN_GAA(x1)) = 2·x1
POL(PA_IN_GAAGGA(x1, x2, x3)) = x1 + 2·x2 + 2·x3
POL(U10_gaa(x1)) = x1
POL(U11_gaa(x1)) = x1
POL(U12_gaa(x1)) = x1
POL(U13_gaa(x1)) = x1
POL(U14_gaa(x1)) = x1
POL(U1_gaagga(x1)) = x1
POL(U2_gaagga(x1)) = x1
POL(U3_GAAGGA(x1, x2, x3, x4, x5)) = 2·x1 + 2·x2 + 2·x3 + 2·x4 + x5
POL(U3_gaagga(x1, x2, x3, x4, x5)) = 2·x1 + 2·x2 + 2·x3 + 2·x4 + x5
POL(U4_gaagga(x1)) = x1
POL(U5_gaagga(x1)) = x1
POL(U6_GAAGGA(x1, x2, x3)) = 2·x1 + 2·x2 + x3
POL(U6_gaagga(x1, x2, x3)) = 2·x1 + 2·x2 + x3
POL(U7_gaagga(x1)) = x1
POL(U8_gaa(x1)) = x1
POL(U9_GAA(x1, x2, x3)) = 2·x1 + 2·x2 + x3
POL(U9_gaa(x1, x2, x3)) = 2·x1 + 2·x2 + 2·x3
POL([]) = 0
POL(hidden_flattenB_in_gaa(x1)) = x1
POL(hidden_flattenB_out_gaa) = 0
POL(hidden_flattenC_in_gaa(x1)) = 2·x1
POL(hidden_flattenC_out_gaa) = 0
POL(pA_in_gaagga(x1, x2, x3)) = x1 + 2·x2 + 2·x3
POL(pA_out_gaagga) = 0
HIDDEN_FLATTENB_IN_GAA(.(.(T11, T12), T13)) → PA_IN_GAAGGA(T13, T11, T12)
HIDDEN_FLATTENB_IN_GAA(.(T113, .(.(T142, T143), T144))) → PA_IN_GAAGGA(T144, T142, T143)
PA_IN_GAAGGA(.(.(T39, T40), T41), T11, T12) → HIDDEN_FLATTENC_IN_GAA(T41)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72)) → HIDDEN_FLATTENC_IN_GAA(T72)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72)) → U9_GAA(T70, T71, hidden_flattenC_in_gaa(T72))
U9_GAA(T70, T71, hidden_flattenC_out_gaa) → HIDDEN_FLATTENB_IN_GAA(.(T70, T71))
HIDDEN_FLATTENB_IN_GAA(.(T113, .(T159, T160))) → HIDDEN_FLATTENB_IN_GAA(T160)
HIDDEN_FLATTENC_IN_GAA(.(T86, T87)) → HIDDEN_FLATTENC_IN_GAA(T87)
PA_IN_GAAGGA(.(.(T39, T40), T41), T11, T12) → U3_GAAGGA(T39, T40, T11, T12, hidden_flattenC_in_gaa(T41))
U3_GAAGGA(T39, T40, T11, T12, hidden_flattenC_out_gaa) → PA_IN_GAAGGA(.(T39, T40), T11, T12)
PA_IN_GAAGGA(.(T98, T99), T11, T12) → HIDDEN_FLATTENC_IN_GAA(T99)
PA_IN_GAAGGA(.(T98, T99), T11, T12) → U6_GAAGGA(T11, T12, hidden_flattenC_in_gaa(T99))
U6_GAAGGA(T11, T12, hidden_flattenC_out_gaa) → HIDDEN_FLATTENB_IN_GAA(.(T11, T12))
hidden_flattenC_in_gaa(.(.(T70, T71), T72)) → U8_gaa(hidden_flattenC_in_gaa(T72))
hidden_flattenC_in_gaa(.(.(T70, T71), T72)) → U9_gaa(T70, T71, hidden_flattenC_in_gaa(T72))
hidden_flattenC_in_gaa(.(T86, T87)) → U11_gaa(hidden_flattenC_in_gaa(T87))
U11_gaa(hidden_flattenC_out_gaa) → hidden_flattenC_out_gaa
U9_gaa(T70, T71, hidden_flattenC_out_gaa) → U10_gaa(hidden_flattenB_in_gaa(.(T70, T71)))
hidden_flattenB_in_gaa(.(.(T11, T12), T13)) → U12_gaa(pA_in_gaagga(T13, T11, T12))
hidden_flattenB_in_gaa(.(T113, .(.(T142, T143), T144))) → U13_gaa(pA_in_gaagga(T144, T142, T143))
hidden_flattenB_in_gaa(.(T113, .(T159, T160))) → U14_gaa(hidden_flattenB_in_gaa(T160))
U10_gaa(hidden_flattenB_out_gaa) → hidden_flattenC_out_gaa
U14_gaa(hidden_flattenB_out_gaa) → hidden_flattenB_out_gaa
pA_in_gaagga(.(.(T39, T40), T41), T11, T12) → U2_gaagga(hidden_flattenC_in_gaa(T41))
pA_in_gaagga(.(.(T39, T40), T41), T11, T12) → U3_gaagga(T39, T40, T11, T12, hidden_flattenC_in_gaa(T41))
pA_in_gaagga(.(T98, T99), T11, T12) → U5_gaagga(hidden_flattenC_in_gaa(T99))
pA_in_gaagga(.(T98, T99), T11, T12) → U6_gaagga(T11, T12, hidden_flattenC_in_gaa(T99))
U13_gaa(pA_out_gaagga) → hidden_flattenB_out_gaa
U6_gaagga(T11, T12, hidden_flattenC_out_gaa) → U7_gaagga(hidden_flattenB_in_gaa(.(T11, T12)))
U7_gaagga(hidden_flattenB_out_gaa) → pA_out_gaagga
U5_gaagga(hidden_flattenC_out_gaa) → pA_out_gaagga
U3_gaagga(T39, T40, T11, T12, hidden_flattenC_out_gaa) → U4_gaagga(pA_in_gaagga(.(T39, T40), T11, T12))
U4_gaagga(pA_out_gaagga) → pA_out_gaagga
U2_gaagga(hidden_flattenC_out_gaa) → pA_out_gaagga
U1_gaagga(hidden_flattenB_out_gaa) → pA_out_gaagga
U12_gaa(pA_out_gaagga) → hidden_flattenB_out_gaa
U8_gaa(hidden_flattenC_out_gaa) → hidden_flattenC_out_gaa
hidden_flattenB_in_gaa(x0)
pA_in_gaagga(x0, x1, x2)
hidden_flattenC_in_gaa(x0)
U11_gaa(x0)
U9_gaa(x0, x1, x2)
U14_gaa(x0)
U10_gaa(x0)
U8_gaa(x0)
U2_gaagga(x0)
U3_gaagga(x0, x1, x2, x3, x4)
U5_gaagga(x0)
U6_gaagga(x0, x1, x2)
U7_gaagga(x0)
U4_gaagga(x0)
U13_gaa(x0)
U1_gaagga(x0)
U12_gaa(x0)
HIDDEN_FLATTENB_IN_GAA(.(.(T11, T12), T13)) → PA_IN_GAAGGA(T13, T11, T12)
HIDDEN_FLATTENB_IN_GAA(.(T113, .(.(T142, T143), T144))) → PA_IN_GAAGGA(T144, T142, T143)
PA_IN_GAAGGA(.(.(T39, T40), T41), T11, T12) → HIDDEN_FLATTENC_IN_GAA(T41)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72)) → HIDDEN_FLATTENC_IN_GAA(T72)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72)) → U9_GAA(T70, T71, hidden_flattenC_in_gaa(T72))
U9_GAA(T70, T71, hidden_flattenC_out_gaa) → HIDDEN_FLATTENB_IN_GAA(.(T70, T71))
HIDDEN_FLATTENB_IN_GAA(.(T113, .(T159, T160))) → HIDDEN_FLATTENB_IN_GAA(T160)
HIDDEN_FLATTENC_IN_GAA(.(T86, T87)) → HIDDEN_FLATTENC_IN_GAA(T87)
PA_IN_GAAGGA(.(.(T39, T40), T41), T11, T12) → U3_GAAGGA(T39, T40, T11, T12, hidden_flattenC_in_gaa(T41))
U3_GAAGGA(T39, T40, T11, T12, hidden_flattenC_out_gaa) → PA_IN_GAAGGA(.(T39, T40), T11, T12)
PA_IN_GAAGGA(.(T98, T99), T11, T12) → HIDDEN_FLATTENC_IN_GAA(T99)
PA_IN_GAAGGA(.(T98, T99), T11, T12) → U6_GAAGGA(T11, T12, hidden_flattenC_in_gaa(T99))
U6_GAAGGA(T11, T12, hidden_flattenC_out_gaa) → HIDDEN_FLATTENB_IN_GAA(.(T11, T12))
hidden_flattenC_in_gaa(.(.(T70, T71), T72)) → U8_gaa(hidden_flattenC_in_gaa(T72))
hidden_flattenC_in_gaa(.(.(T70, T71), T72)) → U9_gaa(T70, T71, hidden_flattenC_in_gaa(T72))
hidden_flattenC_in_gaa(.(T86, T87)) → U11_gaa(hidden_flattenC_in_gaa(T87))
U11_gaa(hidden_flattenC_out_gaa) → hidden_flattenC_out_gaa
U9_gaa(T70, T71, hidden_flattenC_out_gaa) → U10_gaa(hidden_flattenB_in_gaa(.(T70, T71)))
hidden_flattenB_in_gaa(.(.(T11, T12), T13)) → U12_gaa(pA_in_gaagga(T13, T11, T12))
hidden_flattenB_in_gaa(.(T113, .(.(T142, T143), T144))) → U13_gaa(pA_in_gaagga(T144, T142, T143))
hidden_flattenB_in_gaa(.(T113, .(T159, T160))) → U14_gaa(hidden_flattenB_in_gaa(T160))
U10_gaa(hidden_flattenB_out_gaa) → hidden_flattenC_out_gaa
U14_gaa(hidden_flattenB_out_gaa) → hidden_flattenB_out_gaa
pA_in_gaagga(.(.(T39, T40), T41), T11, T12) → U2_gaagga(hidden_flattenC_in_gaa(T41))
pA_in_gaagga(.(.(T39, T40), T41), T11, T12) → U3_gaagga(T39, T40, T11, T12, hidden_flattenC_in_gaa(T41))
pA_in_gaagga(.(T98, T99), T11, T12) → U5_gaagga(hidden_flattenC_in_gaa(T99))
pA_in_gaagga(.(T98, T99), T11, T12) → U6_gaagga(T11, T12, hidden_flattenC_in_gaa(T99))
U13_gaa(pA_out_gaagga) → hidden_flattenB_out_gaa
U6_gaagga(T11, T12, hidden_flattenC_out_gaa) → U7_gaagga(hidden_flattenB_in_gaa(.(T11, T12)))
U7_gaagga(hidden_flattenB_out_gaa) → pA_out_gaagga
U5_gaagga(hidden_flattenC_out_gaa) → pA_out_gaagga
U3_gaagga(T39, T40, T11, T12, hidden_flattenC_out_gaa) → U4_gaagga(pA_in_gaagga(.(T39, T40), T11, T12))
U4_gaagga(pA_out_gaagga) → pA_out_gaagga
U2_gaagga(hidden_flattenC_out_gaa) → pA_out_gaagga
U12_gaa(pA_out_gaagga) → hidden_flattenB_out_gaa
U8_gaa(hidden_flattenC_out_gaa) → hidden_flattenC_out_gaa
hidden_flattenB_in_gaa(x0)
pA_in_gaagga(x0, x1, x2)
hidden_flattenC_in_gaa(x0)
U11_gaa(x0)
U9_gaa(x0, x1, x2)
U14_gaa(x0)
U10_gaa(x0)
U8_gaa(x0)
U2_gaagga(x0)
U3_gaagga(x0, x1, x2, x3, x4)
U5_gaagga(x0)
U6_gaagga(x0, x1, x2)
U7_gaagga(x0)
U4_gaagga(x0)
U13_gaa(x0)
U1_gaagga(x0)
U12_gaa(x0)
U1_gaagga(x0)
HIDDEN_FLATTENB_IN_GAA(.(.(T11, T12), T13)) → PA_IN_GAAGGA(T13, T11, T12)
HIDDEN_FLATTENB_IN_GAA(.(T113, .(.(T142, T143), T144))) → PA_IN_GAAGGA(T144, T142, T143)
PA_IN_GAAGGA(.(.(T39, T40), T41), T11, T12) → HIDDEN_FLATTENC_IN_GAA(T41)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72)) → HIDDEN_FLATTENC_IN_GAA(T72)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72)) → U9_GAA(T70, T71, hidden_flattenC_in_gaa(T72))
U9_GAA(T70, T71, hidden_flattenC_out_gaa) → HIDDEN_FLATTENB_IN_GAA(.(T70, T71))
HIDDEN_FLATTENB_IN_GAA(.(T113, .(T159, T160))) → HIDDEN_FLATTENB_IN_GAA(T160)
HIDDEN_FLATTENC_IN_GAA(.(T86, T87)) → HIDDEN_FLATTENC_IN_GAA(T87)
PA_IN_GAAGGA(.(.(T39, T40), T41), T11, T12) → U3_GAAGGA(T39, T40, T11, T12, hidden_flattenC_in_gaa(T41))
U3_GAAGGA(T39, T40, T11, T12, hidden_flattenC_out_gaa) → PA_IN_GAAGGA(.(T39, T40), T11, T12)
PA_IN_GAAGGA(.(T98, T99), T11, T12) → HIDDEN_FLATTENC_IN_GAA(T99)
PA_IN_GAAGGA(.(T98, T99), T11, T12) → U6_GAAGGA(T11, T12, hidden_flattenC_in_gaa(T99))
U6_GAAGGA(T11, T12, hidden_flattenC_out_gaa) → HIDDEN_FLATTENB_IN_GAA(.(T11, T12))
hidden_flattenC_in_gaa(.(.(T70, T71), T72)) → U8_gaa(hidden_flattenC_in_gaa(T72))
hidden_flattenC_in_gaa(.(.(T70, T71), T72)) → U9_gaa(T70, T71, hidden_flattenC_in_gaa(T72))
hidden_flattenC_in_gaa(.(T86, T87)) → U11_gaa(hidden_flattenC_in_gaa(T87))
U11_gaa(hidden_flattenC_out_gaa) → hidden_flattenC_out_gaa
U9_gaa(T70, T71, hidden_flattenC_out_gaa) → U10_gaa(hidden_flattenB_in_gaa(.(T70, T71)))
hidden_flattenB_in_gaa(.(.(T11, T12), T13)) → U12_gaa(pA_in_gaagga(T13, T11, T12))
hidden_flattenB_in_gaa(.(T113, .(.(T142, T143), T144))) → U13_gaa(pA_in_gaagga(T144, T142, T143))
hidden_flattenB_in_gaa(.(T113, .(T159, T160))) → U14_gaa(hidden_flattenB_in_gaa(T160))
U10_gaa(hidden_flattenB_out_gaa) → hidden_flattenC_out_gaa
U14_gaa(hidden_flattenB_out_gaa) → hidden_flattenB_out_gaa
pA_in_gaagga(.(.(T39, T40), T41), T11, T12) → U2_gaagga(hidden_flattenC_in_gaa(T41))
pA_in_gaagga(.(.(T39, T40), T41), T11, T12) → U3_gaagga(T39, T40, T11, T12, hidden_flattenC_in_gaa(T41))
pA_in_gaagga(.(T98, T99), T11, T12) → U5_gaagga(hidden_flattenC_in_gaa(T99))
pA_in_gaagga(.(T98, T99), T11, T12) → U6_gaagga(T11, T12, hidden_flattenC_in_gaa(T99))
U13_gaa(pA_out_gaagga) → hidden_flattenB_out_gaa
U6_gaagga(T11, T12, hidden_flattenC_out_gaa) → U7_gaagga(hidden_flattenB_in_gaa(.(T11, T12)))
U7_gaagga(hidden_flattenB_out_gaa) → pA_out_gaagga
U5_gaagga(hidden_flattenC_out_gaa) → pA_out_gaagga
U3_gaagga(T39, T40, T11, T12, hidden_flattenC_out_gaa) → U4_gaagga(pA_in_gaagga(.(T39, T40), T11, T12))
U4_gaagga(pA_out_gaagga) → pA_out_gaagga
U2_gaagga(hidden_flattenC_out_gaa) → pA_out_gaagga
U12_gaa(pA_out_gaagga) → hidden_flattenB_out_gaa
U8_gaa(hidden_flattenC_out_gaa) → hidden_flattenC_out_gaa
hidden_flattenB_in_gaa(x0)
pA_in_gaagga(x0, x1, x2)
hidden_flattenC_in_gaa(x0)
U11_gaa(x0)
U9_gaa(x0, x1, x2)
U14_gaa(x0)
U10_gaa(x0)
U8_gaa(x0)
U2_gaagga(x0)
U3_gaagga(x0, x1, x2, x3, x4)
U5_gaagga(x0)
U6_gaagga(x0, x1, x2)
U7_gaagga(x0)
U4_gaagga(x0)
U13_gaa(x0)
U12_gaa(x0)
HIDDEN_FLATTENB_IN_GAA(.(.(T11, T12), T13)) → PA_IN_GAAGGA(T13, T11, T12)
HIDDEN_FLATTENB_IN_GAA(.(T113, .(.(T142, T143), T144))) → PA_IN_GAAGGA(T144, T142, T143)
PA_IN_GAAGGA(.(.(T39, T40), T41), T11, T12) → HIDDEN_FLATTENC_IN_GAA(T41)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72)) → HIDDEN_FLATTENC_IN_GAA(T72)
HIDDEN_FLATTENC_IN_GAA(.(.(T70, T71), T72)) → U9_GAA(T70, T71, hidden_flattenC_in_gaa(T72))
U9_GAA(T70, T71, hidden_flattenC_out_gaa) → HIDDEN_FLATTENB_IN_GAA(.(T70, T71))
HIDDEN_FLATTENB_IN_GAA(.(T113, .(T159, T160))) → HIDDEN_FLATTENB_IN_GAA(T160)
HIDDEN_FLATTENC_IN_GAA(.(T86, T87)) → HIDDEN_FLATTENC_IN_GAA(T87)
U3_GAAGGA(T39, T40, T11, T12, hidden_flattenC_out_gaa) → PA_IN_GAAGGA(.(T39, T40), T11, T12)
PA_IN_GAAGGA(.(T98, T99), T11, T12) → U6_GAAGGA(T11, T12, hidden_flattenC_in_gaa(T99))
U6_GAAGGA(T11, T12, hidden_flattenC_out_gaa) → HIDDEN_FLATTENB_IN_GAA(.(T11, T12))
hidden_flattenC_in_gaa(.(.(T70, T71), T72)) → U8_gaa(hidden_flattenC_in_gaa(T72))
hidden_flattenC_in_gaa(.(.(T70, T71), T72)) → U9_gaa(T70, T71, hidden_flattenC_in_gaa(T72))
hidden_flattenC_in_gaa(.(T86, T87)) → U11_gaa(hidden_flattenC_in_gaa(T87))
U9_gaa(T70, T71, hidden_flattenC_out_gaa) → U10_gaa(hidden_flattenB_in_gaa(.(T70, T71)))
hidden_flattenB_in_gaa(.(T113, .(.(T142, T143), T144))) → U13_gaa(pA_in_gaagga(T144, T142, T143))
hidden_flattenB_in_gaa(.(T113, .(T159, T160))) → U14_gaa(hidden_flattenB_in_gaa(T160))
U14_gaa(hidden_flattenB_out_gaa) → hidden_flattenB_out_gaa
pA_in_gaagga(.(.(T39, T40), T41), T11, T12) → U2_gaagga(hidden_flattenC_in_gaa(T41))
pA_in_gaagga(.(.(T39, T40), T41), T11, T12) → U3_gaagga(T39, T40, T11, T12, hidden_flattenC_in_gaa(T41))
pA_in_gaagga(.(T98, T99), T11, T12) → U5_gaagga(hidden_flattenC_in_gaa(T99))
pA_in_gaagga(.(T98, T99), T11, T12) → U6_gaagga(T11, T12, hidden_flattenC_in_gaa(T99))
U6_gaagga(T11, T12, hidden_flattenC_out_gaa) → U7_gaagga(hidden_flattenB_in_gaa(.(T11, T12)))
U3_gaagga(T39, T40, T11, T12, hidden_flattenC_out_gaa) → U4_gaagga(pA_in_gaagga(.(T39, T40), T11, T12))
U2_gaagga(hidden_flattenC_out_gaa) → pA_out_gaagga
POL(.(x1, x2)) = 1 + x1 + x2
POL(HIDDEN_FLATTENB_IN_GAA(x1)) = x1
POL(HIDDEN_FLATTENC_IN_GAA(x1)) = 2 + x1
POL(PA_IN_GAAGGA(x1, x2, x3)) = 1 + x1 + x2 + x3
POL(U10_gaa(x1)) = x1
POL(U11_gaa(x1)) = x1
POL(U12_gaa(x1)) = x1
POL(U13_gaa(x1)) = x1
POL(U14_gaa(x1)) = 1 + x1
POL(U2_gaagga(x1)) = 1 + x1
POL(U3_GAAGGA(x1, x2, x3, x4, x5)) = 2 + x1 + x2 + x3 + x4 + x5
POL(U3_gaagga(x1, x2, x3, x4, x5)) = 2 + x1 + x2 + x3 + x4 + x5
POL(U4_gaagga(x1)) = x1
POL(U5_gaagga(x1)) = x1
POL(U6_GAAGGA(x1, x2, x3)) = x1 + x2 + x3
POL(U6_gaagga(x1, x2, x3)) = x1 + x2 + x3
POL(U7_gaagga(x1)) = x1
POL(U8_gaa(x1)) = x1
POL(U9_GAA(x1, x2, x3)) = x1 + x2 + x3
POL(U9_gaa(x1, x2, x3)) = x1 + x2 + x3
POL(hidden_flattenB_in_gaa(x1)) = x1
POL(hidden_flattenB_out_gaa) = 2
POL(hidden_flattenC_in_gaa(x1)) = 1 + x1
POL(hidden_flattenC_out_gaa) = 2
POL(pA_in_gaagga(x1, x2, x3)) = 2 + x1 + x2 + x3
POL(pA_out_gaagga) = 2
PA_IN_GAAGGA(.(.(T39, T40), T41), T11, T12) → U3_GAAGGA(T39, T40, T11, T12, hidden_flattenC_in_gaa(T41))
PA_IN_GAAGGA(.(T98, T99), T11, T12) → HIDDEN_FLATTENC_IN_GAA(T99)
U11_gaa(hidden_flattenC_out_gaa) → hidden_flattenC_out_gaa
hidden_flattenB_in_gaa(.(.(T11, T12), T13)) → U12_gaa(pA_in_gaagga(T13, T11, T12))
U10_gaa(hidden_flattenB_out_gaa) → hidden_flattenC_out_gaa
U13_gaa(pA_out_gaagga) → hidden_flattenB_out_gaa
U7_gaagga(hidden_flattenB_out_gaa) → pA_out_gaagga
U5_gaagga(hidden_flattenC_out_gaa) → pA_out_gaagga
U4_gaagga(pA_out_gaagga) → pA_out_gaagga
U12_gaa(pA_out_gaagga) → hidden_flattenB_out_gaa
U8_gaa(hidden_flattenC_out_gaa) → hidden_flattenC_out_gaa
hidden_flattenB_in_gaa(x0)
pA_in_gaagga(x0, x1, x2)
hidden_flattenC_in_gaa(x0)
U11_gaa(x0)
U9_gaa(x0, x1, x2)
U14_gaa(x0)
U10_gaa(x0)
U8_gaa(x0)
U2_gaagga(x0)
U3_gaagga(x0, x1, x2, x3, x4)
U5_gaagga(x0)
U6_gaagga(x0, x1, x2)
U7_gaagga(x0)
U4_gaagga(x0)
U13_gaa(x0)
U12_gaa(x0)