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(nil, nil) → perm1_out_ga(nil, nil)
perm1_in_ga(cons(T23, X43), cons(T23, T24)) → U9_ga(T23, X43, T24, ap218_in_ga(X43, X30))
ap218_in_ga(X58, X58) → ap218_out_ga(X58, X58)
U9_ga(T23, X43, T24, ap218_out_ga(X43, X30)) → perm1_out_ga(cons(T23, X43), cons(T23, T24))
perm1_in_ga(cons(T23, T25), cons(T23, T24)) → U10_ga(T23, T25, T24, ap218_in_ga(T25, T26))
U10_ga(T23, T25, T24, ap218_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga(nil, nil) → perm19_out_ga(nil, nil)
perm19_in_ga(T36, cons(T37, T38)) → U2_ga(T36, T37, T38, ap134_in_aaag(X75, T37, X76, T36))
ap134_in_aaag(nil, T50, X98, cons(T50, X98)) → ap134_out_aaag(nil, T50, X98, cons(T50, X98))
ap134_in_aaag(cons(X118, X119), T58, X120, cons(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, ap134_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, ap134_out_aaag(X119, T58, X120, T57)) → ap134_out_aaag(cons(X118, X119), T58, X120, cons(X118, T57))
U2_ga(T36, T37, T38, ap134_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, cons(T37, T38))
perm19_in_ga(T36, cons(T37, T43)) → U3_ga(T36, T37, T43, ap134_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, ap134_out_aaag(T41, T37, T42, T36)) → U4_ga(T36, T37, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, ap244_in_gga(T41, T42, X77))
ap244_in_gga(nil, T71, T71) → ap244_out_gga(nil, T71, T71)
ap244_in_gga(cons(T78, T81), T82, cons(T78, X153)) → U5_gga(T78, T81, T82, X153, ap244_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, ap244_out_gga(T81, T82, X153)) → ap244_out_gga(cons(T78, T81), T82, cons(T78, X153))
U6_ggaa(T41, T42, X77, T43, ap244_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, ap244_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, ap244_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(T36, T37, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T36, cons(T37, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(cons(T23, T25), cons(T23, T24))
perm1_in_ga(cons(X178, T90), cons(T91, T92)) → U12_ga(X178, T90, T91, T92, ap134_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, ap134_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(cons(X178, T90), cons(T91, T92))
perm1_in_ga(cons(X178, T90), cons(T91, T97)) → U13_ga(X178, T90, T91, T97, ap134_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, ap134_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(cons(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(cons(X178, T95), T96, X30, T97)) → perm1_out_ga(cons(X178, T90), cons(T91, T97))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
perm1_in_ga(nil, nil) → perm1_out_ga(nil, nil)
perm1_in_ga(cons(T23, X43), cons(T23, T24)) → U9_ga(T23, X43, T24, ap218_in_ga(X43, X30))
ap218_in_ga(X58, X58) → ap218_out_ga(X58, X58)
U9_ga(T23, X43, T24, ap218_out_ga(X43, X30)) → perm1_out_ga(cons(T23, X43), cons(T23, T24))
perm1_in_ga(cons(T23, T25), cons(T23, T24)) → U10_ga(T23, T25, T24, ap218_in_ga(T25, T26))
U10_ga(T23, T25, T24, ap218_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga(nil, nil) → perm19_out_ga(nil, nil)
perm19_in_ga(T36, cons(T37, T38)) → U2_ga(T36, T37, T38, ap134_in_aaag(X75, T37, X76, T36))
ap134_in_aaag(nil, T50, X98, cons(T50, X98)) → ap134_out_aaag(nil, T50, X98, cons(T50, X98))
ap134_in_aaag(cons(X118, X119), T58, X120, cons(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, ap134_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, ap134_out_aaag(X119, T58, X120, T57)) → ap134_out_aaag(cons(X118, X119), T58, X120, cons(X118, T57))
U2_ga(T36, T37, T38, ap134_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, cons(T37, T38))
perm19_in_ga(T36, cons(T37, T43)) → U3_ga(T36, T37, T43, ap134_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, ap134_out_aaag(T41, T37, T42, T36)) → U4_ga(T36, T37, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, ap244_in_gga(T41, T42, X77))
ap244_in_gga(nil, T71, T71) → ap244_out_gga(nil, T71, T71)
ap244_in_gga(cons(T78, T81), T82, cons(T78, X153)) → U5_gga(T78, T81, T82, X153, ap244_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, ap244_out_gga(T81, T82, X153)) → ap244_out_gga(cons(T78, T81), T82, cons(T78, X153))
U6_ggaa(T41, T42, X77, T43, ap244_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, ap244_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, ap244_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(T36, T37, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T36, cons(T37, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(cons(T23, T25), cons(T23, T24))
perm1_in_ga(cons(X178, T90), cons(T91, T92)) → U12_ga(X178, T90, T91, T92, ap134_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, ap134_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(cons(X178, T90), cons(T91, T92))
perm1_in_ga(cons(X178, T90), cons(T91, T97)) → U13_ga(X178, T90, T91, T97, ap134_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, ap134_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(cons(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(cons(X178, T95), T96, X30, T97)) → perm1_out_ga(cons(X178, T90), cons(T91, T97))
PERM1_IN_GA(cons(T23, X43), cons(T23, T24)) → U9_GA(T23, X43, T24, ap218_in_ga(X43, X30))
PERM1_IN_GA(cons(T23, X43), cons(T23, T24)) → AP218_IN_GA(X43, X30)
PERM1_IN_GA(cons(T23, T25), cons(T23, T24)) → U10_GA(T23, T25, T24, ap218_in_ga(T25, T26))
U10_GA(T23, T25, T24, ap218_out_ga(T25, T26)) → U11_GA(T23, T25, T24, perm19_in_ga(T26, T24))
U10_GA(T23, T25, T24, ap218_out_ga(T25, T26)) → PERM19_IN_GA(T26, T24)
PERM19_IN_GA(T36, cons(T37, T38)) → U2_GA(T36, T37, T38, ap134_in_aaag(X75, T37, X76, T36))
PERM19_IN_GA(T36, cons(T37, T38)) → AP134_IN_AAAG(X75, T37, X76, T36)
AP134_IN_AAAG(cons(X118, X119), T58, X120, cons(X118, T57)) → U1_AAAG(X118, X119, T58, X120, T57, ap134_in_aaag(X119, T58, X120, T57))
AP134_IN_AAAG(cons(X118, X119), T58, X120, cons(X118, T57)) → AP134_IN_AAAG(X119, T58, X120, T57)
PERM19_IN_GA(T36, cons(T37, T43)) → U3_GA(T36, T37, T43, ap134_in_aaag(T41, T37, T42, T36))
U3_GA(T36, T37, T43, ap134_out_aaag(T41, T37, T42, T36)) → U4_GA(T36, T37, T43, p35_in_ggaa(T41, T42, X77, T43))
U3_GA(T36, T37, T43, ap134_out_aaag(T41, T37, T42, T36)) → P35_IN_GGAA(T41, T42, X77, T43)
P35_IN_GGAA(T41, T42, X77, T43) → U6_GGAA(T41, T42, X77, T43, ap244_in_gga(T41, T42, X77))
P35_IN_GGAA(T41, T42, X77, T43) → AP244_IN_GGA(T41, T42, X77)
AP244_IN_GGA(cons(T78, T81), T82, cons(T78, X153)) → U5_GGA(T78, T81, T82, X153, ap244_in_gga(T81, T82, X153))
AP244_IN_GGA(cons(T78, T81), T82, cons(T78, X153)) → AP244_IN_GGA(T81, T82, X153)
P35_IN_GGAA(T41, T42, T63, T64) → U7_GGAA(T41, T42, T63, T64, ap244_in_gga(T41, T42, T63))
U7_GGAA(T41, T42, T63, T64, ap244_out_gga(T41, T42, T63)) → U8_GGAA(T41, T42, T63, T64, perm19_in_ga(T63, T64))
U7_GGAA(T41, T42, T63, T64, ap244_out_gga(T41, T42, T63)) → PERM19_IN_GA(T63, T64)
PERM1_IN_GA(cons(X178, T90), cons(T91, T92)) → U12_GA(X178, T90, T91, T92, ap134_in_aaag(X179, T91, X180, T90))
PERM1_IN_GA(cons(X178, T90), cons(T91, T92)) → AP134_IN_AAAG(X179, T91, X180, T90)
PERM1_IN_GA(cons(X178, T90), cons(T91, T97)) → U13_GA(X178, T90, T91, T97, ap134_in_aaag(T95, T91, T96, T90))
U13_GA(X178, T90, T91, T97, ap134_out_aaag(T95, T91, T96, T90)) → U14_GA(X178, T90, T91, T97, p35_in_ggaa(cons(X178, T95), T96, X30, T97))
U13_GA(X178, T90, T91, T97, ap134_out_aaag(T95, T91, T96, T90)) → P35_IN_GGAA(cons(X178, T95), T96, X30, T97)
perm1_in_ga(nil, nil) → perm1_out_ga(nil, nil)
perm1_in_ga(cons(T23, X43), cons(T23, T24)) → U9_ga(T23, X43, T24, ap218_in_ga(X43, X30))
ap218_in_ga(X58, X58) → ap218_out_ga(X58, X58)
U9_ga(T23, X43, T24, ap218_out_ga(X43, X30)) → perm1_out_ga(cons(T23, X43), cons(T23, T24))
perm1_in_ga(cons(T23, T25), cons(T23, T24)) → U10_ga(T23, T25, T24, ap218_in_ga(T25, T26))
U10_ga(T23, T25, T24, ap218_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga(nil, nil) → perm19_out_ga(nil, nil)
perm19_in_ga(T36, cons(T37, T38)) → U2_ga(T36, T37, T38, ap134_in_aaag(X75, T37, X76, T36))
ap134_in_aaag(nil, T50, X98, cons(T50, X98)) → ap134_out_aaag(nil, T50, X98, cons(T50, X98))
ap134_in_aaag(cons(X118, X119), T58, X120, cons(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, ap134_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, ap134_out_aaag(X119, T58, X120, T57)) → ap134_out_aaag(cons(X118, X119), T58, X120, cons(X118, T57))
U2_ga(T36, T37, T38, ap134_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, cons(T37, T38))
perm19_in_ga(T36, cons(T37, T43)) → U3_ga(T36, T37, T43, ap134_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, ap134_out_aaag(T41, T37, T42, T36)) → U4_ga(T36, T37, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, ap244_in_gga(T41, T42, X77))
ap244_in_gga(nil, T71, T71) → ap244_out_gga(nil, T71, T71)
ap244_in_gga(cons(T78, T81), T82, cons(T78, X153)) → U5_gga(T78, T81, T82, X153, ap244_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, ap244_out_gga(T81, T82, X153)) → ap244_out_gga(cons(T78, T81), T82, cons(T78, X153))
U6_ggaa(T41, T42, X77, T43, ap244_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, ap244_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, ap244_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(T36, T37, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T36, cons(T37, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(cons(T23, T25), cons(T23, T24))
perm1_in_ga(cons(X178, T90), cons(T91, T92)) → U12_ga(X178, T90, T91, T92, ap134_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, ap134_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(cons(X178, T90), cons(T91, T92))
perm1_in_ga(cons(X178, T90), cons(T91, T97)) → U13_ga(X178, T90, T91, T97, ap134_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, ap134_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(cons(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(cons(X178, T95), T96, X30, T97)) → perm1_out_ga(cons(X178, T90), cons(T91, T97))
PERM1_IN_GA(cons(T23, X43), cons(T23, T24)) → U9_GA(T23, X43, T24, ap218_in_ga(X43, X30))
PERM1_IN_GA(cons(T23, X43), cons(T23, T24)) → AP218_IN_GA(X43, X30)
PERM1_IN_GA(cons(T23, T25), cons(T23, T24)) → U10_GA(T23, T25, T24, ap218_in_ga(T25, T26))
U10_GA(T23, T25, T24, ap218_out_ga(T25, T26)) → U11_GA(T23, T25, T24, perm19_in_ga(T26, T24))
U10_GA(T23, T25, T24, ap218_out_ga(T25, T26)) → PERM19_IN_GA(T26, T24)
PERM19_IN_GA(T36, cons(T37, T38)) → U2_GA(T36, T37, T38, ap134_in_aaag(X75, T37, X76, T36))
PERM19_IN_GA(T36, cons(T37, T38)) → AP134_IN_AAAG(X75, T37, X76, T36)
AP134_IN_AAAG(cons(X118, X119), T58, X120, cons(X118, T57)) → U1_AAAG(X118, X119, T58, X120, T57, ap134_in_aaag(X119, T58, X120, T57))
AP134_IN_AAAG(cons(X118, X119), T58, X120, cons(X118, T57)) → AP134_IN_AAAG(X119, T58, X120, T57)
PERM19_IN_GA(T36, cons(T37, T43)) → U3_GA(T36, T37, T43, ap134_in_aaag(T41, T37, T42, T36))
U3_GA(T36, T37, T43, ap134_out_aaag(T41, T37, T42, T36)) → U4_GA(T36, T37, T43, p35_in_ggaa(T41, T42, X77, T43))
U3_GA(T36, T37, T43, ap134_out_aaag(T41, T37, T42, T36)) → P35_IN_GGAA(T41, T42, X77, T43)
P35_IN_GGAA(T41, T42, X77, T43) → U6_GGAA(T41, T42, X77, T43, ap244_in_gga(T41, T42, X77))
P35_IN_GGAA(T41, T42, X77, T43) → AP244_IN_GGA(T41, T42, X77)
AP244_IN_GGA(cons(T78, T81), T82, cons(T78, X153)) → U5_GGA(T78, T81, T82, X153, ap244_in_gga(T81, T82, X153))
AP244_IN_GGA(cons(T78, T81), T82, cons(T78, X153)) → AP244_IN_GGA(T81, T82, X153)
P35_IN_GGAA(T41, T42, T63, T64) → U7_GGAA(T41, T42, T63, T64, ap244_in_gga(T41, T42, T63))
U7_GGAA(T41, T42, T63, T64, ap244_out_gga(T41, T42, T63)) → U8_GGAA(T41, T42, T63, T64, perm19_in_ga(T63, T64))
U7_GGAA(T41, T42, T63, T64, ap244_out_gga(T41, T42, T63)) → PERM19_IN_GA(T63, T64)
PERM1_IN_GA(cons(X178, T90), cons(T91, T92)) → U12_GA(X178, T90, T91, T92, ap134_in_aaag(X179, T91, X180, T90))
PERM1_IN_GA(cons(X178, T90), cons(T91, T92)) → AP134_IN_AAAG(X179, T91, X180, T90)
PERM1_IN_GA(cons(X178, T90), cons(T91, T97)) → U13_GA(X178, T90, T91, T97, ap134_in_aaag(T95, T91, T96, T90))
U13_GA(X178, T90, T91, T97, ap134_out_aaag(T95, T91, T96, T90)) → U14_GA(X178, T90, T91, T97, p35_in_ggaa(cons(X178, T95), T96, X30, T97))
U13_GA(X178, T90, T91, T97, ap134_out_aaag(T95, T91, T96, T90)) → P35_IN_GGAA(cons(X178, T95), T96, X30, T97)
perm1_in_ga(nil, nil) → perm1_out_ga(nil, nil)
perm1_in_ga(cons(T23, X43), cons(T23, T24)) → U9_ga(T23, X43, T24, ap218_in_ga(X43, X30))
ap218_in_ga(X58, X58) → ap218_out_ga(X58, X58)
U9_ga(T23, X43, T24, ap218_out_ga(X43, X30)) → perm1_out_ga(cons(T23, X43), cons(T23, T24))
perm1_in_ga(cons(T23, T25), cons(T23, T24)) → U10_ga(T23, T25, T24, ap218_in_ga(T25, T26))
U10_ga(T23, T25, T24, ap218_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga(nil, nil) → perm19_out_ga(nil, nil)
perm19_in_ga(T36, cons(T37, T38)) → U2_ga(T36, T37, T38, ap134_in_aaag(X75, T37, X76, T36))
ap134_in_aaag(nil, T50, X98, cons(T50, X98)) → ap134_out_aaag(nil, T50, X98, cons(T50, X98))
ap134_in_aaag(cons(X118, X119), T58, X120, cons(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, ap134_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, ap134_out_aaag(X119, T58, X120, T57)) → ap134_out_aaag(cons(X118, X119), T58, X120, cons(X118, T57))
U2_ga(T36, T37, T38, ap134_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, cons(T37, T38))
perm19_in_ga(T36, cons(T37, T43)) → U3_ga(T36, T37, T43, ap134_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, ap134_out_aaag(T41, T37, T42, T36)) → U4_ga(T36, T37, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, ap244_in_gga(T41, T42, X77))
ap244_in_gga(nil, T71, T71) → ap244_out_gga(nil, T71, T71)
ap244_in_gga(cons(T78, T81), T82, cons(T78, X153)) → U5_gga(T78, T81, T82, X153, ap244_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, ap244_out_gga(T81, T82, X153)) → ap244_out_gga(cons(T78, T81), T82, cons(T78, X153))
U6_ggaa(T41, T42, X77, T43, ap244_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, ap244_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, ap244_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(T36, T37, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T36, cons(T37, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(cons(T23, T25), cons(T23, T24))
perm1_in_ga(cons(X178, T90), cons(T91, T92)) → U12_ga(X178, T90, T91, T92, ap134_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, ap134_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(cons(X178, T90), cons(T91, T92))
perm1_in_ga(cons(X178, T90), cons(T91, T97)) → U13_ga(X178, T90, T91, T97, ap134_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, ap134_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(cons(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(cons(X178, T95), T96, X30, T97)) → perm1_out_ga(cons(X178, T90), cons(T91, T97))
AP244_IN_GGA(cons(T78, T81), T82, cons(T78, X153)) → AP244_IN_GGA(T81, T82, X153)
perm1_in_ga(nil, nil) → perm1_out_ga(nil, nil)
perm1_in_ga(cons(T23, X43), cons(T23, T24)) → U9_ga(T23, X43, T24, ap218_in_ga(X43, X30))
ap218_in_ga(X58, X58) → ap218_out_ga(X58, X58)
U9_ga(T23, X43, T24, ap218_out_ga(X43, X30)) → perm1_out_ga(cons(T23, X43), cons(T23, T24))
perm1_in_ga(cons(T23, T25), cons(T23, T24)) → U10_ga(T23, T25, T24, ap218_in_ga(T25, T26))
U10_ga(T23, T25, T24, ap218_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga(nil, nil) → perm19_out_ga(nil, nil)
perm19_in_ga(T36, cons(T37, T38)) → U2_ga(T36, T37, T38, ap134_in_aaag(X75, T37, X76, T36))
ap134_in_aaag(nil, T50, X98, cons(T50, X98)) → ap134_out_aaag(nil, T50, X98, cons(T50, X98))
ap134_in_aaag(cons(X118, X119), T58, X120, cons(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, ap134_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, ap134_out_aaag(X119, T58, X120, T57)) → ap134_out_aaag(cons(X118, X119), T58, X120, cons(X118, T57))
U2_ga(T36, T37, T38, ap134_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, cons(T37, T38))
perm19_in_ga(T36, cons(T37, T43)) → U3_ga(T36, T37, T43, ap134_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, ap134_out_aaag(T41, T37, T42, T36)) → U4_ga(T36, T37, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, ap244_in_gga(T41, T42, X77))
ap244_in_gga(nil, T71, T71) → ap244_out_gga(nil, T71, T71)
ap244_in_gga(cons(T78, T81), T82, cons(T78, X153)) → U5_gga(T78, T81, T82, X153, ap244_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, ap244_out_gga(T81, T82, X153)) → ap244_out_gga(cons(T78, T81), T82, cons(T78, X153))
U6_ggaa(T41, T42, X77, T43, ap244_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, ap244_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, ap244_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(T36, T37, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T36, cons(T37, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(cons(T23, T25), cons(T23, T24))
perm1_in_ga(cons(X178, T90), cons(T91, T92)) → U12_ga(X178, T90, T91, T92, ap134_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, ap134_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(cons(X178, T90), cons(T91, T92))
perm1_in_ga(cons(X178, T90), cons(T91, T97)) → U13_ga(X178, T90, T91, T97, ap134_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, ap134_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(cons(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(cons(X178, T95), T96, X30, T97)) → perm1_out_ga(cons(X178, T90), cons(T91, T97))
AP244_IN_GGA(cons(T78, T81), T82, cons(T78, X153)) → AP244_IN_GGA(T81, T82, X153)
AP244_IN_GGA(cons(T78, T81), T82) → AP244_IN_GGA(T81, T82)
From the DPs we obtained the following set of size-change graphs:
AP134_IN_AAAG(cons(X118, X119), T58, X120, cons(X118, T57)) → AP134_IN_AAAG(X119, T58, X120, T57)
perm1_in_ga(nil, nil) → perm1_out_ga(nil, nil)
perm1_in_ga(cons(T23, X43), cons(T23, T24)) → U9_ga(T23, X43, T24, ap218_in_ga(X43, X30))
ap218_in_ga(X58, X58) → ap218_out_ga(X58, X58)
U9_ga(T23, X43, T24, ap218_out_ga(X43, X30)) → perm1_out_ga(cons(T23, X43), cons(T23, T24))
perm1_in_ga(cons(T23, T25), cons(T23, T24)) → U10_ga(T23, T25, T24, ap218_in_ga(T25, T26))
U10_ga(T23, T25, T24, ap218_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga(nil, nil) → perm19_out_ga(nil, nil)
perm19_in_ga(T36, cons(T37, T38)) → U2_ga(T36, T37, T38, ap134_in_aaag(X75, T37, X76, T36))
ap134_in_aaag(nil, T50, X98, cons(T50, X98)) → ap134_out_aaag(nil, T50, X98, cons(T50, X98))
ap134_in_aaag(cons(X118, X119), T58, X120, cons(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, ap134_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, ap134_out_aaag(X119, T58, X120, T57)) → ap134_out_aaag(cons(X118, X119), T58, X120, cons(X118, T57))
U2_ga(T36, T37, T38, ap134_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, cons(T37, T38))
perm19_in_ga(T36, cons(T37, T43)) → U3_ga(T36, T37, T43, ap134_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, ap134_out_aaag(T41, T37, T42, T36)) → U4_ga(T36, T37, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, ap244_in_gga(T41, T42, X77))
ap244_in_gga(nil, T71, T71) → ap244_out_gga(nil, T71, T71)
ap244_in_gga(cons(T78, T81), T82, cons(T78, X153)) → U5_gga(T78, T81, T82, X153, ap244_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, ap244_out_gga(T81, T82, X153)) → ap244_out_gga(cons(T78, T81), T82, cons(T78, X153))
U6_ggaa(T41, T42, X77, T43, ap244_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, ap244_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, ap244_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(T36, T37, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T36, cons(T37, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(cons(T23, T25), cons(T23, T24))
perm1_in_ga(cons(X178, T90), cons(T91, T92)) → U12_ga(X178, T90, T91, T92, ap134_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, ap134_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(cons(X178, T90), cons(T91, T92))
perm1_in_ga(cons(X178, T90), cons(T91, T97)) → U13_ga(X178, T90, T91, T97, ap134_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, ap134_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(cons(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(cons(X178, T95), T96, X30, T97)) → perm1_out_ga(cons(X178, T90), cons(T91, T97))
AP134_IN_AAAG(cons(X118, X119), T58, X120, cons(X118, T57)) → AP134_IN_AAAG(X119, T58, X120, T57)
AP134_IN_AAAG(cons(X118, T57)) → AP134_IN_AAAG(T57)
From the DPs we obtained the following set of size-change graphs:
PERM19_IN_GA(T36, cons(T37, T43)) → U3_GA(T36, T37, T43, ap134_in_aaag(T41, T37, T42, T36))
U3_GA(T36, T37, T43, ap134_out_aaag(T41, T37, T42, T36)) → P35_IN_GGAA(T41, T42, X77, T43)
P35_IN_GGAA(T41, T42, T63, T64) → U7_GGAA(T41, T42, T63, T64, ap244_in_gga(T41, T42, T63))
U7_GGAA(T41, T42, T63, T64, ap244_out_gga(T41, T42, T63)) → PERM19_IN_GA(T63, T64)
perm1_in_ga(nil, nil) → perm1_out_ga(nil, nil)
perm1_in_ga(cons(T23, X43), cons(T23, T24)) → U9_ga(T23, X43, T24, ap218_in_ga(X43, X30))
ap218_in_ga(X58, X58) → ap218_out_ga(X58, X58)
U9_ga(T23, X43, T24, ap218_out_ga(X43, X30)) → perm1_out_ga(cons(T23, X43), cons(T23, T24))
perm1_in_ga(cons(T23, T25), cons(T23, T24)) → U10_ga(T23, T25, T24, ap218_in_ga(T25, T26))
U10_ga(T23, T25, T24, ap218_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga(nil, nil) → perm19_out_ga(nil, nil)
perm19_in_ga(T36, cons(T37, T38)) → U2_ga(T36, T37, T38, ap134_in_aaag(X75, T37, X76, T36))
ap134_in_aaag(nil, T50, X98, cons(T50, X98)) → ap134_out_aaag(nil, T50, X98, cons(T50, X98))
ap134_in_aaag(cons(X118, X119), T58, X120, cons(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, ap134_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, ap134_out_aaag(X119, T58, X120, T57)) → ap134_out_aaag(cons(X118, X119), T58, X120, cons(X118, T57))
U2_ga(T36, T37, T38, ap134_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, cons(T37, T38))
perm19_in_ga(T36, cons(T37, T43)) → U3_ga(T36, T37, T43, ap134_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, ap134_out_aaag(T41, T37, T42, T36)) → U4_ga(T36, T37, T43, p35_in_ggaa(T41, T42, X77, T43))
p35_in_ggaa(T41, T42, X77, T43) → U6_ggaa(T41, T42, X77, T43, ap244_in_gga(T41, T42, X77))
ap244_in_gga(nil, T71, T71) → ap244_out_gga(nil, T71, T71)
ap244_in_gga(cons(T78, T81), T82, cons(T78, X153)) → U5_gga(T78, T81, T82, X153, ap244_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, ap244_out_gga(T81, T82, X153)) → ap244_out_gga(cons(T78, T81), T82, cons(T78, X153))
U6_ggaa(T41, T42, X77, T43, ap244_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, ap244_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, ap244_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(T36, T37, T43, p35_out_ggaa(T41, T42, X77, T43)) → perm19_out_ga(T36, cons(T37, T43))
U11_ga(T23, T25, T24, perm19_out_ga(T26, T24)) → perm1_out_ga(cons(T23, T25), cons(T23, T24))
perm1_in_ga(cons(X178, T90), cons(T91, T92)) → U12_ga(X178, T90, T91, T92, ap134_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, ap134_out_aaag(X179, T91, X180, T90)) → perm1_out_ga(cons(X178, T90), cons(T91, T92))
perm1_in_ga(cons(X178, T90), cons(T91, T97)) → U13_ga(X178, T90, T91, T97, ap134_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, ap134_out_aaag(T95, T91, T96, T90)) → U14_ga(X178, T90, T91, T97, p35_in_ggaa(cons(X178, T95), T96, X30, T97))
U14_ga(X178, T90, T91, T97, p35_out_ggaa(cons(X178, T95), T96, X30, T97)) → perm1_out_ga(cons(X178, T90), cons(T91, T97))
PERM19_IN_GA(T36, cons(T37, T43)) → U3_GA(T36, T37, T43, ap134_in_aaag(T41, T37, T42, T36))
U3_GA(T36, T37, T43, ap134_out_aaag(T41, T37, T42, T36)) → P35_IN_GGAA(T41, T42, X77, T43)
P35_IN_GGAA(T41, T42, T63, T64) → U7_GGAA(T41, T42, T63, T64, ap244_in_gga(T41, T42, T63))
U7_GGAA(T41, T42, T63, T64, ap244_out_gga(T41, T42, T63)) → PERM19_IN_GA(T63, T64)
ap134_in_aaag(nil, T50, X98, cons(T50, X98)) → ap134_out_aaag(nil, T50, X98, cons(T50, X98))
ap134_in_aaag(cons(X118, X119), T58, X120, cons(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, ap134_in_aaag(X119, T58, X120, T57))
ap244_in_gga(nil, T71, T71) → ap244_out_gga(nil, T71, T71)
ap244_in_gga(cons(T78, T81), T82, cons(T78, X153)) → U5_gga(T78, T81, T82, X153, ap244_in_gga(T81, T82, X153))
U1_aaag(X118, X119, T58, X120, T57, ap134_out_aaag(X119, T58, X120, T57)) → ap134_out_aaag(cons(X118, X119), T58, X120, cons(X118, T57))
U5_gga(T78, T81, T82, X153, ap244_out_gga(T81, T82, X153)) → ap244_out_gga(cons(T78, T81), T82, cons(T78, X153))
PERM19_IN_GA(T36) → U3_GA(ap134_in_aaag(T36))
U3_GA(ap134_out_aaag(T41, T37, T42)) → P35_IN_GGAA(T41, T42)
P35_IN_GGAA(T41, T42) → U7_GGAA(ap244_in_gga(T41, T42))
U7_GGAA(ap244_out_gga(T63)) → PERM19_IN_GA(T63)
ap134_in_aaag(cons(T50, X98)) → ap134_out_aaag(nil, T50, X98)
ap134_in_aaag(cons(X118, T57)) → U1_aaag(X118, ap134_in_aaag(T57))
ap244_in_gga(nil, T71) → ap244_out_gga(T71)
ap244_in_gga(cons(T78, T81), T82) → U5_gga(T78, ap244_in_gga(T81, T82))
U1_aaag(X118, ap134_out_aaag(X119, T58, X120)) → ap134_out_aaag(cons(X118, X119), T58, X120)
U5_gga(T78, ap244_out_gga(X153)) → ap244_out_gga(cons(T78, X153))
ap134_in_aaag(x0)
ap244_in_gga(x0, x1)
U1_aaag(x0, x1)
U5_gga(x0, x1)
PERM19_IN_GA(T36) → U3_GA(ap134_in_aaag(T36))
U3_GA(ap134_out_aaag(T41, T37, T42)) → P35_IN_GGAA(T41, T42)
P35_IN_GGAA(T41, T42) → U7_GGAA(ap244_in_gga(T41, T42))
U7_GGAA(ap244_out_gga(T63)) → PERM19_IN_GA(T63)
ap134_in_aaag(cons(T50, X98)) → ap134_out_aaag(nil, T50, X98)
ap244_in_gga(nil, T71) → ap244_out_gga(T71)
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(ap134_in_aaag(x1)) = x1
POL(ap134_out_aaag(x1, x2, x3)) = 5 + x1 + x2 + x3
POL(ap244_in_gga(x1, x2)) = 3 + x1 + x2
POL(ap244_out_gga(x1)) = 2 + x1
POL(cons(x1, x2)) = 6 + x1 + x2
POL(nil) = 0
ap134_in_aaag(cons(X118, T57)) → U1_aaag(X118, ap134_in_aaag(T57))
ap244_in_gga(cons(T78, T81), T82) → U5_gga(T78, ap244_in_gga(T81, T82))
U1_aaag(X118, ap134_out_aaag(X119, T58, X120)) → ap134_out_aaag(cons(X118, X119), T58, X120)
U5_gga(T78, ap244_out_gga(X153)) → ap244_out_gga(cons(T78, X153))
ap134_in_aaag(x0)
ap244_in_gga(x0, x1)
U1_aaag(x0, x1)
U5_gga(x0, x1)