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, app18_in_ga(X43, X30))
app18_in_ga(X58, X58) → app18_out_ga(X58, X58)
U9_ga(T23, X43, T24, app18_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, app18_in_ga(T25, T26))
U10_ga(T23, T25, T24, app18_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T36, .(T37, T38)) → U2_ga(T36, T37, T38, app34_in_aaag(X75, T37, X76, T36))
app34_in_aaag([], T50, X98, .(T50, X98)) → app34_out_aaag([], T50, X98, .(T50, X98))
app34_in_aaag(.(X118, X119), T58, X120, .(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, app34_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, app34_out_aaag(X119, T58, X120, T57)) → app34_out_aaag(.(X118, X119), T58, X120, .(X118, T57))
U2_ga(T36, T37, T38, app34_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, .(T37, T38))
perm19_in_ga(T36, .(T37, T43)) → U3_ga(T36, T37, T43, app34_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, app34_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, app44_in_gga(T41, T42, X77))
app44_in_gga([], T71, T71) → app44_out_gga([], T71, T71)
app44_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, app44_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, app44_out_gga(T81, T82, X153)) → app44_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, app44_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, app44_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, app44_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, .(T37, 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, app34_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, app34_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, app34_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, app34_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, app18_in_ga(X43, X30))
app18_in_ga(X58, X58) → app18_out_ga(X58, X58)
U9_ga(T23, X43, T24, app18_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, app18_in_ga(T25, T26))
U10_ga(T23, T25, T24, app18_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T36, .(T37, T38)) → U2_ga(T36, T37, T38, app34_in_aaag(X75, T37, X76, T36))
app34_in_aaag([], T50, X98, .(T50, X98)) → app34_out_aaag([], T50, X98, .(T50, X98))
app34_in_aaag(.(X118, X119), T58, X120, .(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, app34_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, app34_out_aaag(X119, T58, X120, T57)) → app34_out_aaag(.(X118, X119), T58, X120, .(X118, T57))
U2_ga(T36, T37, T38, app34_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, .(T37, T38))
perm19_in_ga(T36, .(T37, T43)) → U3_ga(T36, T37, T43, app34_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, app34_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, app44_in_gga(T41, T42, X77))
app44_in_gga([], T71, T71) → app44_out_gga([], T71, T71)
app44_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, app44_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, app44_out_gga(T81, T82, X153)) → app44_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, app44_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, app44_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, app44_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, .(T37, 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, app34_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, app34_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, app34_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, app34_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, app18_in_ga(X43, X30))
PERM1_IN_GA(.(T23, X43), .(T23, T24)) → APP18_IN_GA(X43, X30)
PERM1_IN_GA(.(T23, T25), .(T23, T24)) → U10_GA(T23, T25, T24, app18_in_ga(T25, T26))
U10_GA(T23, T25, T24, app18_out_ga(T25, T26)) → U11_GA(T23, T25, T24, perm19_in_ga(T26, T24))
U10_GA(T23, T25, T24, app18_out_ga(T25, T26)) → PERM19_IN_GA(T26, T24)
PERM19_IN_GA(T36, .(T37, T38)) → U2_GA(T36, T37, T38, app34_in_aaag(X75, T37, X76, T36))
PERM19_IN_GA(T36, .(T37, T38)) → APP34_IN_AAAG(X75, T37, X76, T36)
APP34_IN_AAAG(.(X118, X119), T58, X120, .(X118, T57)) → U1_AAAG(X118, X119, T58, X120, T57, app34_in_aaag(X119, T58, X120, T57))
APP34_IN_AAAG(.(X118, X119), T58, X120, .(X118, T57)) → APP34_IN_AAAG(X119, T58, X120, T57)
PERM19_IN_GA(T36, .(T37, T43)) → U3_GA(T36, T37, T43, app34_in_aaag(T41, T37, T42, T36))
U3_GA(T36, T37, T43, app34_out_aaag(T41, T37, T42, T36)) → U4_GA(T36, T37, T43, p35_in_ggaa(T41, T42, X77, T43))
U3_GA(T36, T37, T43, app34_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, app44_in_gga(T41, T42, X77))
P35_IN_GGAA(T41, T42, X77, T43) → APP44_IN_GGA(T41, T42, X77)
APP44_IN_GGA(.(T78, T81), T82, .(T78, X153)) → U5_GGA(T78, T81, T82, X153, app44_in_gga(T81, T82, X153))
APP44_IN_GGA(.(T78, T81), T82, .(T78, X153)) → APP44_IN_GGA(T81, T82, X153)
P35_IN_GGAA(T41, T42, T63, T64) → U7_GGAA(T41, T42, T63, T64, app44_in_gga(T41, T42, T63))
U7_GGAA(T41, T42, T63, T64, app44_out_gga(T41, T42, T63)) → U8_GGAA(T41, T42, T63, T64, perm19_in_ga(T63, T64))
U7_GGAA(T41, T42, T63, T64, app44_out_gga(T41, T42, T63)) → PERM19_IN_GA(T63, T64)
PERM1_IN_GA(.(X178, T90), .(T91, T92)) → U12_GA(X178, T90, T91, T92, app34_in_aaag(X179, T91, X180, T90))
PERM1_IN_GA(.(X178, T90), .(T91, T92)) → APP34_IN_AAAG(X179, T91, X180, T90)
PERM1_IN_GA(.(X178, T90), .(T91, T97)) → U13_GA(X178, T90, T91, T97, app34_in_aaag(T95, T91, T96, T90))
U13_GA(X178, T90, T91, T97, app34_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, app34_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, app18_in_ga(X43, X30))
app18_in_ga(X58, X58) → app18_out_ga(X58, X58)
U9_ga(T23, X43, T24, app18_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, app18_in_ga(T25, T26))
U10_ga(T23, T25, T24, app18_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T36, .(T37, T38)) → U2_ga(T36, T37, T38, app34_in_aaag(X75, T37, X76, T36))
app34_in_aaag([], T50, X98, .(T50, X98)) → app34_out_aaag([], T50, X98, .(T50, X98))
app34_in_aaag(.(X118, X119), T58, X120, .(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, app34_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, app34_out_aaag(X119, T58, X120, T57)) → app34_out_aaag(.(X118, X119), T58, X120, .(X118, T57))
U2_ga(T36, T37, T38, app34_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, .(T37, T38))
perm19_in_ga(T36, .(T37, T43)) → U3_ga(T36, T37, T43, app34_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, app34_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, app44_in_gga(T41, T42, X77))
app44_in_gga([], T71, T71) → app44_out_gga([], T71, T71)
app44_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, app44_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, app44_out_gga(T81, T82, X153)) → app44_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, app44_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, app44_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, app44_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, .(T37, 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, app34_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, app34_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, app34_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, app34_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, app18_in_ga(X43, X30))
PERM1_IN_GA(.(T23, X43), .(T23, T24)) → APP18_IN_GA(X43, X30)
PERM1_IN_GA(.(T23, T25), .(T23, T24)) → U10_GA(T23, T25, T24, app18_in_ga(T25, T26))
U10_GA(T23, T25, T24, app18_out_ga(T25, T26)) → U11_GA(T23, T25, T24, perm19_in_ga(T26, T24))
U10_GA(T23, T25, T24, app18_out_ga(T25, T26)) → PERM19_IN_GA(T26, T24)
PERM19_IN_GA(T36, .(T37, T38)) → U2_GA(T36, T37, T38, app34_in_aaag(X75, T37, X76, T36))
PERM19_IN_GA(T36, .(T37, T38)) → APP34_IN_AAAG(X75, T37, X76, T36)
APP34_IN_AAAG(.(X118, X119), T58, X120, .(X118, T57)) → U1_AAAG(X118, X119, T58, X120, T57, app34_in_aaag(X119, T58, X120, T57))
APP34_IN_AAAG(.(X118, X119), T58, X120, .(X118, T57)) → APP34_IN_AAAG(X119, T58, X120, T57)
PERM19_IN_GA(T36, .(T37, T43)) → U3_GA(T36, T37, T43, app34_in_aaag(T41, T37, T42, T36))
U3_GA(T36, T37, T43, app34_out_aaag(T41, T37, T42, T36)) → U4_GA(T36, T37, T43, p35_in_ggaa(T41, T42, X77, T43))
U3_GA(T36, T37, T43, app34_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, app44_in_gga(T41, T42, X77))
P35_IN_GGAA(T41, T42, X77, T43) → APP44_IN_GGA(T41, T42, X77)
APP44_IN_GGA(.(T78, T81), T82, .(T78, X153)) → U5_GGA(T78, T81, T82, X153, app44_in_gga(T81, T82, X153))
APP44_IN_GGA(.(T78, T81), T82, .(T78, X153)) → APP44_IN_GGA(T81, T82, X153)
P35_IN_GGAA(T41, T42, T63, T64) → U7_GGAA(T41, T42, T63, T64, app44_in_gga(T41, T42, T63))
U7_GGAA(T41, T42, T63, T64, app44_out_gga(T41, T42, T63)) → U8_GGAA(T41, T42, T63, T64, perm19_in_ga(T63, T64))
U7_GGAA(T41, T42, T63, T64, app44_out_gga(T41, T42, T63)) → PERM19_IN_GA(T63, T64)
PERM1_IN_GA(.(X178, T90), .(T91, T92)) → U12_GA(X178, T90, T91, T92, app34_in_aaag(X179, T91, X180, T90))
PERM1_IN_GA(.(X178, T90), .(T91, T92)) → APP34_IN_AAAG(X179, T91, X180, T90)
PERM1_IN_GA(.(X178, T90), .(T91, T97)) → U13_GA(X178, T90, T91, T97, app34_in_aaag(T95, T91, T96, T90))
U13_GA(X178, T90, T91, T97, app34_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, app34_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, app18_in_ga(X43, X30))
app18_in_ga(X58, X58) → app18_out_ga(X58, X58)
U9_ga(T23, X43, T24, app18_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, app18_in_ga(T25, T26))
U10_ga(T23, T25, T24, app18_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T36, .(T37, T38)) → U2_ga(T36, T37, T38, app34_in_aaag(X75, T37, X76, T36))
app34_in_aaag([], T50, X98, .(T50, X98)) → app34_out_aaag([], T50, X98, .(T50, X98))
app34_in_aaag(.(X118, X119), T58, X120, .(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, app34_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, app34_out_aaag(X119, T58, X120, T57)) → app34_out_aaag(.(X118, X119), T58, X120, .(X118, T57))
U2_ga(T36, T37, T38, app34_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, .(T37, T38))
perm19_in_ga(T36, .(T37, T43)) → U3_ga(T36, T37, T43, app34_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, app34_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, app44_in_gga(T41, T42, X77))
app44_in_gga([], T71, T71) → app44_out_gga([], T71, T71)
app44_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, app44_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, app44_out_gga(T81, T82, X153)) → app44_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, app44_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, app44_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, app44_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, .(T37, 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, app34_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, app34_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, app34_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, app34_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))
APP44_IN_GGA(.(T78, T81), T82, .(T78, X153)) → APP44_IN_GGA(T81, T82, X153)
perm1_in_ga([], []) → perm1_out_ga([], [])
perm1_in_ga(.(T23, X43), .(T23, T24)) → U9_ga(T23, X43, T24, app18_in_ga(X43, X30))
app18_in_ga(X58, X58) → app18_out_ga(X58, X58)
U9_ga(T23, X43, T24, app18_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, app18_in_ga(T25, T26))
U10_ga(T23, T25, T24, app18_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T36, .(T37, T38)) → U2_ga(T36, T37, T38, app34_in_aaag(X75, T37, X76, T36))
app34_in_aaag([], T50, X98, .(T50, X98)) → app34_out_aaag([], T50, X98, .(T50, X98))
app34_in_aaag(.(X118, X119), T58, X120, .(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, app34_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, app34_out_aaag(X119, T58, X120, T57)) → app34_out_aaag(.(X118, X119), T58, X120, .(X118, T57))
U2_ga(T36, T37, T38, app34_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, .(T37, T38))
perm19_in_ga(T36, .(T37, T43)) → U3_ga(T36, T37, T43, app34_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, app34_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, app44_in_gga(T41, T42, X77))
app44_in_gga([], T71, T71) → app44_out_gga([], T71, T71)
app44_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, app44_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, app44_out_gga(T81, T82, X153)) → app44_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, app44_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, app44_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, app44_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, .(T37, 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, app34_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, app34_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, app34_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, app34_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))
APP44_IN_GGA(.(T78, T81), T82, .(T78, X153)) → APP44_IN_GGA(T81, T82, X153)
APP44_IN_GGA(.(T78, T81), T82) → APP44_IN_GGA(T81, T82)
From the DPs we obtained the following set of size-change graphs:
APP34_IN_AAAG(.(X118, X119), T58, X120, .(X118, T57)) → APP34_IN_AAAG(X119, T58, X120, T57)
perm1_in_ga([], []) → perm1_out_ga([], [])
perm1_in_ga(.(T23, X43), .(T23, T24)) → U9_ga(T23, X43, T24, app18_in_ga(X43, X30))
app18_in_ga(X58, X58) → app18_out_ga(X58, X58)
U9_ga(T23, X43, T24, app18_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, app18_in_ga(T25, T26))
U10_ga(T23, T25, T24, app18_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T36, .(T37, T38)) → U2_ga(T36, T37, T38, app34_in_aaag(X75, T37, X76, T36))
app34_in_aaag([], T50, X98, .(T50, X98)) → app34_out_aaag([], T50, X98, .(T50, X98))
app34_in_aaag(.(X118, X119), T58, X120, .(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, app34_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, app34_out_aaag(X119, T58, X120, T57)) → app34_out_aaag(.(X118, X119), T58, X120, .(X118, T57))
U2_ga(T36, T37, T38, app34_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, .(T37, T38))
perm19_in_ga(T36, .(T37, T43)) → U3_ga(T36, T37, T43, app34_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, app34_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, app44_in_gga(T41, T42, X77))
app44_in_gga([], T71, T71) → app44_out_gga([], T71, T71)
app44_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, app44_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, app44_out_gga(T81, T82, X153)) → app44_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, app44_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, app44_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, app44_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, .(T37, 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, app34_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, app34_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, app34_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, app34_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))
APP34_IN_AAAG(.(X118, X119), T58, X120, .(X118, T57)) → APP34_IN_AAAG(X119, T58, X120, T57)
APP34_IN_AAAG(.(X118, T57)) → APP34_IN_AAAG(T57)
From the DPs we obtained the following set of size-change graphs:
PERM19_IN_GA(T36, .(T37, T43)) → U3_GA(T36, T37, T43, app34_in_aaag(T41, T37, T42, T36))
U3_GA(T36, T37, T43, app34_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, app44_in_gga(T41, T42, T63))
U7_GGAA(T41, T42, T63, T64, app44_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, app18_in_ga(X43, X30))
app18_in_ga(X58, X58) → app18_out_ga(X58, X58)
U9_ga(T23, X43, T24, app18_out_ga(X43, X30)) → perm1_out_ga(.(T23, X43), .(T23, T24))
perm1_in_ga(.(T23, T25), .(T23, T24)) → U10_ga(T23, T25, T24, app18_in_ga(T25, T26))
U10_ga(T23, T25, T24, app18_out_ga(T25, T26)) → U11_ga(T23, T25, T24, perm19_in_ga(T26, T24))
perm19_in_ga([], []) → perm19_out_ga([], [])
perm19_in_ga(T36, .(T37, T38)) → U2_ga(T36, T37, T38, app34_in_aaag(X75, T37, X76, T36))
app34_in_aaag([], T50, X98, .(T50, X98)) → app34_out_aaag([], T50, X98, .(T50, X98))
app34_in_aaag(.(X118, X119), T58, X120, .(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, app34_in_aaag(X119, T58, X120, T57))
U1_aaag(X118, X119, T58, X120, T57, app34_out_aaag(X119, T58, X120, T57)) → app34_out_aaag(.(X118, X119), T58, X120, .(X118, T57))
U2_ga(T36, T37, T38, app34_out_aaag(X75, T37, X76, T36)) → perm19_out_ga(T36, .(T37, T38))
perm19_in_ga(T36, .(T37, T43)) → U3_ga(T36, T37, T43, app34_in_aaag(T41, T37, T42, T36))
U3_ga(T36, T37, T43, app34_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, app44_in_gga(T41, T42, X77))
app44_in_gga([], T71, T71) → app44_out_gga([], T71, T71)
app44_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, app44_in_gga(T81, T82, X153))
U5_gga(T78, T81, T82, X153, app44_out_gga(T81, T82, X153)) → app44_out_gga(.(T78, T81), T82, .(T78, X153))
U6_ggaa(T41, T42, X77, T43, app44_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, app44_in_gga(T41, T42, T63))
U7_ggaa(T41, T42, T63, T64, app44_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, .(T37, 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, app34_in_aaag(X179, T91, X180, T90))
U12_ga(X178, T90, T91, T92, app34_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, app34_in_aaag(T95, T91, T96, T90))
U13_ga(X178, T90, T91, T97, app34_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(T36, .(T37, T43)) → U3_GA(T36, T37, T43, app34_in_aaag(T41, T37, T42, T36))
U3_GA(T36, T37, T43, app34_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, app44_in_gga(T41, T42, T63))
U7_GGAA(T41, T42, T63, T64, app44_out_gga(T41, T42, T63)) → PERM19_IN_GA(T63, T64)
app34_in_aaag([], T50, X98, .(T50, X98)) → app34_out_aaag([], T50, X98, .(T50, X98))
app34_in_aaag(.(X118, X119), T58, X120, .(X118, T57)) → U1_aaag(X118, X119, T58, X120, T57, app34_in_aaag(X119, T58, X120, T57))
app44_in_gga([], T71, T71) → app44_out_gga([], T71, T71)
app44_in_gga(.(T78, T81), T82, .(T78, X153)) → U5_gga(T78, T81, T82, X153, app44_in_gga(T81, T82, X153))
U1_aaag(X118, X119, T58, X120, T57, app34_out_aaag(X119, T58, X120, T57)) → app34_out_aaag(.(X118, X119), T58, X120, .(X118, T57))
U5_gga(T78, T81, T82, X153, app44_out_gga(T81, T82, X153)) → app44_out_gga(.(T78, T81), T82, .(T78, X153))
PERM19_IN_GA(T36) → U3_GA(app34_in_aaag(T36))
U3_GA(app34_out_aaag(T41, T37, T42)) → P35_IN_GGAA(T41, T42)
P35_IN_GGAA(T41, T42) → U7_GGAA(app44_in_gga(T41, T42))
U7_GGAA(app44_out_gga(T63)) → PERM19_IN_GA(T63)
app34_in_aaag(.(T50, X98)) → app34_out_aaag([], T50, X98)
app34_in_aaag(.(X118, T57)) → U1_aaag(X118, app34_in_aaag(T57))
app44_in_gga([], T71) → app44_out_gga(T71)
app44_in_gga(.(T78, T81), T82) → U5_gga(T78, app44_in_gga(T81, T82))
U1_aaag(X118, app34_out_aaag(X119, T58, X120)) → app34_out_aaag(.(X118, X119), T58, X120)
U5_gga(T78, app44_out_gga(X153)) → app44_out_gga(.(T78, X153))
app34_in_aaag(x0)
app44_in_gga(x0, x1)
U1_aaag(x0, x1)
U5_gga(x0, x1)
PERM19_IN_GA(T36) → U3_GA(app34_in_aaag(T36))
U3_GA(app34_out_aaag(T41, T37, T42)) → P35_IN_GGAA(T41, T42)
P35_IN_GGAA(T41, T42) → U7_GGAA(app44_in_gga(T41, T42))
U7_GGAA(app44_out_gga(T63)) → PERM19_IN_GA(T63)
app34_in_aaag(.(T50, X98)) → app34_out_aaag([], T50, X98)
app44_in_gga([], T71) → app44_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(app34_in_aaag(x1)) = x1
POL(app34_out_aaag(x1, x2, x3)) = 5 + x1 + x2 + x3
POL(app44_in_gga(x1, x2)) = 3 + x1 + x2
POL(app44_out_gga(x1)) = 2 + x1
app34_in_aaag(.(X118, T57)) → U1_aaag(X118, app34_in_aaag(T57))
app44_in_gga(.(T78, T81), T82) → U5_gga(T78, app44_in_gga(T81, T82))
U1_aaag(X118, app34_out_aaag(X119, T58, X120)) → app34_out_aaag(.(X118, X119), T58, X120)
U5_gga(T78, app44_out_gga(X153)) → app44_out_gga(.(T78, X153))
app34_in_aaag(x0)
app44_in_gga(x0, x1)
U1_aaag(x0, x1)
U5_gga(x0, x1)