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 MRRProof (⇔)
↳29 QDP
↳30 PisEmptyProof (⇔)
↳31 YES
perm1_in_ga([], []) → perm1_out_ga([], [])
perm1_in_ga(.(T23, X43), .(T23, T24)) → U9_ga(T23, X43, T24, append118_in_ga(X43, X30))
append118_in_ga(X58, X58) → append118_out_ga(X58, X58)
U9_ga(T23, X43, T24, append118_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, append118_in_ga(T25, T26))
U10_ga(T23, T25, T24, append118_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T37, .(T36, T38)) → U2_ga(T37, T36, T38, append234_in_aaag(X75, T36, X76, T37))
append234_in_aaag([], T50, X98, .(T50, X98)) → append234_out_aaag([], T50, X98, .(T50, X98))
append234_in_aaag(.(X118, X119), T57, X120, .(X118, T58)) → U1_aaag(X118, X119, T57, X120, T58, append234_in_aaag(X119, T57, X120, T58))
U1_aaag(X118, X119, T57, X120, T58, append234_out_aaag(X119, T57, X120, T58)) → append234_out_aaag(.(X118, X119), T57, X120, .(X118, T58))
U2_ga(T37, T36, T38, append234_out_aaag(X75, T36, X76, T37)) → perm19_out_ga(T37, .(T36, T38))
perm19_in_ga(T37, .(T36, T43)) → U3_ga(T37, T36, T43, append234_in_aaag(T41, T36, T42, T37))
U3_ga(T37, T36, T43, append234_out_aaag(T41, T36, T42, T37)) → U4_ga(T37, T36, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, append144_in_gga(T41, T42, X77))
append144_in_gga([], T71, T71) → append144_out_gga([], T71, T71)
append144_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, append144_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, append144_out_gga(T81, T82, X153)) → append144_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, append144_out_gga(T41, T42, X77)) → p35_out_ggaa(T41, T42, X77, T43)
p35_in_ggaa(T41, T42, T63, T64) → U7_ggaa(T41, T42, T63, T64, append144_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, append144_out_gga(T41, T42, T63)) → U8_ggaa(T41, T42, T63, T64, perm19_in_ga(T63, T64))
U8_ggaa(T41, T42, T63, T64, perm19_out_ga(T63, T64)) → p35_out_ggaa(T41, T42, T63, T64)
U4_ga(T37, T36, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T37, .(T36, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(.(T23, T25), .(T23, T24))
perm1_in_ga(.(X178, T90), .(T91, T92)) → U12_ga(X178, T90, T91, T92, append234_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, append234_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(.(X178, T90), .(T91, T92))
perm1_in_ga(.(X178, T90), .(T91, T97)) → U13_ga(X178, T90, T91, T97, append234_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, append234_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(.(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(.(X178, T95), T96, X30, T97)) → perm1_out_ga(.(X178, T90), .(T91, T97))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
perm1_in_ga([], []) → perm1_out_ga([], [])
perm1_in_ga(.(T23, X43), .(T23, T24)) → U9_ga(T23, X43, T24, append118_in_ga(X43, X30))
append118_in_ga(X58, X58) → append118_out_ga(X58, X58)
U9_ga(T23, X43, T24, append118_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, append118_in_ga(T25, T26))
U10_ga(T23, T25, T24, append118_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T37, .(T36, T38)) → U2_ga(T37, T36, T38, append234_in_aaag(X75, T36, X76, T37))
append234_in_aaag([], T50, X98, .(T50, X98)) → append234_out_aaag([], T50, X98, .(T50, X98))
append234_in_aaag(.(X118, X119), T57, X120, .(X118, T58)) → U1_aaag(X118, X119, T57, X120, T58, append234_in_aaag(X119, T57, X120, T58))
U1_aaag(X118, X119, T57, X120, T58, append234_out_aaag(X119, T57, X120, T58)) → append234_out_aaag(.(X118, X119), T57, X120, .(X118, T58))
U2_ga(T37, T36, T38, append234_out_aaag(X75, T36, X76, T37)) → perm19_out_ga(T37, .(T36, T38))
perm19_in_ga(T37, .(T36, T43)) → U3_ga(T37, T36, T43, append234_in_aaag(T41, T36, T42, T37))
U3_ga(T37, T36, T43, append234_out_aaag(T41, T36, T42, T37)) → U4_ga(T37, T36, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, append144_in_gga(T41, T42, X77))
append144_in_gga([], T71, T71) → append144_out_gga([], T71, T71)
append144_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, append144_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, append144_out_gga(T81, T82, X153)) → append144_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, append144_out_gga(T41, T42, X77)) → p35_out_ggaa(T41, T42, X77, T43)
p35_in_ggaa(T41, T42, T63, T64) → U7_ggaa(T41, T42, T63, T64, append144_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, append144_out_gga(T41, T42, T63)) → U8_ggaa(T41, T42, T63, T64, perm19_in_ga(T63, T64))
U8_ggaa(T41, T42, T63, T64, perm19_out_ga(T63, T64)) → p35_out_ggaa(T41, T42, T63, T64)
U4_ga(T37, T36, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T37, .(T36, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(.(T23, T25), .(T23, T24))
perm1_in_ga(.(X178, T90), .(T91, T92)) → U12_ga(X178, T90, T91, T92, append234_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, append234_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(.(X178, T90), .(T91, T92))
perm1_in_ga(.(X178, T90), .(T91, T97)) → U13_ga(X178, T90, T91, T97, append234_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, append234_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(.(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(.(X178, T95), T96, X30, T97)) → perm1_out_ga(.(X178, T90), .(T91, T97))
PERM1_IN_GA(.(T23, X43), .(T23, T24)) → U9_GA(T23, X43, T24, append118_in_ga(X43, X30))
PERM1_IN_GA(.(T23, X43), .(T23, T24)) → APPEND118_IN_GA(X43, X30)
PERM1_IN_GA(.(T23, T25), .(T23, T24)) → U10_GA(T23, T25, T24, append118_in_ga(T25, T26))
U10_GA(T23, T25, T24, append118_out_ga(T25, T26)) → U11_GA(T23, T25, T24, perm19_in_ga(T26, T24))
U10_GA(T23, T25, T24, append118_out_ga(T25, T26)) → PERM19_IN_GA(T26, T24)
PERM19_IN_GA(T37, .(T36, T38)) → U2_GA(T37, T36, T38, append234_in_aaag(X75, T36, X76, T37))
PERM19_IN_GA(T37, .(T36, T38)) → APPEND234_IN_AAAG(X75, T36, X76, T37)
APPEND234_IN_AAAG(.(X118, X119), T57, X120, .(X118, T58)) → U1_AAAG(X118, X119, T57, X120, T58, append234_in_aaag(X119, T57, X120, T58))
APPEND234_IN_AAAG(.(X118, X119), T57, X120, .(X118, T58)) → APPEND234_IN_AAAG(X119, T57, X120, T58)
PERM19_IN_GA(T37, .(T36, T43)) → U3_GA(T37, T36, T43, append234_in_aaag(T41, T36, T42, T37))
U3_GA(T37, T36, T43, append234_out_aaag(T41, T36, T42, T37)) → U4_GA(T37, T36, T43, p35_in_ggaa(T41, T42, X77, T43))
U3_GA(T37, T36, T43, append234_out_aaag(T41, T36, T42, T37)) → P35_IN_GGAA(T41, T42, X77, T43)
P35_IN_GGAA(T41, T42, X77, T43) → U6_GGAA(T41, T42, X77, T43, append144_in_gga(T41, T42, X77))
P35_IN_GGAA(T41, T42, X77, T43) → APPEND144_IN_GGA(T41, T42, X77)
APPEND144_IN_GGA(.(T78, T81), T82, .(T78, X153)) → U5_GGA(T78, T81, T82, X153, append144_in_gga(T81, T82, X153))
APPEND144_IN_GGA(.(T78, T81), T82, .(T78, X153)) → APPEND144_IN_GGA(T81, T82, X153)
P35_IN_GGAA(T41, T42, T63, T64) → U7_GGAA(T41, T42, T63, T64, append144_in_gga(T41, T42, T63))
U7_GGAA(T41, T42, T63, T64, append144_out_gga(T41, T42, T63)) → U8_GGAA(T41, T42, T63, T64, perm19_in_ga(T63, T64))
U7_GGAA(T41, T42, T63, T64, append144_out_gga(T41, T42, T63)) → PERM19_IN_GA(T63, T64)
PERM1_IN_GA(.(X178, T90), .(T91, T92)) → U12_GA(X178, T90, T91, T92, append234_in_aaag(X179, T91, X180, T90))
PERM1_IN_GA(.(X178, T90), .(T91, T92)) → APPEND234_IN_AAAG(X179, T91, X180, T90)
PERM1_IN_GA(.(X178, T90), .(T91, T97)) → U13_GA(X178, T90, T91, T97, append234_in_aaag(T95, T91, T96, T90))
U13_GA(X178, T90, T91, T97, append234_out_aaag(T95, T91, T96, T90)) → U14_GA(X178, T90, T91, T97, p35_in_ggaa(.(X178, T95), T96, X30, T97))
U13_GA(X178, T90, T91, T97, append234_out_aaag(T95, T91, T96, T90)) → P35_IN_GGAA(.(X178, T95), T96, X30, T97)
perm1_in_ga([], []) → perm1_out_ga([], [])
perm1_in_ga(.(T23, X43), .(T23, T24)) → U9_ga(T23, X43, T24, append118_in_ga(X43, X30))
append118_in_ga(X58, X58) → append118_out_ga(X58, X58)
U9_ga(T23, X43, T24, append118_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, append118_in_ga(T25, T26))
U10_ga(T23, T25, T24, append118_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T37, .(T36, T38)) → U2_ga(T37, T36, T38, append234_in_aaag(X75, T36, X76, T37))
append234_in_aaag([], T50, X98, .(T50, X98)) → append234_out_aaag([], T50, X98, .(T50, X98))
append234_in_aaag(.(X118, X119), T57, X120, .(X118, T58)) → U1_aaag(X118, X119, T57, X120, T58, append234_in_aaag(X119, T57, X120, T58))
U1_aaag(X118, X119, T57, X120, T58, append234_out_aaag(X119, T57, X120, T58)) → append234_out_aaag(.(X118, X119), T57, X120, .(X118, T58))
U2_ga(T37, T36, T38, append234_out_aaag(X75, T36, X76, T37)) → perm19_out_ga(T37, .(T36, T38))
perm19_in_ga(T37, .(T36, T43)) → U3_ga(T37, T36, T43, append234_in_aaag(T41, T36, T42, T37))
U3_ga(T37, T36, T43, append234_out_aaag(T41, T36, T42, T37)) → U4_ga(T37, T36, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, append144_in_gga(T41, T42, X77))
append144_in_gga([], T71, T71) → append144_out_gga([], T71, T71)
append144_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, append144_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, append144_out_gga(T81, T82, X153)) → append144_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, append144_out_gga(T41, T42, X77)) → p35_out_ggaa(T41, T42, X77, T43)
p35_in_ggaa(T41, T42, T63, T64) → U7_ggaa(T41, T42, T63, T64, append144_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, append144_out_gga(T41, T42, T63)) → U8_ggaa(T41, T42, T63, T64, perm19_in_ga(T63, T64))
U8_ggaa(T41, T42, T63, T64, perm19_out_ga(T63, T64)) → p35_out_ggaa(T41, T42, T63, T64)
U4_ga(T37, T36, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T37, .(T36, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(.(T23, T25), .(T23, T24))
perm1_in_ga(.(X178, T90), .(T91, T92)) → U12_ga(X178, T90, T91, T92, append234_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, append234_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(.(X178, T90), .(T91, T92))
perm1_in_ga(.(X178, T90), .(T91, T97)) → U13_ga(X178, T90, T91, T97, append234_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, append234_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(.(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(.(X178, T95), T96, X30, T97)) → perm1_out_ga(.(X178, T90), .(T91, T97))
PERM1_IN_GA(.(T23, X43), .(T23, T24)) → U9_GA(T23, X43, T24, append118_in_ga(X43, X30))
PERM1_IN_GA(.(T23, X43), .(T23, T24)) → APPEND118_IN_GA(X43, X30)
PERM1_IN_GA(.(T23, T25), .(T23, T24)) → U10_GA(T23, T25, T24, append118_in_ga(T25, T26))
U10_GA(T23, T25, T24, append118_out_ga(T25, T26)) → U11_GA(T23, T25, T24, perm19_in_ga(T26, T24))
U10_GA(T23, T25, T24, append118_out_ga(T25, T26)) → PERM19_IN_GA(T26, T24)
PERM19_IN_GA(T37, .(T36, T38)) → U2_GA(T37, T36, T38, append234_in_aaag(X75, T36, X76, T37))
PERM19_IN_GA(T37, .(T36, T38)) → APPEND234_IN_AAAG(X75, T36, X76, T37)
APPEND234_IN_AAAG(.(X118, X119), T57, X120, .(X118, T58)) → U1_AAAG(X118, X119, T57, X120, T58, append234_in_aaag(X119, T57, X120, T58))
APPEND234_IN_AAAG(.(X118, X119), T57, X120, .(X118, T58)) → APPEND234_IN_AAAG(X119, T57, X120, T58)
PERM19_IN_GA(T37, .(T36, T43)) → U3_GA(T37, T36, T43, append234_in_aaag(T41, T36, T42, T37))
U3_GA(T37, T36, T43, append234_out_aaag(T41, T36, T42, T37)) → U4_GA(T37, T36, T43, p35_in_ggaa(T41, T42, X77, T43))
U3_GA(T37, T36, T43, append234_out_aaag(T41, T36, T42, T37)) → P35_IN_GGAA(T41, T42, X77, T43)
P35_IN_GGAA(T41, T42, X77, T43) → U6_GGAA(T41, T42, X77, T43, append144_in_gga(T41, T42, X77))
P35_IN_GGAA(T41, T42, X77, T43) → APPEND144_IN_GGA(T41, T42, X77)
APPEND144_IN_GGA(.(T78, T81), T82, .(T78, X153)) → U5_GGA(T78, T81, T82, X153, append144_in_gga(T81, T82, X153))
APPEND144_IN_GGA(.(T78, T81), T82, .(T78, X153)) → APPEND144_IN_GGA(T81, T82, X153)
P35_IN_GGAA(T41, T42, T63, T64) → U7_GGAA(T41, T42, T63, T64, append144_in_gga(T41, T42, T63))
U7_GGAA(T41, T42, T63, T64, append144_out_gga(T41, T42, T63)) → U8_GGAA(T41, T42, T63, T64, perm19_in_ga(T63, T64))
U7_GGAA(T41, T42, T63, T64, append144_out_gga(T41, T42, T63)) → PERM19_IN_GA(T63, T64)
PERM1_IN_GA(.(X178, T90), .(T91, T92)) → U12_GA(X178, T90, T91, T92, append234_in_aaag(X179, T91, X180, T90))
PERM1_IN_GA(.(X178, T90), .(T91, T92)) → APPEND234_IN_AAAG(X179, T91, X180, T90)
PERM1_IN_GA(.(X178, T90), .(T91, T97)) → U13_GA(X178, T90, T91, T97, append234_in_aaag(T95, T91, T96, T90))
U13_GA(X178, T90, T91, T97, append234_out_aaag(T95, T91, T96, T90)) → U14_GA(X178, T90, T91, T97, p35_in_ggaa(.(X178, T95), T96, X30, T97))
U13_GA(X178, T90, T91, T97, append234_out_aaag(T95, T91, T96, T90)) → P35_IN_GGAA(.(X178, T95), T96, X30, T97)
perm1_in_ga([], []) → perm1_out_ga([], [])
perm1_in_ga(.(T23, X43), .(T23, T24)) → U9_ga(T23, X43, T24, append118_in_ga(X43, X30))
append118_in_ga(X58, X58) → append118_out_ga(X58, X58)
U9_ga(T23, X43, T24, append118_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, append118_in_ga(T25, T26))
U10_ga(T23, T25, T24, append118_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T37, .(T36, T38)) → U2_ga(T37, T36, T38, append234_in_aaag(X75, T36, X76, T37))
append234_in_aaag([], T50, X98, .(T50, X98)) → append234_out_aaag([], T50, X98, .(T50, X98))
append234_in_aaag(.(X118, X119), T57, X120, .(X118, T58)) → U1_aaag(X118, X119, T57, X120, T58, append234_in_aaag(X119, T57, X120, T58))
U1_aaag(X118, X119, T57, X120, T58, append234_out_aaag(X119, T57, X120, T58)) → append234_out_aaag(.(X118, X119), T57, X120, .(X118, T58))
U2_ga(T37, T36, T38, append234_out_aaag(X75, T36, X76, T37)) → perm19_out_ga(T37, .(T36, T38))
perm19_in_ga(T37, .(T36, T43)) → U3_ga(T37, T36, T43, append234_in_aaag(T41, T36, T42, T37))
U3_ga(T37, T36, T43, append234_out_aaag(T41, T36, T42, T37)) → U4_ga(T37, T36, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, append144_in_gga(T41, T42, X77))
append144_in_gga([], T71, T71) → append144_out_gga([], T71, T71)
append144_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, append144_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, append144_out_gga(T81, T82, X153)) → append144_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, append144_out_gga(T41, T42, X77)) → p35_out_ggaa(T41, T42, X77, T43)
p35_in_ggaa(T41, T42, T63, T64) → U7_ggaa(T41, T42, T63, T64, append144_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, append144_out_gga(T41, T42, T63)) → U8_ggaa(T41, T42, T63, T64, perm19_in_ga(T63, T64))
U8_ggaa(T41, T42, T63, T64, perm19_out_ga(T63, T64)) → p35_out_ggaa(T41, T42, T63, T64)
U4_ga(T37, T36, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T37, .(T36, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(.(T23, T25), .(T23, T24))
perm1_in_ga(.(X178, T90), .(T91, T92)) → U12_ga(X178, T90, T91, T92, append234_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, append234_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(.(X178, T90), .(T91, T92))
perm1_in_ga(.(X178, T90), .(T91, T97)) → U13_ga(X178, T90, T91, T97, append234_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, append234_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(.(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(.(X178, T95), T96, X30, T97)) → perm1_out_ga(.(X178, T90), .(T91, T97))
APPEND144_IN_GGA(.(T78, T81), T82, .(T78, X153)) → APPEND144_IN_GGA(T81, T82, X153)
perm1_in_ga([], []) → perm1_out_ga([], [])
perm1_in_ga(.(T23, X43), .(T23, T24)) → U9_ga(T23, X43, T24, append118_in_ga(X43, X30))
append118_in_ga(X58, X58) → append118_out_ga(X58, X58)
U9_ga(T23, X43, T24, append118_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, append118_in_ga(T25, T26))
U10_ga(T23, T25, T24, append118_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T37, .(T36, T38)) → U2_ga(T37, T36, T38, append234_in_aaag(X75, T36, X76, T37))
append234_in_aaag([], T50, X98, .(T50, X98)) → append234_out_aaag([], T50, X98, .(T50, X98))
append234_in_aaag(.(X118, X119), T57, X120, .(X118, T58)) → U1_aaag(X118, X119, T57, X120, T58, append234_in_aaag(X119, T57, X120, T58))
U1_aaag(X118, X119, T57, X120, T58, append234_out_aaag(X119, T57, X120, T58)) → append234_out_aaag(.(X118, X119), T57, X120, .(X118, T58))
U2_ga(T37, T36, T38, append234_out_aaag(X75, T36, X76, T37)) → perm19_out_ga(T37, .(T36, T38))
perm19_in_ga(T37, .(T36, T43)) → U3_ga(T37, T36, T43, append234_in_aaag(T41, T36, T42, T37))
U3_ga(T37, T36, T43, append234_out_aaag(T41, T36, T42, T37)) → U4_ga(T37, T36, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, append144_in_gga(T41, T42, X77))
append144_in_gga([], T71, T71) → append144_out_gga([], T71, T71)
append144_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, append144_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, append144_out_gga(T81, T82, X153)) → append144_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, append144_out_gga(T41, T42, X77)) → p35_out_ggaa(T41, T42, X77, T43)
p35_in_ggaa(T41, T42, T63, T64) → U7_ggaa(T41, T42, T63, T64, append144_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, append144_out_gga(T41, T42, T63)) → U8_ggaa(T41, T42, T63, T64, perm19_in_ga(T63, T64))
U8_ggaa(T41, T42, T63, T64, perm19_out_ga(T63, T64)) → p35_out_ggaa(T41, T42, T63, T64)
U4_ga(T37, T36, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T37, .(T36, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(.(T23, T25), .(T23, T24))
perm1_in_ga(.(X178, T90), .(T91, T92)) → U12_ga(X178, T90, T91, T92, append234_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, append234_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(.(X178, T90), .(T91, T92))
perm1_in_ga(.(X178, T90), .(T91, T97)) → U13_ga(X178, T90, T91, T97, append234_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, append234_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(.(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(.(X178, T95), T96, X30, T97)) → perm1_out_ga(.(X178, T90), .(T91, T97))
APPEND144_IN_GGA(.(T78, T81), T82, .(T78, X153)) → APPEND144_IN_GGA(T81, T82, X153)
APPEND144_IN_GGA(.(T78, T81), T82) → APPEND144_IN_GGA(T81, T82)
From the DPs we obtained the following set of size-change graphs:
APPEND234_IN_AAAG(.(X118, X119), T57, X120, .(X118, T58)) → APPEND234_IN_AAAG(X119, T57, X120, T58)
perm1_in_ga([], []) → perm1_out_ga([], [])
perm1_in_ga(.(T23, X43), .(T23, T24)) → U9_ga(T23, X43, T24, append118_in_ga(X43, X30))
append118_in_ga(X58, X58) → append118_out_ga(X58, X58)
U9_ga(T23, X43, T24, append118_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, append118_in_ga(T25, T26))
U10_ga(T23, T25, T24, append118_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T37, .(T36, T38)) → U2_ga(T37, T36, T38, append234_in_aaag(X75, T36, X76, T37))
append234_in_aaag([], T50, X98, .(T50, X98)) → append234_out_aaag([], T50, X98, .(T50, X98))
append234_in_aaag(.(X118, X119), T57, X120, .(X118, T58)) → U1_aaag(X118, X119, T57, X120, T58, append234_in_aaag(X119, T57, X120, T58))
U1_aaag(X118, X119, T57, X120, T58, append234_out_aaag(X119, T57, X120, T58)) → append234_out_aaag(.(X118, X119), T57, X120, .(X118, T58))
U2_ga(T37, T36, T38, append234_out_aaag(X75, T36, X76, T37)) → perm19_out_ga(T37, .(T36, T38))
perm19_in_ga(T37, .(T36, T43)) → U3_ga(T37, T36, T43, append234_in_aaag(T41, T36, T42, T37))
U3_ga(T37, T36, T43, append234_out_aaag(T41, T36, T42, T37)) → U4_ga(T37, T36, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, append144_in_gga(T41, T42, X77))
append144_in_gga([], T71, T71) → append144_out_gga([], T71, T71)
append144_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, append144_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, append144_out_gga(T81, T82, X153)) → append144_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, append144_out_gga(T41, T42, X77)) → p35_out_ggaa(T41, T42, X77, T43)
p35_in_ggaa(T41, T42, T63, T64) → U7_ggaa(T41, T42, T63, T64, append144_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, append144_out_gga(T41, T42, T63)) → U8_ggaa(T41, T42, T63, T64, perm19_in_ga(T63, T64))
U8_ggaa(T41, T42, T63, T64, perm19_out_ga(T63, T64)) → p35_out_ggaa(T41, T42, T63, T64)
U4_ga(T37, T36, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T37, .(T36, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(.(T23, T25), .(T23, T24))
perm1_in_ga(.(X178, T90), .(T91, T92)) → U12_ga(X178, T90, T91, T92, append234_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, append234_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(.(X178, T90), .(T91, T92))
perm1_in_ga(.(X178, T90), .(T91, T97)) → U13_ga(X178, T90, T91, T97, append234_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, append234_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(.(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(.(X178, T95), T96, X30, T97)) → perm1_out_ga(.(X178, T90), .(T91, T97))
APPEND234_IN_AAAG(.(X118, X119), T57, X120, .(X118, T58)) → APPEND234_IN_AAAG(X119, T57, X120, T58)
APPEND234_IN_AAAG(.(X118, T58)) → APPEND234_IN_AAAG(T58)
From the DPs we obtained the following set of size-change graphs:
PERM19_IN_GA(T37, .(T36, T43)) → U3_GA(T37, T36, T43, append234_in_aaag(T41, T36, T42, T37))
U3_GA(T37, T36, T43, append234_out_aaag(T41, T36, T42, T37)) → P35_IN_GGAA(T41, T42, X77, T43)
P35_IN_GGAA(T41, T42, T63, T64) → U7_GGAA(T41, T42, T63, T64, append144_in_gga(T41, T42, T63))
U7_GGAA(T41, T42, T63, T64, append144_out_gga(T41, T42, T63)) → PERM19_IN_GA(T63, T64)
perm1_in_ga([], []) → perm1_out_ga([], [])
perm1_in_ga(.(T23, X43), .(T23, T24)) → U9_ga(T23, X43, T24, append118_in_ga(X43, X30))
append118_in_ga(X58, X58) → append118_out_ga(X58, X58)
U9_ga(T23, X43, T24, append118_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, append118_in_ga(T25, T26))
U10_ga(T23, T25, T24, append118_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T37, .(T36, T38)) → U2_ga(T37, T36, T38, append234_in_aaag(X75, T36, X76, T37))
append234_in_aaag([], T50, X98, .(T50, X98)) → append234_out_aaag([], T50, X98, .(T50, X98))
append234_in_aaag(.(X118, X119), T57, X120, .(X118, T58)) → U1_aaag(X118, X119, T57, X120, T58, append234_in_aaag(X119, T57, X120, T58))
U1_aaag(X118, X119, T57, X120, T58, append234_out_aaag(X119, T57, X120, T58)) → append234_out_aaag(.(X118, X119), T57, X120, .(X118, T58))
U2_ga(T37, T36, T38, append234_out_aaag(X75, T36, X76, T37)) → perm19_out_ga(T37, .(T36, T38))
perm19_in_ga(T37, .(T36, T43)) → U3_ga(T37, T36, T43, append234_in_aaag(T41, T36, T42, T37))
U3_ga(T37, T36, T43, append234_out_aaag(T41, T36, T42, T37)) → U4_ga(T37, T36, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, append144_in_gga(T41, T42, X77))
append144_in_gga([], T71, T71) → append144_out_gga([], T71, T71)
append144_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, append144_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, append144_out_gga(T81, T82, X153)) → append144_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, append144_out_gga(T41, T42, X77)) → p35_out_ggaa(T41, T42, X77, T43)
p35_in_ggaa(T41, T42, T63, T64) → U7_ggaa(T41, T42, T63, T64, append144_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, append144_out_gga(T41, T42, T63)) → U8_ggaa(T41, T42, T63, T64, perm19_in_ga(T63, T64))
U8_ggaa(T41, T42, T63, T64, perm19_out_ga(T63, T64)) → p35_out_ggaa(T41, T42, T63, T64)
U4_ga(T37, T36, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T37, .(T36, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(.(T23, T25), .(T23, T24))
perm1_in_ga(.(X178, T90), .(T91, T92)) → U12_ga(X178, T90, T91, T92, append234_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, append234_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(.(X178, T90), .(T91, T92))
perm1_in_ga(.(X178, T90), .(T91, T97)) → U13_ga(X178, T90, T91, T97, append234_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, append234_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(.(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(.(X178, T95), T96, X30, T97)) → perm1_out_ga(.(X178, T90), .(T91, T97))
PERM19_IN_GA(T37, .(T36, T43)) → U3_GA(T37, T36, T43, append234_in_aaag(T41, T36, T42, T37))
U3_GA(T37, T36, T43, append234_out_aaag(T41, T36, T42, T37)) → P35_IN_GGAA(T41, T42, X77, T43)
P35_IN_GGAA(T41, T42, T63, T64) → U7_GGAA(T41, T42, T63, T64, append144_in_gga(T41, T42, T63))
U7_GGAA(T41, T42, T63, T64, append144_out_gga(T41, T42, T63)) → PERM19_IN_GA(T63, T64)
append234_in_aaag([], T50, X98, .(T50, X98)) → append234_out_aaag([], T50, X98, .(T50, X98))
append234_in_aaag(.(X118, X119), T57, X120, .(X118, T58)) → U1_aaag(X118, X119, T57, X120, T58, append234_in_aaag(X119, T57, X120, T58))
append144_in_gga([], T71, T71) → append144_out_gga([], T71, T71)
append144_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, append144_in_gga(T81, T82, X153))
U1_aaag(X118, X119, T57, X120, T58, append234_out_aaag(X119, T57, X120, T58)) → append234_out_aaag(.(X118, X119), T57, X120, .(X118, T58))
U5_gga(T78, T81, T82, X153, append144_out_gga(T81, T82, X153)) → append144_out_gga(.(T78, T81), T82, .(T78, X153))
PERM19_IN_GA(T37) → U3_GA(append234_in_aaag(T37))
U3_GA(append234_out_aaag(T41, T36, T42)) → P35_IN_GGAA(T41, T42)
P35_IN_GGAA(T41, T42) → U7_GGAA(append144_in_gga(T41, T42))
U7_GGAA(append144_out_gga(T63)) → PERM19_IN_GA(T63)
append234_in_aaag(.(T50, X98)) → append234_out_aaag([], T50, X98)
append234_in_aaag(.(X118, T58)) → U1_aaag(X118, append234_in_aaag(T58))
append144_in_gga([], T71) → append144_out_gga(T71)
append144_in_gga(.(T78, T81), T82) → U5_gga(T78, append144_in_gga(T81, T82))
U1_aaag(X118, append234_out_aaag(X119, T57, X120)) → append234_out_aaag(.(X118, X119), T57, X120)
U5_gga(T78, append144_out_gga(X153)) → append144_out_gga(.(T78, X153))
append234_in_aaag(x0)
append144_in_gga(x0, x1)
U1_aaag(x0, x1)
U5_gga(x0, x1)
PERM19_IN_GA(T37) → U3_GA(append234_in_aaag(T37))
U3_GA(append234_out_aaag(T41, T36, T42)) → P35_IN_GGAA(T41, T42)
P35_IN_GGAA(T41, T42) → U7_GGAA(append144_in_gga(T41, T42))
U7_GGAA(append144_out_gga(T63)) → PERM19_IN_GA(T63)
append234_in_aaag(.(T50, X98)) → append234_out_aaag([], T50, X98)
append144_in_gga([], T71) → append144_out_gga(T71)
POL(.(x1, x2)) = 6 + x1 + x2
POL(P35_IN_GGAA(x1, x2)) = 4 + x1 + x2
POL(PERM19_IN_GA(x1)) = 1 + x1
POL(U1_aaag(x1, x2)) = 6 + x1 + x2
POL(U3_GA(x1)) = x1
POL(U5_gga(x1, x2)) = 6 + x1 + x2
POL(U7_GGAA(x1)) = x1
POL([]) = 0
POL(append144_in_gga(x1, x2)) = 3 + x1 + x2
POL(append144_out_gga(x1)) = 2 + x1
POL(append234_in_aaag(x1)) = x1
POL(append234_out_aaag(x1, x2, x3)) = 5 + x1 + x2 + x3
append234_in_aaag(.(X118, T58)) → U1_aaag(X118, append234_in_aaag(T58))
append144_in_gga(.(T78, T81), T82) → U5_gga(T78, append144_in_gga(T81, T82))
U1_aaag(X118, append234_out_aaag(X119, T57, X120)) → append234_out_aaag(.(X118, X119), T57, X120)
U5_gga(T78, append144_out_gga(X153)) → append144_out_gga(.(T78, X153))
append234_in_aaag(x0)
append144_in_gga(x0, x1)
U1_aaag(x0, x1)
U5_gga(x0, x1)