0 Prolog
↳1 PrologToPrologProblemTransformerProof (⇐)
↳2 Prolog
↳3 PrologToPiTRSProof (⇐)
↳4 PiTRS
↳5 DependencyPairsProof (⇔)
↳6 PiDP
↳7 DependencyGraphProof (⇔)
↳8 AND
↳9 PiDP
↳10 UsableRulesProof (⇔)
↳11 PiDP
↳12 PiDPToQDPProof (⇐)
↳13 QDP
↳14 QDPSizeChangeProof (⇔)
↳15 YES
↳16 PiDP
↳17 UsableRulesProof (⇔)
↳18 PiDP
↳19 PiDPToQDPProof (⇐)
↳20 QDP
↳21 QDPSizeChangeProof (⇔)
↳22 YES
↳23 PiDP
↳24 UsableRulesProof (⇔)
↳25 PiDP
↳26 PiDPToQDPProof (⇐)
↳27 QDP
↳28 QDPSizeChangeProof (⇔)
↳29 YES
goal1_in_gaa(s(T16), T10, T11) → U5_gaa(T16, T10, T11, s2l9_in_ga(T16, X32))
s2l9_in_ga(s(T24), .(X69, X70)) → U1_ga(T24, X69, X70, s2l9_in_ga(T24, X70))
s2l9_in_ga(0, []) → s2l9_out_ga(0, [])
U1_ga(T24, X69, X70, s2l9_out_ga(T24, X70)) → s2l9_out_ga(s(T24), .(X69, X70))
U5_gaa(T16, T10, T11, s2l9_out_ga(T16, X32)) → goal1_out_gaa(s(T16), T10, T11)
goal1_in_gaa(s(T16), T44, T45) → U6_gaa(T16, T44, T45, s2l9_in_ga(T16, T43))
U6_gaa(T16, T44, T45, s2l9_out_ga(T16, T43)) → U7_gaa(T16, T44, T45, append21_in_agaa(X105, T43, T44, X104))
append21_in_agaa(X141, T63, T64, .(X141, X142)) → U4_agaa(X141, T63, T64, X142, append25_in_gaa(T63, T64, X142))
append25_in_gaa([], T71, .(T71, [])) → append25_out_gaa([], T71, .(T71, []))
append25_in_gaa(.(T78, T81), T82, .(T78, X165)) → U2_gaa(T78, T81, T82, X165, append25_in_gaa(T81, T82, X165))
U2_gaa(T78, T81, T82, X165, append25_out_gaa(T81, T82, X165)) → append25_out_gaa(.(T78, T81), T82, .(T78, X165))
U4_agaa(X141, T63, T64, X142, append25_out_gaa(T63, T64, X142)) → append21_out_agaa(X141, T63, T64, .(X141, X142))
U7_gaa(T16, T44, T45, append21_out_agaa(X105, T43, T44, X104)) → goal1_out_gaa(s(T16), T44, T45)
goal1_in_gaa(s(T16), T44, T50) → U8_gaa(T16, T44, T50, s2l9_in_ga(T16, T43))
U8_gaa(T16, T44, T50, s2l9_out_ga(T16, T43)) → U9_gaa(T16, T44, T50, append21_in_agaa(T48, T43, T44, T49))
U9_gaa(T16, T44, T50, append21_out_agaa(T48, T43, T44, T49)) → U10_gaa(T16, T44, T50, last22_in_ag(T50, T49))
last22_in_ag(T91, .(T91, [])) → last22_out_ag(T91, .(T91, []))
last22_in_ag(T101, .(T99, T102)) → U3_ag(T101, T99, T102, last22_in_ag(T101, T102))
U3_ag(T101, T99, T102, last22_out_ag(T101, T102)) → last22_out_ag(T101, .(T99, T102))
U10_gaa(T16, T44, T50, last22_out_ag(T50, T49)) → goal1_out_gaa(s(T16), T44, T50)
goal1_in_gaa(0, T117, T118) → U11_gaa(T117, T118, append46_in_aa(T117, X210))
append46_in_aa(T128, .(T128, [])) → append46_out_aa(T128, .(T128, []))
U11_gaa(T117, T118, append46_out_aa(T117, X210)) → goal1_out_gaa(0, T117, T118)
goal1_in_gaa(0, T117, T122) → U12_gaa(T117, T122, append46_in_aa(T117, T121))
U12_gaa(T117, T122, append46_out_aa(T117, T121)) → U13_gaa(T117, T122, last22_in_ag(T122, T121))
U13_gaa(T117, T122, last22_out_ag(T122, T121)) → goal1_out_gaa(0, T117, T122)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
goal1_in_gaa(s(T16), T10, T11) → U5_gaa(T16, T10, T11, s2l9_in_ga(T16, X32))
s2l9_in_ga(s(T24), .(X69, X70)) → U1_ga(T24, X69, X70, s2l9_in_ga(T24, X70))
s2l9_in_ga(0, []) → s2l9_out_ga(0, [])
U1_ga(T24, X69, X70, s2l9_out_ga(T24, X70)) → s2l9_out_ga(s(T24), .(X69, X70))
U5_gaa(T16, T10, T11, s2l9_out_ga(T16, X32)) → goal1_out_gaa(s(T16), T10, T11)
goal1_in_gaa(s(T16), T44, T45) → U6_gaa(T16, T44, T45, s2l9_in_ga(T16, T43))
U6_gaa(T16, T44, T45, s2l9_out_ga(T16, T43)) → U7_gaa(T16, T44, T45, append21_in_agaa(X105, T43, T44, X104))
append21_in_agaa(X141, T63, T64, .(X141, X142)) → U4_agaa(X141, T63, T64, X142, append25_in_gaa(T63, T64, X142))
append25_in_gaa([], T71, .(T71, [])) → append25_out_gaa([], T71, .(T71, []))
append25_in_gaa(.(T78, T81), T82, .(T78, X165)) → U2_gaa(T78, T81, T82, X165, append25_in_gaa(T81, T82, X165))
U2_gaa(T78, T81, T82, X165, append25_out_gaa(T81, T82, X165)) → append25_out_gaa(.(T78, T81), T82, .(T78, X165))
U4_agaa(X141, T63, T64, X142, append25_out_gaa(T63, T64, X142)) → append21_out_agaa(X141, T63, T64, .(X141, X142))
U7_gaa(T16, T44, T45, append21_out_agaa(X105, T43, T44, X104)) → goal1_out_gaa(s(T16), T44, T45)
goal1_in_gaa(s(T16), T44, T50) → U8_gaa(T16, T44, T50, s2l9_in_ga(T16, T43))
U8_gaa(T16, T44, T50, s2l9_out_ga(T16, T43)) → U9_gaa(T16, T44, T50, append21_in_agaa(T48, T43, T44, T49))
U9_gaa(T16, T44, T50, append21_out_agaa(T48, T43, T44, T49)) → U10_gaa(T16, T44, T50, last22_in_ag(T50, T49))
last22_in_ag(T91, .(T91, [])) → last22_out_ag(T91, .(T91, []))
last22_in_ag(T101, .(T99, T102)) → U3_ag(T101, T99, T102, last22_in_ag(T101, T102))
U3_ag(T101, T99, T102, last22_out_ag(T101, T102)) → last22_out_ag(T101, .(T99, T102))
U10_gaa(T16, T44, T50, last22_out_ag(T50, T49)) → goal1_out_gaa(s(T16), T44, T50)
goal1_in_gaa(0, T117, T118) → U11_gaa(T117, T118, append46_in_aa(T117, X210))
append46_in_aa(T128, .(T128, [])) → append46_out_aa(T128, .(T128, []))
U11_gaa(T117, T118, append46_out_aa(T117, X210)) → goal1_out_gaa(0, T117, T118)
goal1_in_gaa(0, T117, T122) → U12_gaa(T117, T122, append46_in_aa(T117, T121))
U12_gaa(T117, T122, append46_out_aa(T117, T121)) → U13_gaa(T117, T122, last22_in_ag(T122, T121))
U13_gaa(T117, T122, last22_out_ag(T122, T121)) → goal1_out_gaa(0, T117, T122)
GOAL1_IN_GAA(s(T16), T10, T11) → U5_GAA(T16, T10, T11, s2l9_in_ga(T16, X32))
GOAL1_IN_GAA(s(T16), T10, T11) → S2L9_IN_GA(T16, X32)
S2L9_IN_GA(s(T24), .(X69, X70)) → U1_GA(T24, X69, X70, s2l9_in_ga(T24, X70))
S2L9_IN_GA(s(T24), .(X69, X70)) → S2L9_IN_GA(T24, X70)
GOAL1_IN_GAA(s(T16), T44, T45) → U6_GAA(T16, T44, T45, s2l9_in_ga(T16, T43))
U6_GAA(T16, T44, T45, s2l9_out_ga(T16, T43)) → U7_GAA(T16, T44, T45, append21_in_agaa(X105, T43, T44, X104))
U6_GAA(T16, T44, T45, s2l9_out_ga(T16, T43)) → APPEND21_IN_AGAA(X105, T43, T44, X104)
APPEND21_IN_AGAA(X141, T63, T64, .(X141, X142)) → U4_AGAA(X141, T63, T64, X142, append25_in_gaa(T63, T64, X142))
APPEND21_IN_AGAA(X141, T63, T64, .(X141, X142)) → APPEND25_IN_GAA(T63, T64, X142)
APPEND25_IN_GAA(.(T78, T81), T82, .(T78, X165)) → U2_GAA(T78, T81, T82, X165, append25_in_gaa(T81, T82, X165))
APPEND25_IN_GAA(.(T78, T81), T82, .(T78, X165)) → APPEND25_IN_GAA(T81, T82, X165)
GOAL1_IN_GAA(s(T16), T44, T50) → U8_GAA(T16, T44, T50, s2l9_in_ga(T16, T43))
U8_GAA(T16, T44, T50, s2l9_out_ga(T16, T43)) → U9_GAA(T16, T44, T50, append21_in_agaa(T48, T43, T44, T49))
U8_GAA(T16, T44, T50, s2l9_out_ga(T16, T43)) → APPEND21_IN_AGAA(T48, T43, T44, T49)
U9_GAA(T16, T44, T50, append21_out_agaa(T48, T43, T44, T49)) → U10_GAA(T16, T44, T50, last22_in_ag(T50, T49))
U9_GAA(T16, T44, T50, append21_out_agaa(T48, T43, T44, T49)) → LAST22_IN_AG(T50, T49)
LAST22_IN_AG(T101, .(T99, T102)) → U3_AG(T101, T99, T102, last22_in_ag(T101, T102))
LAST22_IN_AG(T101, .(T99, T102)) → LAST22_IN_AG(T101, T102)
GOAL1_IN_GAA(0, T117, T118) → U11_GAA(T117, T118, append46_in_aa(T117, X210))
GOAL1_IN_GAA(0, T117, T118) → APPEND46_IN_AA(T117, X210)
GOAL1_IN_GAA(0, T117, T122) → U12_GAA(T117, T122, append46_in_aa(T117, T121))
U12_GAA(T117, T122, append46_out_aa(T117, T121)) → U13_GAA(T117, T122, last22_in_ag(T122, T121))
U12_GAA(T117, T122, append46_out_aa(T117, T121)) → LAST22_IN_AG(T122, T121)
goal1_in_gaa(s(T16), T10, T11) → U5_gaa(T16, T10, T11, s2l9_in_ga(T16, X32))
s2l9_in_ga(s(T24), .(X69, X70)) → U1_ga(T24, X69, X70, s2l9_in_ga(T24, X70))
s2l9_in_ga(0, []) → s2l9_out_ga(0, [])
U1_ga(T24, X69, X70, s2l9_out_ga(T24, X70)) → s2l9_out_ga(s(T24), .(X69, X70))
U5_gaa(T16, T10, T11, s2l9_out_ga(T16, X32)) → goal1_out_gaa(s(T16), T10, T11)
goal1_in_gaa(s(T16), T44, T45) → U6_gaa(T16, T44, T45, s2l9_in_ga(T16, T43))
U6_gaa(T16, T44, T45, s2l9_out_ga(T16, T43)) → U7_gaa(T16, T44, T45, append21_in_agaa(X105, T43, T44, X104))
append21_in_agaa(X141, T63, T64, .(X141, X142)) → U4_agaa(X141, T63, T64, X142, append25_in_gaa(T63, T64, X142))
append25_in_gaa([], T71, .(T71, [])) → append25_out_gaa([], T71, .(T71, []))
append25_in_gaa(.(T78, T81), T82, .(T78, X165)) → U2_gaa(T78, T81, T82, X165, append25_in_gaa(T81, T82, X165))
U2_gaa(T78, T81, T82, X165, append25_out_gaa(T81, T82, X165)) → append25_out_gaa(.(T78, T81), T82, .(T78, X165))
U4_agaa(X141, T63, T64, X142, append25_out_gaa(T63, T64, X142)) → append21_out_agaa(X141, T63, T64, .(X141, X142))
U7_gaa(T16, T44, T45, append21_out_agaa(X105, T43, T44, X104)) → goal1_out_gaa(s(T16), T44, T45)
goal1_in_gaa(s(T16), T44, T50) → U8_gaa(T16, T44, T50, s2l9_in_ga(T16, T43))
U8_gaa(T16, T44, T50, s2l9_out_ga(T16, T43)) → U9_gaa(T16, T44, T50, append21_in_agaa(T48, T43, T44, T49))
U9_gaa(T16, T44, T50, append21_out_agaa(T48, T43, T44, T49)) → U10_gaa(T16, T44, T50, last22_in_ag(T50, T49))
last22_in_ag(T91, .(T91, [])) → last22_out_ag(T91, .(T91, []))
last22_in_ag(T101, .(T99, T102)) → U3_ag(T101, T99, T102, last22_in_ag(T101, T102))
U3_ag(T101, T99, T102, last22_out_ag(T101, T102)) → last22_out_ag(T101, .(T99, T102))
U10_gaa(T16, T44, T50, last22_out_ag(T50, T49)) → goal1_out_gaa(s(T16), T44, T50)
goal1_in_gaa(0, T117, T118) → U11_gaa(T117, T118, append46_in_aa(T117, X210))
append46_in_aa(T128, .(T128, [])) → append46_out_aa(T128, .(T128, []))
U11_gaa(T117, T118, append46_out_aa(T117, X210)) → goal1_out_gaa(0, T117, T118)
goal1_in_gaa(0, T117, T122) → U12_gaa(T117, T122, append46_in_aa(T117, T121))
U12_gaa(T117, T122, append46_out_aa(T117, T121)) → U13_gaa(T117, T122, last22_in_ag(T122, T121))
U13_gaa(T117, T122, last22_out_ag(T122, T121)) → goal1_out_gaa(0, T117, T122)
GOAL1_IN_GAA(s(T16), T10, T11) → U5_GAA(T16, T10, T11, s2l9_in_ga(T16, X32))
GOAL1_IN_GAA(s(T16), T10, T11) → S2L9_IN_GA(T16, X32)
S2L9_IN_GA(s(T24), .(X69, X70)) → U1_GA(T24, X69, X70, s2l9_in_ga(T24, X70))
S2L9_IN_GA(s(T24), .(X69, X70)) → S2L9_IN_GA(T24, X70)
GOAL1_IN_GAA(s(T16), T44, T45) → U6_GAA(T16, T44, T45, s2l9_in_ga(T16, T43))
U6_GAA(T16, T44, T45, s2l9_out_ga(T16, T43)) → U7_GAA(T16, T44, T45, append21_in_agaa(X105, T43, T44, X104))
U6_GAA(T16, T44, T45, s2l9_out_ga(T16, T43)) → APPEND21_IN_AGAA(X105, T43, T44, X104)
APPEND21_IN_AGAA(X141, T63, T64, .(X141, X142)) → U4_AGAA(X141, T63, T64, X142, append25_in_gaa(T63, T64, X142))
APPEND21_IN_AGAA(X141, T63, T64, .(X141, X142)) → APPEND25_IN_GAA(T63, T64, X142)
APPEND25_IN_GAA(.(T78, T81), T82, .(T78, X165)) → U2_GAA(T78, T81, T82, X165, append25_in_gaa(T81, T82, X165))
APPEND25_IN_GAA(.(T78, T81), T82, .(T78, X165)) → APPEND25_IN_GAA(T81, T82, X165)
GOAL1_IN_GAA(s(T16), T44, T50) → U8_GAA(T16, T44, T50, s2l9_in_ga(T16, T43))
U8_GAA(T16, T44, T50, s2l9_out_ga(T16, T43)) → U9_GAA(T16, T44, T50, append21_in_agaa(T48, T43, T44, T49))
U8_GAA(T16, T44, T50, s2l9_out_ga(T16, T43)) → APPEND21_IN_AGAA(T48, T43, T44, T49)
U9_GAA(T16, T44, T50, append21_out_agaa(T48, T43, T44, T49)) → U10_GAA(T16, T44, T50, last22_in_ag(T50, T49))
U9_GAA(T16, T44, T50, append21_out_agaa(T48, T43, T44, T49)) → LAST22_IN_AG(T50, T49)
LAST22_IN_AG(T101, .(T99, T102)) → U3_AG(T101, T99, T102, last22_in_ag(T101, T102))
LAST22_IN_AG(T101, .(T99, T102)) → LAST22_IN_AG(T101, T102)
GOAL1_IN_GAA(0, T117, T118) → U11_GAA(T117, T118, append46_in_aa(T117, X210))
GOAL1_IN_GAA(0, T117, T118) → APPEND46_IN_AA(T117, X210)
GOAL1_IN_GAA(0, T117, T122) → U12_GAA(T117, T122, append46_in_aa(T117, T121))
U12_GAA(T117, T122, append46_out_aa(T117, T121)) → U13_GAA(T117, T122, last22_in_ag(T122, T121))
U12_GAA(T117, T122, append46_out_aa(T117, T121)) → LAST22_IN_AG(T122, T121)
goal1_in_gaa(s(T16), T10, T11) → U5_gaa(T16, T10, T11, s2l9_in_ga(T16, X32))
s2l9_in_ga(s(T24), .(X69, X70)) → U1_ga(T24, X69, X70, s2l9_in_ga(T24, X70))
s2l9_in_ga(0, []) → s2l9_out_ga(0, [])
U1_ga(T24, X69, X70, s2l9_out_ga(T24, X70)) → s2l9_out_ga(s(T24), .(X69, X70))
U5_gaa(T16, T10, T11, s2l9_out_ga(T16, X32)) → goal1_out_gaa(s(T16), T10, T11)
goal1_in_gaa(s(T16), T44, T45) → U6_gaa(T16, T44, T45, s2l9_in_ga(T16, T43))
U6_gaa(T16, T44, T45, s2l9_out_ga(T16, T43)) → U7_gaa(T16, T44, T45, append21_in_agaa(X105, T43, T44, X104))
append21_in_agaa(X141, T63, T64, .(X141, X142)) → U4_agaa(X141, T63, T64, X142, append25_in_gaa(T63, T64, X142))
append25_in_gaa([], T71, .(T71, [])) → append25_out_gaa([], T71, .(T71, []))
append25_in_gaa(.(T78, T81), T82, .(T78, X165)) → U2_gaa(T78, T81, T82, X165, append25_in_gaa(T81, T82, X165))
U2_gaa(T78, T81, T82, X165, append25_out_gaa(T81, T82, X165)) → append25_out_gaa(.(T78, T81), T82, .(T78, X165))
U4_agaa(X141, T63, T64, X142, append25_out_gaa(T63, T64, X142)) → append21_out_agaa(X141, T63, T64, .(X141, X142))
U7_gaa(T16, T44, T45, append21_out_agaa(X105, T43, T44, X104)) → goal1_out_gaa(s(T16), T44, T45)
goal1_in_gaa(s(T16), T44, T50) → U8_gaa(T16, T44, T50, s2l9_in_ga(T16, T43))
U8_gaa(T16, T44, T50, s2l9_out_ga(T16, T43)) → U9_gaa(T16, T44, T50, append21_in_agaa(T48, T43, T44, T49))
U9_gaa(T16, T44, T50, append21_out_agaa(T48, T43, T44, T49)) → U10_gaa(T16, T44, T50, last22_in_ag(T50, T49))
last22_in_ag(T91, .(T91, [])) → last22_out_ag(T91, .(T91, []))
last22_in_ag(T101, .(T99, T102)) → U3_ag(T101, T99, T102, last22_in_ag(T101, T102))
U3_ag(T101, T99, T102, last22_out_ag(T101, T102)) → last22_out_ag(T101, .(T99, T102))
U10_gaa(T16, T44, T50, last22_out_ag(T50, T49)) → goal1_out_gaa(s(T16), T44, T50)
goal1_in_gaa(0, T117, T118) → U11_gaa(T117, T118, append46_in_aa(T117, X210))
append46_in_aa(T128, .(T128, [])) → append46_out_aa(T128, .(T128, []))
U11_gaa(T117, T118, append46_out_aa(T117, X210)) → goal1_out_gaa(0, T117, T118)
goal1_in_gaa(0, T117, T122) → U12_gaa(T117, T122, append46_in_aa(T117, T121))
U12_gaa(T117, T122, append46_out_aa(T117, T121)) → U13_gaa(T117, T122, last22_in_ag(T122, T121))
U13_gaa(T117, T122, last22_out_ag(T122, T121)) → goal1_out_gaa(0, T117, T122)
LAST22_IN_AG(T101, .(T99, T102)) → LAST22_IN_AG(T101, T102)
goal1_in_gaa(s(T16), T10, T11) → U5_gaa(T16, T10, T11, s2l9_in_ga(T16, X32))
s2l9_in_ga(s(T24), .(X69, X70)) → U1_ga(T24, X69, X70, s2l9_in_ga(T24, X70))
s2l9_in_ga(0, []) → s2l9_out_ga(0, [])
U1_ga(T24, X69, X70, s2l9_out_ga(T24, X70)) → s2l9_out_ga(s(T24), .(X69, X70))
U5_gaa(T16, T10, T11, s2l9_out_ga(T16, X32)) → goal1_out_gaa(s(T16), T10, T11)
goal1_in_gaa(s(T16), T44, T45) → U6_gaa(T16, T44, T45, s2l9_in_ga(T16, T43))
U6_gaa(T16, T44, T45, s2l9_out_ga(T16, T43)) → U7_gaa(T16, T44, T45, append21_in_agaa(X105, T43, T44, X104))
append21_in_agaa(X141, T63, T64, .(X141, X142)) → U4_agaa(X141, T63, T64, X142, append25_in_gaa(T63, T64, X142))
append25_in_gaa([], T71, .(T71, [])) → append25_out_gaa([], T71, .(T71, []))
append25_in_gaa(.(T78, T81), T82, .(T78, X165)) → U2_gaa(T78, T81, T82, X165, append25_in_gaa(T81, T82, X165))
U2_gaa(T78, T81, T82, X165, append25_out_gaa(T81, T82, X165)) → append25_out_gaa(.(T78, T81), T82, .(T78, X165))
U4_agaa(X141, T63, T64, X142, append25_out_gaa(T63, T64, X142)) → append21_out_agaa(X141, T63, T64, .(X141, X142))
U7_gaa(T16, T44, T45, append21_out_agaa(X105, T43, T44, X104)) → goal1_out_gaa(s(T16), T44, T45)
goal1_in_gaa(s(T16), T44, T50) → U8_gaa(T16, T44, T50, s2l9_in_ga(T16, T43))
U8_gaa(T16, T44, T50, s2l9_out_ga(T16, T43)) → U9_gaa(T16, T44, T50, append21_in_agaa(T48, T43, T44, T49))
U9_gaa(T16, T44, T50, append21_out_agaa(T48, T43, T44, T49)) → U10_gaa(T16, T44, T50, last22_in_ag(T50, T49))
last22_in_ag(T91, .(T91, [])) → last22_out_ag(T91, .(T91, []))
last22_in_ag(T101, .(T99, T102)) → U3_ag(T101, T99, T102, last22_in_ag(T101, T102))
U3_ag(T101, T99, T102, last22_out_ag(T101, T102)) → last22_out_ag(T101, .(T99, T102))
U10_gaa(T16, T44, T50, last22_out_ag(T50, T49)) → goal1_out_gaa(s(T16), T44, T50)
goal1_in_gaa(0, T117, T118) → U11_gaa(T117, T118, append46_in_aa(T117, X210))
append46_in_aa(T128, .(T128, [])) → append46_out_aa(T128, .(T128, []))
U11_gaa(T117, T118, append46_out_aa(T117, X210)) → goal1_out_gaa(0, T117, T118)
goal1_in_gaa(0, T117, T122) → U12_gaa(T117, T122, append46_in_aa(T117, T121))
U12_gaa(T117, T122, append46_out_aa(T117, T121)) → U13_gaa(T117, T122, last22_in_ag(T122, T121))
U13_gaa(T117, T122, last22_out_ag(T122, T121)) → goal1_out_gaa(0, T117, T122)
LAST22_IN_AG(T101, .(T99, T102)) → LAST22_IN_AG(T101, T102)
LAST22_IN_AG(.(T102)) → LAST22_IN_AG(T102)
From the DPs we obtained the following set of size-change graphs:
APPEND25_IN_GAA(.(T78, T81), T82, .(T78, X165)) → APPEND25_IN_GAA(T81, T82, X165)
goal1_in_gaa(s(T16), T10, T11) → U5_gaa(T16, T10, T11, s2l9_in_ga(T16, X32))
s2l9_in_ga(s(T24), .(X69, X70)) → U1_ga(T24, X69, X70, s2l9_in_ga(T24, X70))
s2l9_in_ga(0, []) → s2l9_out_ga(0, [])
U1_ga(T24, X69, X70, s2l9_out_ga(T24, X70)) → s2l9_out_ga(s(T24), .(X69, X70))
U5_gaa(T16, T10, T11, s2l9_out_ga(T16, X32)) → goal1_out_gaa(s(T16), T10, T11)
goal1_in_gaa(s(T16), T44, T45) → U6_gaa(T16, T44, T45, s2l9_in_ga(T16, T43))
U6_gaa(T16, T44, T45, s2l9_out_ga(T16, T43)) → U7_gaa(T16, T44, T45, append21_in_agaa(X105, T43, T44, X104))
append21_in_agaa(X141, T63, T64, .(X141, X142)) → U4_agaa(X141, T63, T64, X142, append25_in_gaa(T63, T64, X142))
append25_in_gaa([], T71, .(T71, [])) → append25_out_gaa([], T71, .(T71, []))
append25_in_gaa(.(T78, T81), T82, .(T78, X165)) → U2_gaa(T78, T81, T82, X165, append25_in_gaa(T81, T82, X165))
U2_gaa(T78, T81, T82, X165, append25_out_gaa(T81, T82, X165)) → append25_out_gaa(.(T78, T81), T82, .(T78, X165))
U4_agaa(X141, T63, T64, X142, append25_out_gaa(T63, T64, X142)) → append21_out_agaa(X141, T63, T64, .(X141, X142))
U7_gaa(T16, T44, T45, append21_out_agaa(X105, T43, T44, X104)) → goal1_out_gaa(s(T16), T44, T45)
goal1_in_gaa(s(T16), T44, T50) → U8_gaa(T16, T44, T50, s2l9_in_ga(T16, T43))
U8_gaa(T16, T44, T50, s2l9_out_ga(T16, T43)) → U9_gaa(T16, T44, T50, append21_in_agaa(T48, T43, T44, T49))
U9_gaa(T16, T44, T50, append21_out_agaa(T48, T43, T44, T49)) → U10_gaa(T16, T44, T50, last22_in_ag(T50, T49))
last22_in_ag(T91, .(T91, [])) → last22_out_ag(T91, .(T91, []))
last22_in_ag(T101, .(T99, T102)) → U3_ag(T101, T99, T102, last22_in_ag(T101, T102))
U3_ag(T101, T99, T102, last22_out_ag(T101, T102)) → last22_out_ag(T101, .(T99, T102))
U10_gaa(T16, T44, T50, last22_out_ag(T50, T49)) → goal1_out_gaa(s(T16), T44, T50)
goal1_in_gaa(0, T117, T118) → U11_gaa(T117, T118, append46_in_aa(T117, X210))
append46_in_aa(T128, .(T128, [])) → append46_out_aa(T128, .(T128, []))
U11_gaa(T117, T118, append46_out_aa(T117, X210)) → goal1_out_gaa(0, T117, T118)
goal1_in_gaa(0, T117, T122) → U12_gaa(T117, T122, append46_in_aa(T117, T121))
U12_gaa(T117, T122, append46_out_aa(T117, T121)) → U13_gaa(T117, T122, last22_in_ag(T122, T121))
U13_gaa(T117, T122, last22_out_ag(T122, T121)) → goal1_out_gaa(0, T117, T122)
APPEND25_IN_GAA(.(T78, T81), T82, .(T78, X165)) → APPEND25_IN_GAA(T81, T82, X165)
APPEND25_IN_GAA(.(T81)) → APPEND25_IN_GAA(T81)
From the DPs we obtained the following set of size-change graphs:
S2L9_IN_GA(s(T24), .(X69, X70)) → S2L9_IN_GA(T24, X70)
goal1_in_gaa(s(T16), T10, T11) → U5_gaa(T16, T10, T11, s2l9_in_ga(T16, X32))
s2l9_in_ga(s(T24), .(X69, X70)) → U1_ga(T24, X69, X70, s2l9_in_ga(T24, X70))
s2l9_in_ga(0, []) → s2l9_out_ga(0, [])
U1_ga(T24, X69, X70, s2l9_out_ga(T24, X70)) → s2l9_out_ga(s(T24), .(X69, X70))
U5_gaa(T16, T10, T11, s2l9_out_ga(T16, X32)) → goal1_out_gaa(s(T16), T10, T11)
goal1_in_gaa(s(T16), T44, T45) → U6_gaa(T16, T44, T45, s2l9_in_ga(T16, T43))
U6_gaa(T16, T44, T45, s2l9_out_ga(T16, T43)) → U7_gaa(T16, T44, T45, append21_in_agaa(X105, T43, T44, X104))
append21_in_agaa(X141, T63, T64, .(X141, X142)) → U4_agaa(X141, T63, T64, X142, append25_in_gaa(T63, T64, X142))
append25_in_gaa([], T71, .(T71, [])) → append25_out_gaa([], T71, .(T71, []))
append25_in_gaa(.(T78, T81), T82, .(T78, X165)) → U2_gaa(T78, T81, T82, X165, append25_in_gaa(T81, T82, X165))
U2_gaa(T78, T81, T82, X165, append25_out_gaa(T81, T82, X165)) → append25_out_gaa(.(T78, T81), T82, .(T78, X165))
U4_agaa(X141, T63, T64, X142, append25_out_gaa(T63, T64, X142)) → append21_out_agaa(X141, T63, T64, .(X141, X142))
U7_gaa(T16, T44, T45, append21_out_agaa(X105, T43, T44, X104)) → goal1_out_gaa(s(T16), T44, T45)
goal1_in_gaa(s(T16), T44, T50) → U8_gaa(T16, T44, T50, s2l9_in_ga(T16, T43))
U8_gaa(T16, T44, T50, s2l9_out_ga(T16, T43)) → U9_gaa(T16, T44, T50, append21_in_agaa(T48, T43, T44, T49))
U9_gaa(T16, T44, T50, append21_out_agaa(T48, T43, T44, T49)) → U10_gaa(T16, T44, T50, last22_in_ag(T50, T49))
last22_in_ag(T91, .(T91, [])) → last22_out_ag(T91, .(T91, []))
last22_in_ag(T101, .(T99, T102)) → U3_ag(T101, T99, T102, last22_in_ag(T101, T102))
U3_ag(T101, T99, T102, last22_out_ag(T101, T102)) → last22_out_ag(T101, .(T99, T102))
U10_gaa(T16, T44, T50, last22_out_ag(T50, T49)) → goal1_out_gaa(s(T16), T44, T50)
goal1_in_gaa(0, T117, T118) → U11_gaa(T117, T118, append46_in_aa(T117, X210))
append46_in_aa(T128, .(T128, [])) → append46_out_aa(T128, .(T128, []))
U11_gaa(T117, T118, append46_out_aa(T117, X210)) → goal1_out_gaa(0, T117, T118)
goal1_in_gaa(0, T117, T122) → U12_gaa(T117, T122, append46_in_aa(T117, T121))
U12_gaa(T117, T122, append46_out_aa(T117, T121)) → U13_gaa(T117, T122, last22_in_ag(T122, T121))
U13_gaa(T117, T122, last22_out_ag(T122, T121)) → goal1_out_gaa(0, T117, T122)
S2L9_IN_GA(s(T24), .(X69, X70)) → S2L9_IN_GA(T24, X70)
S2L9_IN_GA(s(T24)) → S2L9_IN_GA(T24)
From the DPs we obtained the following set of size-change graphs: