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 MRRProof (⇔)
↳29 QDP
↳30 DependencyGraphProof (⇔)
↳31 QDP
↳32 UsableRulesProof (⇔)
↳33 QDP
↳34 QReductionProof (⇔)
↳35 QDP
↳36 NonTerminationProof (⇔)
↳37 NO
↳38 PrologToPiTRSProof (⇐)
↳39 PiTRS
↳40 DependencyPairsProof (⇔)
↳41 PiDP
↳42 DependencyGraphProof (⇔)
↳43 AND
↳44 PiDP
↳45 UsableRulesProof (⇔)
↳46 PiDP
↳47 PiDPToQDPProof (⇐)
↳48 QDP
↳49 QDPSizeChangeProof (⇔)
↳50 YES
↳51 PiDP
↳52 UsableRulesProof (⇔)
↳53 PiDP
↳54 PiDPToQDPProof (⇐)
↳55 QDP
↳56 NonTerminationProof (⇔)
↳57 NO
↳58 PiDP
↳59 UsableRulesProof (⇔)
↳60 PiDP
↳61 PiDPToQDPProof (⇐)
↳62 QDP
↳63 QDPOrderProof (⇔)
↳64 QDP
↳65 DependencyGraphProof (⇔)
↳66 QDP
↳67 UsableRulesProof (⇔)
↳68 QDP
↳69 QReductionProof (⇔)
↳70 QDP
↳71 NonTerminationProof (⇔)
↳72 NO
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
FL1_IN_AGA(.(T10, T11), [], s(T12)) → U3_AGA(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
FL1_IN_AGA(.(T10, T11), [], s(T12)) → P6_IN_AAAA(T10, X9, T11, T12)
P6_IN_AAAA([], [], .(T24, T25), s(T26)) → U1_AAAA(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
P6_IN_AAAA([], [], .(T24, T25), s(T26)) → P6_IN_AAAA(T24, X38, T25, T26)
FL1_IN_AGA(.([], T45), T44, s(T46)) → U4_AGA(T45, T44, T46, fl1_in_aga(T45, T44, T46))
FL1_IN_AGA(.([], T45), T44, s(T46)) → FL1_IN_AGA(T45, T44, T46)
FL1_IN_AGA(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_AGA(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
FL1_IN_AGA(.(.(T53, T56), T57), .(T53, T55), s(T58)) → APPEND31_IN_AAG(T56, X90, T55)
APPEND31_IN_AAG(.(T77, T80), X128, .(T77, T79)) → U2_AAG(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
APPEND31_IN_AAG(.(T77, T80), X128, .(T77, T79)) → APPEND31_IN_AAG(T80, X128, T79)
FL1_IN_AGA(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_AGA(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_AGA(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_AGA(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U6_AGA(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → FL1_IN_AGA(T62, T61, T63)
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
FL1_IN_AGA(.(T10, T11), [], s(T12)) → U3_AGA(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
FL1_IN_AGA(.(T10, T11), [], s(T12)) → P6_IN_AAAA(T10, X9, T11, T12)
P6_IN_AAAA([], [], .(T24, T25), s(T26)) → U1_AAAA(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
P6_IN_AAAA([], [], .(T24, T25), s(T26)) → P6_IN_AAAA(T24, X38, T25, T26)
FL1_IN_AGA(.([], T45), T44, s(T46)) → U4_AGA(T45, T44, T46, fl1_in_aga(T45, T44, T46))
FL1_IN_AGA(.([], T45), T44, s(T46)) → FL1_IN_AGA(T45, T44, T46)
FL1_IN_AGA(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_AGA(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
FL1_IN_AGA(.(.(T53, T56), T57), .(T53, T55), s(T58)) → APPEND31_IN_AAG(T56, X90, T55)
APPEND31_IN_AAG(.(T77, T80), X128, .(T77, T79)) → U2_AAG(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
APPEND31_IN_AAG(.(T77, T80), X128, .(T77, T79)) → APPEND31_IN_AAG(T80, X128, T79)
FL1_IN_AGA(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_AGA(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_AGA(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_AGA(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U6_AGA(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → FL1_IN_AGA(T62, T61, T63)
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
APPEND31_IN_AAG(.(T77, T80), X128, .(T77, T79)) → APPEND31_IN_AAG(T80, X128, T79)
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
APPEND31_IN_AAG(.(T77, T80), X128, .(T77, T79)) → APPEND31_IN_AAG(T80, X128, T79)
APPEND31_IN_AAG(.(T77, T79)) → APPEND31_IN_AAG(T79)
From the DPs we obtained the following set of size-change graphs:
P6_IN_AAAA([], [], .(T24, T25), s(T26)) → P6_IN_AAAA(T24, X38, T25, T26)
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
P6_IN_AAAA([], [], .(T24, T25), s(T26)) → P6_IN_AAAA(T24, X38, T25, T26)
P6_IN_AAAA → P6_IN_AAAA
FL1_IN_AGA(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_AGA(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_AGA(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → FL1_IN_AGA(T62, T61, T63)
FL1_IN_AGA(.([], T45), T44, s(T46)) → FL1_IN_AGA(T45, T44, T46)
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
FL1_IN_AGA(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_AGA(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_AGA(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → FL1_IN_AGA(T62, T61, T63)
FL1_IN_AGA(.([], T45), T44, s(T46)) → FL1_IN_AGA(T45, T44, T46)
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
FL1_IN_AGA(.(T53, T55)) → U6_AGA(append31_in_aag(T55))
U6_AGA(append31_out_aag(T56, T61)) → FL1_IN_AGA(T61)
FL1_IN_AGA(T44) → FL1_IN_AGA(T44)
append31_in_aag(T70) → append31_out_aag([], T70)
append31_in_aag(.(T77, T79)) → U2_aag(T77, append31_in_aag(T79))
U2_aag(T77, append31_out_aag(T80, X128)) → append31_out_aag(.(T77, T80), X128)
append31_in_aag(x0)
U2_aag(x0, x1)
FL1_IN_AGA(.(T53, T55)) → U6_AGA(append31_in_aag(T55))
POL(.(x1, x2)) = 1 + 2·x1 + x2
POL(FL1_IN_AGA(x1)) = 2 + 2·x1
POL(U2_aag(x1, x2)) = 1 + 2·x1 + x2
POL(U6_AGA(x1)) = 2 + 2·x1
POL([]) = 0
POL(append31_in_aag(x1)) = x1
POL(append31_out_aag(x1, x2)) = x1 + x2
U6_AGA(append31_out_aag(T56, T61)) → FL1_IN_AGA(T61)
FL1_IN_AGA(T44) → FL1_IN_AGA(T44)
append31_in_aag(T70) → append31_out_aag([], T70)
append31_in_aag(.(T77, T79)) → U2_aag(T77, append31_in_aag(T79))
U2_aag(T77, append31_out_aag(T80, X128)) → append31_out_aag(.(T77, T80), X128)
append31_in_aag(x0)
U2_aag(x0, x1)
FL1_IN_AGA(T44) → FL1_IN_AGA(T44)
append31_in_aag(T70) → append31_out_aag([], T70)
append31_in_aag(.(T77, T79)) → U2_aag(T77, append31_in_aag(T79))
U2_aag(T77, append31_out_aag(T80, X128)) → append31_out_aag(.(T77, T80), X128)
append31_in_aag(x0)
U2_aag(x0, x1)
FL1_IN_AGA(T44) → FL1_IN_AGA(T44)
append31_in_aag(x0)
U2_aag(x0, x1)
append31_in_aag(x0)
U2_aag(x0, x1)
FL1_IN_AGA(T44) → FL1_IN_AGA(T44)
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
FL1_IN_AGA(.(T10, T11), [], s(T12)) → U3_AGA(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
FL1_IN_AGA(.(T10, T11), [], s(T12)) → P6_IN_AAAA(T10, X9, T11, T12)
P6_IN_AAAA([], [], .(T24, T25), s(T26)) → U1_AAAA(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
P6_IN_AAAA([], [], .(T24, T25), s(T26)) → P6_IN_AAAA(T24, X38, T25, T26)
FL1_IN_AGA(.([], T45), T44, s(T46)) → U4_AGA(T45, T44, T46, fl1_in_aga(T45, T44, T46))
FL1_IN_AGA(.([], T45), T44, s(T46)) → FL1_IN_AGA(T45, T44, T46)
FL1_IN_AGA(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_AGA(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
FL1_IN_AGA(.(.(T53, T56), T57), .(T53, T55), s(T58)) → APPEND31_IN_AAG(T56, X90, T55)
APPEND31_IN_AAG(.(T77, T80), X128, .(T77, T79)) → U2_AAG(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
APPEND31_IN_AAG(.(T77, T80), X128, .(T77, T79)) → APPEND31_IN_AAG(T80, X128, T79)
FL1_IN_AGA(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_AGA(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_AGA(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_AGA(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U6_AGA(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → FL1_IN_AGA(T62, T61, T63)
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
FL1_IN_AGA(.(T10, T11), [], s(T12)) → U3_AGA(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
FL1_IN_AGA(.(T10, T11), [], s(T12)) → P6_IN_AAAA(T10, X9, T11, T12)
P6_IN_AAAA([], [], .(T24, T25), s(T26)) → U1_AAAA(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
P6_IN_AAAA([], [], .(T24, T25), s(T26)) → P6_IN_AAAA(T24, X38, T25, T26)
FL1_IN_AGA(.([], T45), T44, s(T46)) → U4_AGA(T45, T44, T46, fl1_in_aga(T45, T44, T46))
FL1_IN_AGA(.([], T45), T44, s(T46)) → FL1_IN_AGA(T45, T44, T46)
FL1_IN_AGA(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_AGA(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
FL1_IN_AGA(.(.(T53, T56), T57), .(T53, T55), s(T58)) → APPEND31_IN_AAG(T56, X90, T55)
APPEND31_IN_AAG(.(T77, T80), X128, .(T77, T79)) → U2_AAG(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
APPEND31_IN_AAG(.(T77, T80), X128, .(T77, T79)) → APPEND31_IN_AAG(T80, X128, T79)
FL1_IN_AGA(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_AGA(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_AGA(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_AGA(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U6_AGA(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → FL1_IN_AGA(T62, T61, T63)
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
APPEND31_IN_AAG(.(T77, T80), X128, .(T77, T79)) → APPEND31_IN_AAG(T80, X128, T79)
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
APPEND31_IN_AAG(.(T77, T80), X128, .(T77, T79)) → APPEND31_IN_AAG(T80, X128, T79)
APPEND31_IN_AAG(.(T77, T79)) → APPEND31_IN_AAG(T79)
From the DPs we obtained the following set of size-change graphs:
P6_IN_AAAA([], [], .(T24, T25), s(T26)) → P6_IN_AAAA(T24, X38, T25, T26)
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
P6_IN_AAAA([], [], .(T24, T25), s(T26)) → P6_IN_AAAA(T24, X38, T25, T26)
P6_IN_AAAA → P6_IN_AAAA
FL1_IN_AGA(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_AGA(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_AGA(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → FL1_IN_AGA(T62, T61, T63)
FL1_IN_AGA(.([], T45), T44, s(T46)) → FL1_IN_AGA(T45, T44, T46)
fl1_in_aga([], [], 0) → fl1_out_aga([], [], 0)
fl1_in_aga(.(T10, T11), [], s(T12)) → U3_aga(T10, T11, T12, p6_in_aaaa(T10, X9, T11, T12))
p6_in_aaaa([], [], [], 0) → p6_out_aaaa([], [], [], 0)
p6_in_aaaa([], [], .(T24, T25), s(T26)) → U1_aaaa(T24, T25, T26, p6_in_aaaa(T24, X38, T25, T26))
U1_aaaa(T24, T25, T26, p6_out_aaaa(T24, X38, T25, T26)) → p6_out_aaaa([], [], .(T24, T25), s(T26))
U3_aga(T10, T11, T12, p6_out_aaaa(T10, X9, T11, T12)) → fl1_out_aga(.(T10, T11), [], s(T12))
fl1_in_aga(.([], T45), T44, s(T46)) → U4_aga(T45, T44, T46, fl1_in_aga(T45, T44, T46))
fl1_in_aga(.(.(T53, T56), T57), .(T53, T55), s(T58)) → U5_aga(T53, T56, T57, T55, T58, append31_in_aag(T56, X90, T55))
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U5_aga(T53, T56, T57, T55, T58, append31_out_aag(T56, X90, T55)) → fl1_out_aga(.(.(T53, T56), T57), .(T53, T55), s(T58))
fl1_in_aga(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_aga(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_aga(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → U7_aga(T53, T56, T62, T55, T63, fl1_in_aga(T62, T61, T63))
U7_aga(T53, T56, T62, T55, T63, fl1_out_aga(T62, T61, T63)) → fl1_out_aga(.(.(T53, T56), T62), .(T53, T55), s(T63))
U4_aga(T45, T44, T46, fl1_out_aga(T45, T44, T46)) → fl1_out_aga(.([], T45), T44, s(T46))
FL1_IN_AGA(.(.(T53, T56), T62), .(T53, T55), s(T63)) → U6_AGA(T53, T56, T62, T55, T63, append31_in_aag(T56, T61, T55))
U6_AGA(T53, T56, T62, T55, T63, append31_out_aag(T56, T61, T55)) → FL1_IN_AGA(T62, T61, T63)
FL1_IN_AGA(.([], T45), T44, s(T46)) → FL1_IN_AGA(T45, T44, T46)
append31_in_aag([], T70, T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T80), X128, .(T77, T79)) → U2_aag(T77, T80, X128, T79, append31_in_aag(T80, X128, T79))
U2_aag(T77, T80, X128, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
FL1_IN_AGA(.(T53, T55)) → U6_AGA(T53, T55, append31_in_aag(T55))
U6_AGA(T53, T55, append31_out_aag(T56, T61, T55)) → FL1_IN_AGA(T61)
FL1_IN_AGA(T44) → FL1_IN_AGA(T44)
append31_in_aag(T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T79)) → U2_aag(T77, T79, append31_in_aag(T79))
U2_aag(T77, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
append31_in_aag(x0)
U2_aag(x0, x1, x2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
FL1_IN_AGA(.(T53, T55)) → U6_AGA(T53, T55, append31_in_aag(T55))
POL(.(x1, x2)) = 1 + x1 + x2
POL(FL1_IN_AGA(x1)) = x1
POL(U2_aag(x1, x2, x3)) = x1 + x3
POL(U6_AGA(x1, x2, x3)) = x1 + x3
POL([]) = 0
POL(append31_in_aag(x1)) = x1
POL(append31_out_aag(x1, x2, x3)) = x2
append31_in_aag(T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T79)) → U2_aag(T77, T79, append31_in_aag(T79))
U2_aag(T77, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
U6_AGA(T53, T55, append31_out_aag(T56, T61, T55)) → FL1_IN_AGA(T61)
FL1_IN_AGA(T44) → FL1_IN_AGA(T44)
append31_in_aag(T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T79)) → U2_aag(T77, T79, append31_in_aag(T79))
U2_aag(T77, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
append31_in_aag(x0)
U2_aag(x0, x1, x2)
FL1_IN_AGA(T44) → FL1_IN_AGA(T44)
append31_in_aag(T70) → append31_out_aag([], T70, T70)
append31_in_aag(.(T77, T79)) → U2_aag(T77, T79, append31_in_aag(T79))
U2_aag(T77, T79, append31_out_aag(T80, X128, T79)) → append31_out_aag(.(T77, T80), X128, .(T77, T79))
append31_in_aag(x0)
U2_aag(x0, x1, x2)
FL1_IN_AGA(T44) → FL1_IN_AGA(T44)
append31_in_aag(x0)
U2_aag(x0, x1, x2)
append31_in_aag(x0)
U2_aag(x0, x1, x2)
FL1_IN_AGA(T44) → FL1_IN_AGA(T44)