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 NonTerminationProof (⇔)
↳22 NO
↳23 PiDP
↳24 UsableRulesProof (⇔)
↳25 PiDP
↳26 PiDPToQDPProof (⇐)
↳27 QDP
↳28 NonTerminationProof (⇔)
↳29 NO
↳30 PrologToPiTRSProof (⇐)
↳31 PiTRS
↳32 DependencyPairsProof (⇔)
↳33 PiDP
↳34 DependencyGraphProof (⇔)
↳35 AND
↳36 PiDP
↳37 UsableRulesProof (⇔)
↳38 PiDP
↳39 PiDPToQDPProof (⇐)
↳40 QDP
↳41 QDPSizeChangeProof (⇔)
↳42 YES
↳43 PiDP
↳44 UsableRulesProof (⇔)
↳45 PiDP
↳46 PiDPToQDPProof (⇐)
↳47 QDP
↳48 NonTerminationProof (⇔)
↳49 NO
↳50 PiDP
↳51 UsableRulesProof (⇔)
↳52 PiDP
↳53 PiDPToQDPProof (⇐)
↳54 QDP
↳55 NonTerminationProof (⇔)
↳56 NO
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
REVERSE1_IN_AG(.(T23, .(T22, T21)), T8) → U6_AG(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
REVERSE1_IN_AG(.(T23, .(T22, T21)), T8) → REVERSE10_IN_AA(T21, X32)
REVERSE10_IN_AA(.(T42, T41), X69) → U1_AA(T42, T41, X69, reverse10_in_aa(T41, X68))
REVERSE10_IN_AA(.(T42, T41), X69) → REVERSE10_IN_AA(T41, X68)
REVERSE10_IN_AA(.(T46, T41), X69) → U2_AA(T46, T41, X69, reverse10_in_aa(T41, T45))
U2_AA(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_AA(T46, T41, X69, app18_in_aaa(T45, T46, X69))
U2_AA(T46, T41, X69, reverse10_out_aa(T41, T45)) → APP18_IN_AAA(T45, T46, X69)
APP18_IN_AAA(.(T64, T67), T68, .(T64, X112)) → U4_AAA(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
APP18_IN_AAA(.(T64, T67), T68, .(T64, X112)) → APP18_IN_AAA(T67, T68, X112)
REVERSE1_IN_AG(.(T28, .(T27, T21)), T8) → U7_AG(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_AG(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_AG(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U7_AG(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → APP18_IN_AAA(T26, T27, X33)
REVERSE1_IN_AG(.(T79, .(T27, T21)), T8) → U9_AG(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_AG(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_AG(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U9_AG(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → APP18_IN_AAA(T26, T27, T78)
U10_AG(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_AG(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
U10_AG(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → APP31_IN_GAG(T78, T79, T8)
APP31_IN_GAG(.(T103, T107), T108, .(T103, T106)) → U5_GAG(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
APP31_IN_GAG(.(T103, T107), T108, .(T103, T106)) → APP31_IN_GAG(T107, T108, T106)
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
REVERSE1_IN_AG(.(T23, .(T22, T21)), T8) → U6_AG(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
REVERSE1_IN_AG(.(T23, .(T22, T21)), T8) → REVERSE10_IN_AA(T21, X32)
REVERSE10_IN_AA(.(T42, T41), X69) → U1_AA(T42, T41, X69, reverse10_in_aa(T41, X68))
REVERSE10_IN_AA(.(T42, T41), X69) → REVERSE10_IN_AA(T41, X68)
REVERSE10_IN_AA(.(T46, T41), X69) → U2_AA(T46, T41, X69, reverse10_in_aa(T41, T45))
U2_AA(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_AA(T46, T41, X69, app18_in_aaa(T45, T46, X69))
U2_AA(T46, T41, X69, reverse10_out_aa(T41, T45)) → APP18_IN_AAA(T45, T46, X69)
APP18_IN_AAA(.(T64, T67), T68, .(T64, X112)) → U4_AAA(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
APP18_IN_AAA(.(T64, T67), T68, .(T64, X112)) → APP18_IN_AAA(T67, T68, X112)
REVERSE1_IN_AG(.(T28, .(T27, T21)), T8) → U7_AG(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_AG(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_AG(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U7_AG(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → APP18_IN_AAA(T26, T27, X33)
REVERSE1_IN_AG(.(T79, .(T27, T21)), T8) → U9_AG(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_AG(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_AG(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U9_AG(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → APP18_IN_AAA(T26, T27, T78)
U10_AG(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_AG(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
U10_AG(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → APP31_IN_GAG(T78, T79, T8)
APP31_IN_GAG(.(T103, T107), T108, .(T103, T106)) → U5_GAG(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
APP31_IN_GAG(.(T103, T107), T108, .(T103, T106)) → APP31_IN_GAG(T107, T108, T106)
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
APP31_IN_GAG(.(T103, T107), T108, .(T103, T106)) → APP31_IN_GAG(T107, T108, T106)
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
APP31_IN_GAG(.(T103, T107), T108, .(T103, T106)) → APP31_IN_GAG(T107, T108, T106)
APP31_IN_GAG(.(T107), .(T106)) → APP31_IN_GAG(T107, T106)
From the DPs we obtained the following set of size-change graphs:
APP18_IN_AAA(.(T64, T67), T68, .(T64, X112)) → APP18_IN_AAA(T67, T68, X112)
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
APP18_IN_AAA(.(T64, T67), T68, .(T64, X112)) → APP18_IN_AAA(T67, T68, X112)
APP18_IN_AAA → APP18_IN_AAA
REVERSE10_IN_AA(.(T42, T41), X69) → REVERSE10_IN_AA(T41, X68)
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
REVERSE10_IN_AA(.(T42, T41), X69) → REVERSE10_IN_AA(T41, X68)
REVERSE10_IN_AA → REVERSE10_IN_AA
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
REVERSE1_IN_AG(.(T23, .(T22, T21)), T8) → U6_AG(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
REVERSE1_IN_AG(.(T23, .(T22, T21)), T8) → REVERSE10_IN_AA(T21, X32)
REVERSE10_IN_AA(.(T42, T41), X69) → U1_AA(T42, T41, X69, reverse10_in_aa(T41, X68))
REVERSE10_IN_AA(.(T42, T41), X69) → REVERSE10_IN_AA(T41, X68)
REVERSE10_IN_AA(.(T46, T41), X69) → U2_AA(T46, T41, X69, reverse10_in_aa(T41, T45))
U2_AA(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_AA(T46, T41, X69, app18_in_aaa(T45, T46, X69))
U2_AA(T46, T41, X69, reverse10_out_aa(T41, T45)) → APP18_IN_AAA(T45, T46, X69)
APP18_IN_AAA(.(T64, T67), T68, .(T64, X112)) → U4_AAA(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
APP18_IN_AAA(.(T64, T67), T68, .(T64, X112)) → APP18_IN_AAA(T67, T68, X112)
REVERSE1_IN_AG(.(T28, .(T27, T21)), T8) → U7_AG(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_AG(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_AG(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U7_AG(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → APP18_IN_AAA(T26, T27, X33)
REVERSE1_IN_AG(.(T79, .(T27, T21)), T8) → U9_AG(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_AG(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_AG(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U9_AG(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → APP18_IN_AAA(T26, T27, T78)
U10_AG(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_AG(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
U10_AG(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → APP31_IN_GAG(T78, T79, T8)
APP31_IN_GAG(.(T103, T107), T108, .(T103, T106)) → U5_GAG(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
APP31_IN_GAG(.(T103, T107), T108, .(T103, T106)) → APP31_IN_GAG(T107, T108, T106)
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
REVERSE1_IN_AG(.(T23, .(T22, T21)), T8) → U6_AG(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
REVERSE1_IN_AG(.(T23, .(T22, T21)), T8) → REVERSE10_IN_AA(T21, X32)
REVERSE10_IN_AA(.(T42, T41), X69) → U1_AA(T42, T41, X69, reverse10_in_aa(T41, X68))
REVERSE10_IN_AA(.(T42, T41), X69) → REVERSE10_IN_AA(T41, X68)
REVERSE10_IN_AA(.(T46, T41), X69) → U2_AA(T46, T41, X69, reverse10_in_aa(T41, T45))
U2_AA(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_AA(T46, T41, X69, app18_in_aaa(T45, T46, X69))
U2_AA(T46, T41, X69, reverse10_out_aa(T41, T45)) → APP18_IN_AAA(T45, T46, X69)
APP18_IN_AAA(.(T64, T67), T68, .(T64, X112)) → U4_AAA(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
APP18_IN_AAA(.(T64, T67), T68, .(T64, X112)) → APP18_IN_AAA(T67, T68, X112)
REVERSE1_IN_AG(.(T28, .(T27, T21)), T8) → U7_AG(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_AG(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_AG(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U7_AG(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → APP18_IN_AAA(T26, T27, X33)
REVERSE1_IN_AG(.(T79, .(T27, T21)), T8) → U9_AG(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_AG(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_AG(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U9_AG(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → APP18_IN_AAA(T26, T27, T78)
U10_AG(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_AG(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
U10_AG(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → APP31_IN_GAG(T78, T79, T8)
APP31_IN_GAG(.(T103, T107), T108, .(T103, T106)) → U5_GAG(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
APP31_IN_GAG(.(T103, T107), T108, .(T103, T106)) → APP31_IN_GAG(T107, T108, T106)
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
APP31_IN_GAG(.(T103, T107), T108, .(T103, T106)) → APP31_IN_GAG(T107, T108, T106)
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
APP31_IN_GAG(.(T103, T107), T108, .(T103, T106)) → APP31_IN_GAG(T107, T108, T106)
APP31_IN_GAG(.(T107), .(T106)) → APP31_IN_GAG(T107, T106)
From the DPs we obtained the following set of size-change graphs:
APP18_IN_AAA(.(T64, T67), T68, .(T64, X112)) → APP18_IN_AAA(T67, T68, X112)
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
APP18_IN_AAA(.(T64, T67), T68, .(T64, X112)) → APP18_IN_AAA(T67, T68, X112)
APP18_IN_AAA → APP18_IN_AAA
REVERSE10_IN_AA(.(T42, T41), X69) → REVERSE10_IN_AA(T41, X68)
reverse1_in_ag(.(T23, .(T22, T21)), T8) → U6_ag(T23, T22, T21, T8, reverse10_in_aa(T21, X32))
reverse10_in_aa(.(T42, T41), X69) → U1_aa(T42, T41, X69, reverse10_in_aa(T41, X68))
reverse10_in_aa(.(T46, T41), X69) → U2_aa(T46, T41, X69, reverse10_in_aa(T41, T45))
reverse10_in_aa([], []) → reverse10_out_aa([], [])
U2_aa(T46, T41, X69, reverse10_out_aa(T41, T45)) → U3_aa(T46, T41, X69, app18_in_aaa(T45, T46, X69))
app18_in_aaa(.(T64, T67), T68, .(T64, X112)) → U4_aaa(T64, T67, T68, X112, app18_in_aaa(T67, T68, X112))
app18_in_aaa([], T74, .(T74, [])) → app18_out_aaa([], T74, .(T74, []))
U4_aaa(T64, T67, T68, X112, app18_out_aaa(T67, T68, X112)) → app18_out_aaa(.(T64, T67), T68, .(T64, X112))
U3_aa(T46, T41, X69, app18_out_aaa(T45, T46, X69)) → reverse10_out_aa(.(T46, T41), X69)
U1_aa(T42, T41, X69, reverse10_out_aa(T41, X68)) → reverse10_out_aa(.(T42, T41), X69)
U6_ag(T23, T22, T21, T8, reverse10_out_aa(T21, X32)) → reverse1_out_ag(.(T23, .(T22, T21)), T8)
reverse1_in_ag(.(T28, .(T27, T21)), T8) → U7_ag(T28, T27, T21, T8, reverse10_in_aa(T21, T26))
U7_ag(T28, T27, T21, T8, reverse10_out_aa(T21, T26)) → U8_ag(T28, T27, T21, T8, app18_in_aaa(T26, T27, X33))
U8_ag(T28, T27, T21, T8, app18_out_aaa(T26, T27, X33)) → reverse1_out_ag(.(T28, .(T27, T21)), T8)
reverse1_in_ag(.(T79, .(T27, T21)), T8) → U9_ag(T79, T27, T21, T8, reverse10_in_aa(T21, T26))
U9_ag(T79, T27, T21, T8, reverse10_out_aa(T21, T26)) → U10_ag(T79, T27, T21, T8, app18_in_aaa(T26, T27, T78))
U10_ag(T79, T27, T21, T8, app18_out_aaa(T26, T27, T78)) → U11_ag(T79, T27, T21, T8, app31_in_gag(T78, T79, T8))
app31_in_gag(.(T103, T107), T108, .(T103, T106)) → U5_gag(T103, T107, T108, T106, app31_in_gag(T107, T108, T106))
app31_in_gag([], T115, .(T115, [])) → app31_out_gag([], T115, .(T115, []))
U5_gag(T103, T107, T108, T106, app31_out_gag(T107, T108, T106)) → app31_out_gag(.(T103, T107), T108, .(T103, T106))
U11_ag(T79, T27, T21, T8, app31_out_gag(T78, T79, T8)) → reverse1_out_ag(.(T79, .(T27, T21)), T8)
reverse1_in_ag(.(T121, []), .(T121, [])) → reverse1_out_ag(.(T121, []), .(T121, []))
reverse1_in_ag([], []) → reverse1_out_ag([], [])
REVERSE10_IN_AA(.(T42, T41), X69) → REVERSE10_IN_AA(T41, X68)
REVERSE10_IN_AA → REVERSE10_IN_AA