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
↳32 PiDP
↳33 UsableRulesProof (⇔)
↳34 PiDP
↳35 PiDPToQDPProof (⇐)
↳36 QDP
↳37 QDPSizeChangeProof (⇔)
↳38 YES
↳39 PiDP
↳40 UsableRulesProof (⇔)
↳41 PiDP
↳42 PiDPToQDPProof (⇐)
↳43 QDP
↳44 QDPSizeChangeProof (⇔)
↳45 YES
perm1_in_ga(.(X45, T20), .(T21, T22)) → U12_ga(X45, T20, T21, T22, app210_in_aaag(X46, T21, X47, T20))
app210_in_aaag(.(X98, X99), T40, X100, .(X98, T39)) → U1_aaag(X98, X99, T40, X100, T39, app210_in_aaag(X99, T40, X100, T39))
app210_in_aaag([], T45, X117, .(T45, X117)) → app210_out_aaag([], T45, X117, .(T45, X117))
U1_aaag(X98, X99, T40, X100, T39, app210_out_aaag(X99, T40, X100, T39)) → app210_out_aaag(.(X98, X99), T40, X100, .(X98, T39))
U12_ga(X45, T20, T21, T22, app210_out_aaag(X46, T21, X47, T20)) → perm1_out_ga(.(X45, T20), .(T21, T22))
perm1_in_ga(.(X45, T20), .(T21, T27)) → U13_ga(X45, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U13_ga(X45, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U14_ga(X45, T20, T21, T27, app120_in_ggga(X45, T25, T26, X9))
app120_in_ggga(X169, T66, T67, .(X169, X170)) → U11_ggga(X169, T66, T67, X170, app125_in_gga(T66, T67, X170))
app125_in_gga(.(T83, T84), T85, .(T83, X200)) → U2_gga(T83, T84, T85, X200, app125_in_gga(T84, T85, X200))
app125_in_gga([], T91, T91) → app125_out_gga([], T91, T91)
U2_gga(T83, T84, T85, X200, app125_out_gga(T84, T85, X200)) → app125_out_gga(.(T83, T84), T85, .(T83, X200))
U11_ggga(X169, T66, T67, X170, app125_out_gga(T66, T67, X170)) → app120_out_ggga(X169, T66, T67, .(X169, X170))
U14_ga(X45, T20, T21, T27, app120_out_ggga(X45, T25, T26, X9)) → perm1_out_ga(.(X45, T20), .(T21, T27))
perm1_in_ga(.(T48, T20), .(T21, T27)) → U15_ga(T48, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U15_ga(T48, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U16_ga(T48, T20, T21, T27, app120_in_ggga(T48, T25, T26, T49))
U16_ga(T48, T20, T21, T27, app120_out_ggga(T48, T25, T26, T49)) → U17_ga(T48, T20, T21, T27, perm21_in_ga(T49, T27))
perm21_in_ga(T110, .(T111, T112)) → U4_ga(T110, T111, T112, app240_in_aaag(X242, T111, X243, T110))
app240_in_aaag(.(X294, X295), T131, X296, .(X294, T130)) → U3_aaag(X294, X295, T131, X296, T130, app240_in_aaag(X295, T131, X296, T130))
app240_in_aaag([], T136, X313, .(T136, X313)) → app240_out_aaag([], T136, X313, .(T136, X313))
U3_aaag(X294, X295, T131, X296, T130, app240_out_aaag(X295, T131, X296, T130)) → app240_out_aaag(.(X294, X295), T131, X296, .(X294, T130))
U4_ga(T110, T111, T112, app240_out_aaag(X242, T111, X243, T110)) → perm21_out_ga(T110, .(T111, T112))
perm21_in_ga(T110, .(T111, T117)) → U5_ga(T110, T111, T117, app240_in_aaag(T115, T111, T116, T110))
U5_ga(T110, T111, T117, app240_out_aaag(T115, T111, T116, T110)) → U6_ga(T110, T111, T117, app150_in_gga(T115, T116, X244))
app150_in_gga(.(T157, T160), T161, .(T157, X349)) → U10_gga(T157, T160, T161, X349, app150_in_gga(T160, T161, X349))
app150_in_gga([], T167, T167) → app150_out_gga([], T167, T167)
U10_gga(T157, T160, T161, X349, app150_out_gga(T160, T161, X349)) → app150_out_gga(.(T157, T160), T161, .(T157, X349))
U6_ga(T110, T111, T117, app150_out_gga(T115, T116, X244)) → perm21_out_ga(T110, .(T111, T117))
perm21_in_ga(T110, .(T111, T141)) → U7_ga(T110, T111, T141, app240_in_aaag(T115, T111, T116, T110))
U7_ga(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → U8_ga(T110, T111, T141, app150_in_gga(T115, T116, T140))
U8_ga(T110, T111, T141, app150_out_gga(T115, T116, T140)) → U9_ga(T110, T111, T141, perm21_in_ga(T140, T141))
perm21_in_ga([], []) → perm21_out_ga([], [])
U9_ga(T110, T111, T141, perm21_out_ga(T140, T141)) → perm21_out_ga(T110, .(T111, T141))
U17_ga(T48, T20, T21, T27, perm21_out_ga(T49, T27)) → perm1_out_ga(.(T48, T20), .(T21, T27))
perm1_in_ga(.(T175, X378), .(T175, T176)) → U18_ga(T175, X378, T176, app167_in_ga(X378, X9))
app167_in_ga(X408, X408) → app167_out_ga(X408, X408)
U18_ga(T175, X378, T176, app167_out_ga(X378, X9)) → perm1_out_ga(.(T175, X378), .(T175, T176))
perm1_in_ga(.(T175, T179), .(T175, T176)) → U19_ga(T175, T179, T176, app167_in_ga(T179, T180))
U19_ga(T175, T179, T176, app167_out_ga(T179, T180)) → U20_ga(T175, T179, T176, perm21_in_ga(T180, T176))
U20_ga(T175, T179, T176, perm21_out_ga(T180, T176)) → perm1_out_ga(.(T175, T179), .(T175, T176))
perm1_in_ga([], []) → perm1_out_ga([], [])
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
perm1_in_ga(.(X45, T20), .(T21, T22)) → U12_ga(X45, T20, T21, T22, app210_in_aaag(X46, T21, X47, T20))
app210_in_aaag(.(X98, X99), T40, X100, .(X98, T39)) → U1_aaag(X98, X99, T40, X100, T39, app210_in_aaag(X99, T40, X100, T39))
app210_in_aaag([], T45, X117, .(T45, X117)) → app210_out_aaag([], T45, X117, .(T45, X117))
U1_aaag(X98, X99, T40, X100, T39, app210_out_aaag(X99, T40, X100, T39)) → app210_out_aaag(.(X98, X99), T40, X100, .(X98, T39))
U12_ga(X45, T20, T21, T22, app210_out_aaag(X46, T21, X47, T20)) → perm1_out_ga(.(X45, T20), .(T21, T22))
perm1_in_ga(.(X45, T20), .(T21, T27)) → U13_ga(X45, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U13_ga(X45, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U14_ga(X45, T20, T21, T27, app120_in_ggga(X45, T25, T26, X9))
app120_in_ggga(X169, T66, T67, .(X169, X170)) → U11_ggga(X169, T66, T67, X170, app125_in_gga(T66, T67, X170))
app125_in_gga(.(T83, T84), T85, .(T83, X200)) → U2_gga(T83, T84, T85, X200, app125_in_gga(T84, T85, X200))
app125_in_gga([], T91, T91) → app125_out_gga([], T91, T91)
U2_gga(T83, T84, T85, X200, app125_out_gga(T84, T85, X200)) → app125_out_gga(.(T83, T84), T85, .(T83, X200))
U11_ggga(X169, T66, T67, X170, app125_out_gga(T66, T67, X170)) → app120_out_ggga(X169, T66, T67, .(X169, X170))
U14_ga(X45, T20, T21, T27, app120_out_ggga(X45, T25, T26, X9)) → perm1_out_ga(.(X45, T20), .(T21, T27))
perm1_in_ga(.(T48, T20), .(T21, T27)) → U15_ga(T48, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U15_ga(T48, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U16_ga(T48, T20, T21, T27, app120_in_ggga(T48, T25, T26, T49))
U16_ga(T48, T20, T21, T27, app120_out_ggga(T48, T25, T26, T49)) → U17_ga(T48, T20, T21, T27, perm21_in_ga(T49, T27))
perm21_in_ga(T110, .(T111, T112)) → U4_ga(T110, T111, T112, app240_in_aaag(X242, T111, X243, T110))
app240_in_aaag(.(X294, X295), T131, X296, .(X294, T130)) → U3_aaag(X294, X295, T131, X296, T130, app240_in_aaag(X295, T131, X296, T130))
app240_in_aaag([], T136, X313, .(T136, X313)) → app240_out_aaag([], T136, X313, .(T136, X313))
U3_aaag(X294, X295, T131, X296, T130, app240_out_aaag(X295, T131, X296, T130)) → app240_out_aaag(.(X294, X295), T131, X296, .(X294, T130))
U4_ga(T110, T111, T112, app240_out_aaag(X242, T111, X243, T110)) → perm21_out_ga(T110, .(T111, T112))
perm21_in_ga(T110, .(T111, T117)) → U5_ga(T110, T111, T117, app240_in_aaag(T115, T111, T116, T110))
U5_ga(T110, T111, T117, app240_out_aaag(T115, T111, T116, T110)) → U6_ga(T110, T111, T117, app150_in_gga(T115, T116, X244))
app150_in_gga(.(T157, T160), T161, .(T157, X349)) → U10_gga(T157, T160, T161, X349, app150_in_gga(T160, T161, X349))
app150_in_gga([], T167, T167) → app150_out_gga([], T167, T167)
U10_gga(T157, T160, T161, X349, app150_out_gga(T160, T161, X349)) → app150_out_gga(.(T157, T160), T161, .(T157, X349))
U6_ga(T110, T111, T117, app150_out_gga(T115, T116, X244)) → perm21_out_ga(T110, .(T111, T117))
perm21_in_ga(T110, .(T111, T141)) → U7_ga(T110, T111, T141, app240_in_aaag(T115, T111, T116, T110))
U7_ga(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → U8_ga(T110, T111, T141, app150_in_gga(T115, T116, T140))
U8_ga(T110, T111, T141, app150_out_gga(T115, T116, T140)) → U9_ga(T110, T111, T141, perm21_in_ga(T140, T141))
perm21_in_ga([], []) → perm21_out_ga([], [])
U9_ga(T110, T111, T141, perm21_out_ga(T140, T141)) → perm21_out_ga(T110, .(T111, T141))
U17_ga(T48, T20, T21, T27, perm21_out_ga(T49, T27)) → perm1_out_ga(.(T48, T20), .(T21, T27))
perm1_in_ga(.(T175, X378), .(T175, T176)) → U18_ga(T175, X378, T176, app167_in_ga(X378, X9))
app167_in_ga(X408, X408) → app167_out_ga(X408, X408)
U18_ga(T175, X378, T176, app167_out_ga(X378, X9)) → perm1_out_ga(.(T175, X378), .(T175, T176))
perm1_in_ga(.(T175, T179), .(T175, T176)) → U19_ga(T175, T179, T176, app167_in_ga(T179, T180))
U19_ga(T175, T179, T176, app167_out_ga(T179, T180)) → U20_ga(T175, T179, T176, perm21_in_ga(T180, T176))
U20_ga(T175, T179, T176, perm21_out_ga(T180, T176)) → perm1_out_ga(.(T175, T179), .(T175, T176))
perm1_in_ga([], []) → perm1_out_ga([], [])
PERM1_IN_GA(.(X45, T20), .(T21, T22)) → U12_GA(X45, T20, T21, T22, app210_in_aaag(X46, T21, X47, T20))
PERM1_IN_GA(.(X45, T20), .(T21, T22)) → APP210_IN_AAAG(X46, T21, X47, T20)
APP210_IN_AAAG(.(X98, X99), T40, X100, .(X98, T39)) → U1_AAAG(X98, X99, T40, X100, T39, app210_in_aaag(X99, T40, X100, T39))
APP210_IN_AAAG(.(X98, X99), T40, X100, .(X98, T39)) → APP210_IN_AAAG(X99, T40, X100, T39)
PERM1_IN_GA(.(X45, T20), .(T21, T27)) → U13_GA(X45, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U13_GA(X45, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U14_GA(X45, T20, T21, T27, app120_in_ggga(X45, T25, T26, X9))
U13_GA(X45, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → APP120_IN_GGGA(X45, T25, T26, X9)
APP120_IN_GGGA(X169, T66, T67, .(X169, X170)) → U11_GGGA(X169, T66, T67, X170, app125_in_gga(T66, T67, X170))
APP120_IN_GGGA(X169, T66, T67, .(X169, X170)) → APP125_IN_GGA(T66, T67, X170)
APP125_IN_GGA(.(T83, T84), T85, .(T83, X200)) → U2_GGA(T83, T84, T85, X200, app125_in_gga(T84, T85, X200))
APP125_IN_GGA(.(T83, T84), T85, .(T83, X200)) → APP125_IN_GGA(T84, T85, X200)
PERM1_IN_GA(.(T48, T20), .(T21, T27)) → U15_GA(T48, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U15_GA(T48, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U16_GA(T48, T20, T21, T27, app120_in_ggga(T48, T25, T26, T49))
U15_GA(T48, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → APP120_IN_GGGA(T48, T25, T26, T49)
U16_GA(T48, T20, T21, T27, app120_out_ggga(T48, T25, T26, T49)) → U17_GA(T48, T20, T21, T27, perm21_in_ga(T49, T27))
U16_GA(T48, T20, T21, T27, app120_out_ggga(T48, T25, T26, T49)) → PERM21_IN_GA(T49, T27)
PERM21_IN_GA(T110, .(T111, T112)) → U4_GA(T110, T111, T112, app240_in_aaag(X242, T111, X243, T110))
PERM21_IN_GA(T110, .(T111, T112)) → APP240_IN_AAAG(X242, T111, X243, T110)
APP240_IN_AAAG(.(X294, X295), T131, X296, .(X294, T130)) → U3_AAAG(X294, X295, T131, X296, T130, app240_in_aaag(X295, T131, X296, T130))
APP240_IN_AAAG(.(X294, X295), T131, X296, .(X294, T130)) → APP240_IN_AAAG(X295, T131, X296, T130)
PERM21_IN_GA(T110, .(T111, T117)) → U5_GA(T110, T111, T117, app240_in_aaag(T115, T111, T116, T110))
U5_GA(T110, T111, T117, app240_out_aaag(T115, T111, T116, T110)) → U6_GA(T110, T111, T117, app150_in_gga(T115, T116, X244))
U5_GA(T110, T111, T117, app240_out_aaag(T115, T111, T116, T110)) → APP150_IN_GGA(T115, T116, X244)
APP150_IN_GGA(.(T157, T160), T161, .(T157, X349)) → U10_GGA(T157, T160, T161, X349, app150_in_gga(T160, T161, X349))
APP150_IN_GGA(.(T157, T160), T161, .(T157, X349)) → APP150_IN_GGA(T160, T161, X349)
PERM21_IN_GA(T110, .(T111, T141)) → U7_GA(T110, T111, T141, app240_in_aaag(T115, T111, T116, T110))
U7_GA(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → U8_GA(T110, T111, T141, app150_in_gga(T115, T116, T140))
U7_GA(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → APP150_IN_GGA(T115, T116, T140)
U8_GA(T110, T111, T141, app150_out_gga(T115, T116, T140)) → U9_GA(T110, T111, T141, perm21_in_ga(T140, T141))
U8_GA(T110, T111, T141, app150_out_gga(T115, T116, T140)) → PERM21_IN_GA(T140, T141)
PERM1_IN_GA(.(T175, X378), .(T175, T176)) → U18_GA(T175, X378, T176, app167_in_ga(X378, X9))
PERM1_IN_GA(.(T175, X378), .(T175, T176)) → APP167_IN_GA(X378, X9)
PERM1_IN_GA(.(T175, T179), .(T175, T176)) → U19_GA(T175, T179, T176, app167_in_ga(T179, T180))
U19_GA(T175, T179, T176, app167_out_ga(T179, T180)) → U20_GA(T175, T179, T176, perm21_in_ga(T180, T176))
U19_GA(T175, T179, T176, app167_out_ga(T179, T180)) → PERM21_IN_GA(T180, T176)
perm1_in_ga(.(X45, T20), .(T21, T22)) → U12_ga(X45, T20, T21, T22, app210_in_aaag(X46, T21, X47, T20))
app210_in_aaag(.(X98, X99), T40, X100, .(X98, T39)) → U1_aaag(X98, X99, T40, X100, T39, app210_in_aaag(X99, T40, X100, T39))
app210_in_aaag([], T45, X117, .(T45, X117)) → app210_out_aaag([], T45, X117, .(T45, X117))
U1_aaag(X98, X99, T40, X100, T39, app210_out_aaag(X99, T40, X100, T39)) → app210_out_aaag(.(X98, X99), T40, X100, .(X98, T39))
U12_ga(X45, T20, T21, T22, app210_out_aaag(X46, T21, X47, T20)) → perm1_out_ga(.(X45, T20), .(T21, T22))
perm1_in_ga(.(X45, T20), .(T21, T27)) → U13_ga(X45, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U13_ga(X45, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U14_ga(X45, T20, T21, T27, app120_in_ggga(X45, T25, T26, X9))
app120_in_ggga(X169, T66, T67, .(X169, X170)) → U11_ggga(X169, T66, T67, X170, app125_in_gga(T66, T67, X170))
app125_in_gga(.(T83, T84), T85, .(T83, X200)) → U2_gga(T83, T84, T85, X200, app125_in_gga(T84, T85, X200))
app125_in_gga([], T91, T91) → app125_out_gga([], T91, T91)
U2_gga(T83, T84, T85, X200, app125_out_gga(T84, T85, X200)) → app125_out_gga(.(T83, T84), T85, .(T83, X200))
U11_ggga(X169, T66, T67, X170, app125_out_gga(T66, T67, X170)) → app120_out_ggga(X169, T66, T67, .(X169, X170))
U14_ga(X45, T20, T21, T27, app120_out_ggga(X45, T25, T26, X9)) → perm1_out_ga(.(X45, T20), .(T21, T27))
perm1_in_ga(.(T48, T20), .(T21, T27)) → U15_ga(T48, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U15_ga(T48, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U16_ga(T48, T20, T21, T27, app120_in_ggga(T48, T25, T26, T49))
U16_ga(T48, T20, T21, T27, app120_out_ggga(T48, T25, T26, T49)) → U17_ga(T48, T20, T21, T27, perm21_in_ga(T49, T27))
perm21_in_ga(T110, .(T111, T112)) → U4_ga(T110, T111, T112, app240_in_aaag(X242, T111, X243, T110))
app240_in_aaag(.(X294, X295), T131, X296, .(X294, T130)) → U3_aaag(X294, X295, T131, X296, T130, app240_in_aaag(X295, T131, X296, T130))
app240_in_aaag([], T136, X313, .(T136, X313)) → app240_out_aaag([], T136, X313, .(T136, X313))
U3_aaag(X294, X295, T131, X296, T130, app240_out_aaag(X295, T131, X296, T130)) → app240_out_aaag(.(X294, X295), T131, X296, .(X294, T130))
U4_ga(T110, T111, T112, app240_out_aaag(X242, T111, X243, T110)) → perm21_out_ga(T110, .(T111, T112))
perm21_in_ga(T110, .(T111, T117)) → U5_ga(T110, T111, T117, app240_in_aaag(T115, T111, T116, T110))
U5_ga(T110, T111, T117, app240_out_aaag(T115, T111, T116, T110)) → U6_ga(T110, T111, T117, app150_in_gga(T115, T116, X244))
app150_in_gga(.(T157, T160), T161, .(T157, X349)) → U10_gga(T157, T160, T161, X349, app150_in_gga(T160, T161, X349))
app150_in_gga([], T167, T167) → app150_out_gga([], T167, T167)
U10_gga(T157, T160, T161, X349, app150_out_gga(T160, T161, X349)) → app150_out_gga(.(T157, T160), T161, .(T157, X349))
U6_ga(T110, T111, T117, app150_out_gga(T115, T116, X244)) → perm21_out_ga(T110, .(T111, T117))
perm21_in_ga(T110, .(T111, T141)) → U7_ga(T110, T111, T141, app240_in_aaag(T115, T111, T116, T110))
U7_ga(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → U8_ga(T110, T111, T141, app150_in_gga(T115, T116, T140))
U8_ga(T110, T111, T141, app150_out_gga(T115, T116, T140)) → U9_ga(T110, T111, T141, perm21_in_ga(T140, T141))
perm21_in_ga([], []) → perm21_out_ga([], [])
U9_ga(T110, T111, T141, perm21_out_ga(T140, T141)) → perm21_out_ga(T110, .(T111, T141))
U17_ga(T48, T20, T21, T27, perm21_out_ga(T49, T27)) → perm1_out_ga(.(T48, T20), .(T21, T27))
perm1_in_ga(.(T175, X378), .(T175, T176)) → U18_ga(T175, X378, T176, app167_in_ga(X378, X9))
app167_in_ga(X408, X408) → app167_out_ga(X408, X408)
U18_ga(T175, X378, T176, app167_out_ga(X378, X9)) → perm1_out_ga(.(T175, X378), .(T175, T176))
perm1_in_ga(.(T175, T179), .(T175, T176)) → U19_ga(T175, T179, T176, app167_in_ga(T179, T180))
U19_ga(T175, T179, T176, app167_out_ga(T179, T180)) → U20_ga(T175, T179, T176, perm21_in_ga(T180, T176))
U20_ga(T175, T179, T176, perm21_out_ga(T180, T176)) → perm1_out_ga(.(T175, T179), .(T175, T176))
perm1_in_ga([], []) → perm1_out_ga([], [])
PERM1_IN_GA(.(X45, T20), .(T21, T22)) → U12_GA(X45, T20, T21, T22, app210_in_aaag(X46, T21, X47, T20))
PERM1_IN_GA(.(X45, T20), .(T21, T22)) → APP210_IN_AAAG(X46, T21, X47, T20)
APP210_IN_AAAG(.(X98, X99), T40, X100, .(X98, T39)) → U1_AAAG(X98, X99, T40, X100, T39, app210_in_aaag(X99, T40, X100, T39))
APP210_IN_AAAG(.(X98, X99), T40, X100, .(X98, T39)) → APP210_IN_AAAG(X99, T40, X100, T39)
PERM1_IN_GA(.(X45, T20), .(T21, T27)) → U13_GA(X45, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U13_GA(X45, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U14_GA(X45, T20, T21, T27, app120_in_ggga(X45, T25, T26, X9))
U13_GA(X45, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → APP120_IN_GGGA(X45, T25, T26, X9)
APP120_IN_GGGA(X169, T66, T67, .(X169, X170)) → U11_GGGA(X169, T66, T67, X170, app125_in_gga(T66, T67, X170))
APP120_IN_GGGA(X169, T66, T67, .(X169, X170)) → APP125_IN_GGA(T66, T67, X170)
APP125_IN_GGA(.(T83, T84), T85, .(T83, X200)) → U2_GGA(T83, T84, T85, X200, app125_in_gga(T84, T85, X200))
APP125_IN_GGA(.(T83, T84), T85, .(T83, X200)) → APP125_IN_GGA(T84, T85, X200)
PERM1_IN_GA(.(T48, T20), .(T21, T27)) → U15_GA(T48, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U15_GA(T48, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U16_GA(T48, T20, T21, T27, app120_in_ggga(T48, T25, T26, T49))
U15_GA(T48, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → APP120_IN_GGGA(T48, T25, T26, T49)
U16_GA(T48, T20, T21, T27, app120_out_ggga(T48, T25, T26, T49)) → U17_GA(T48, T20, T21, T27, perm21_in_ga(T49, T27))
U16_GA(T48, T20, T21, T27, app120_out_ggga(T48, T25, T26, T49)) → PERM21_IN_GA(T49, T27)
PERM21_IN_GA(T110, .(T111, T112)) → U4_GA(T110, T111, T112, app240_in_aaag(X242, T111, X243, T110))
PERM21_IN_GA(T110, .(T111, T112)) → APP240_IN_AAAG(X242, T111, X243, T110)
APP240_IN_AAAG(.(X294, X295), T131, X296, .(X294, T130)) → U3_AAAG(X294, X295, T131, X296, T130, app240_in_aaag(X295, T131, X296, T130))
APP240_IN_AAAG(.(X294, X295), T131, X296, .(X294, T130)) → APP240_IN_AAAG(X295, T131, X296, T130)
PERM21_IN_GA(T110, .(T111, T117)) → U5_GA(T110, T111, T117, app240_in_aaag(T115, T111, T116, T110))
U5_GA(T110, T111, T117, app240_out_aaag(T115, T111, T116, T110)) → U6_GA(T110, T111, T117, app150_in_gga(T115, T116, X244))
U5_GA(T110, T111, T117, app240_out_aaag(T115, T111, T116, T110)) → APP150_IN_GGA(T115, T116, X244)
APP150_IN_GGA(.(T157, T160), T161, .(T157, X349)) → U10_GGA(T157, T160, T161, X349, app150_in_gga(T160, T161, X349))
APP150_IN_GGA(.(T157, T160), T161, .(T157, X349)) → APP150_IN_GGA(T160, T161, X349)
PERM21_IN_GA(T110, .(T111, T141)) → U7_GA(T110, T111, T141, app240_in_aaag(T115, T111, T116, T110))
U7_GA(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → U8_GA(T110, T111, T141, app150_in_gga(T115, T116, T140))
U7_GA(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → APP150_IN_GGA(T115, T116, T140)
U8_GA(T110, T111, T141, app150_out_gga(T115, T116, T140)) → U9_GA(T110, T111, T141, perm21_in_ga(T140, T141))
U8_GA(T110, T111, T141, app150_out_gga(T115, T116, T140)) → PERM21_IN_GA(T140, T141)
PERM1_IN_GA(.(T175, X378), .(T175, T176)) → U18_GA(T175, X378, T176, app167_in_ga(X378, X9))
PERM1_IN_GA(.(T175, X378), .(T175, T176)) → APP167_IN_GA(X378, X9)
PERM1_IN_GA(.(T175, T179), .(T175, T176)) → U19_GA(T175, T179, T176, app167_in_ga(T179, T180))
U19_GA(T175, T179, T176, app167_out_ga(T179, T180)) → U20_GA(T175, T179, T176, perm21_in_ga(T180, T176))
U19_GA(T175, T179, T176, app167_out_ga(T179, T180)) → PERM21_IN_GA(T180, T176)
perm1_in_ga(.(X45, T20), .(T21, T22)) → U12_ga(X45, T20, T21, T22, app210_in_aaag(X46, T21, X47, T20))
app210_in_aaag(.(X98, X99), T40, X100, .(X98, T39)) → U1_aaag(X98, X99, T40, X100, T39, app210_in_aaag(X99, T40, X100, T39))
app210_in_aaag([], T45, X117, .(T45, X117)) → app210_out_aaag([], T45, X117, .(T45, X117))
U1_aaag(X98, X99, T40, X100, T39, app210_out_aaag(X99, T40, X100, T39)) → app210_out_aaag(.(X98, X99), T40, X100, .(X98, T39))
U12_ga(X45, T20, T21, T22, app210_out_aaag(X46, T21, X47, T20)) → perm1_out_ga(.(X45, T20), .(T21, T22))
perm1_in_ga(.(X45, T20), .(T21, T27)) → U13_ga(X45, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U13_ga(X45, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U14_ga(X45, T20, T21, T27, app120_in_ggga(X45, T25, T26, X9))
app120_in_ggga(X169, T66, T67, .(X169, X170)) → U11_ggga(X169, T66, T67, X170, app125_in_gga(T66, T67, X170))
app125_in_gga(.(T83, T84), T85, .(T83, X200)) → U2_gga(T83, T84, T85, X200, app125_in_gga(T84, T85, X200))
app125_in_gga([], T91, T91) → app125_out_gga([], T91, T91)
U2_gga(T83, T84, T85, X200, app125_out_gga(T84, T85, X200)) → app125_out_gga(.(T83, T84), T85, .(T83, X200))
U11_ggga(X169, T66, T67, X170, app125_out_gga(T66, T67, X170)) → app120_out_ggga(X169, T66, T67, .(X169, X170))
U14_ga(X45, T20, T21, T27, app120_out_ggga(X45, T25, T26, X9)) → perm1_out_ga(.(X45, T20), .(T21, T27))
perm1_in_ga(.(T48, T20), .(T21, T27)) → U15_ga(T48, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U15_ga(T48, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U16_ga(T48, T20, T21, T27, app120_in_ggga(T48, T25, T26, T49))
U16_ga(T48, T20, T21, T27, app120_out_ggga(T48, T25, T26, T49)) → U17_ga(T48, T20, T21, T27, perm21_in_ga(T49, T27))
perm21_in_ga(T110, .(T111, T112)) → U4_ga(T110, T111, T112, app240_in_aaag(X242, T111, X243, T110))
app240_in_aaag(.(X294, X295), T131, X296, .(X294, T130)) → U3_aaag(X294, X295, T131, X296, T130, app240_in_aaag(X295, T131, X296, T130))
app240_in_aaag([], T136, X313, .(T136, X313)) → app240_out_aaag([], T136, X313, .(T136, X313))
U3_aaag(X294, X295, T131, X296, T130, app240_out_aaag(X295, T131, X296, T130)) → app240_out_aaag(.(X294, X295), T131, X296, .(X294, T130))
U4_ga(T110, T111, T112, app240_out_aaag(X242, T111, X243, T110)) → perm21_out_ga(T110, .(T111, T112))
perm21_in_ga(T110, .(T111, T117)) → U5_ga(T110, T111, T117, app240_in_aaag(T115, T111, T116, T110))
U5_ga(T110, T111, T117, app240_out_aaag(T115, T111, T116, T110)) → U6_ga(T110, T111, T117, app150_in_gga(T115, T116, X244))
app150_in_gga(.(T157, T160), T161, .(T157, X349)) → U10_gga(T157, T160, T161, X349, app150_in_gga(T160, T161, X349))
app150_in_gga([], T167, T167) → app150_out_gga([], T167, T167)
U10_gga(T157, T160, T161, X349, app150_out_gga(T160, T161, X349)) → app150_out_gga(.(T157, T160), T161, .(T157, X349))
U6_ga(T110, T111, T117, app150_out_gga(T115, T116, X244)) → perm21_out_ga(T110, .(T111, T117))
perm21_in_ga(T110, .(T111, T141)) → U7_ga(T110, T111, T141, app240_in_aaag(T115, T111, T116, T110))
U7_ga(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → U8_ga(T110, T111, T141, app150_in_gga(T115, T116, T140))
U8_ga(T110, T111, T141, app150_out_gga(T115, T116, T140)) → U9_ga(T110, T111, T141, perm21_in_ga(T140, T141))
perm21_in_ga([], []) → perm21_out_ga([], [])
U9_ga(T110, T111, T141, perm21_out_ga(T140, T141)) → perm21_out_ga(T110, .(T111, T141))
U17_ga(T48, T20, T21, T27, perm21_out_ga(T49, T27)) → perm1_out_ga(.(T48, T20), .(T21, T27))
perm1_in_ga(.(T175, X378), .(T175, T176)) → U18_ga(T175, X378, T176, app167_in_ga(X378, X9))
app167_in_ga(X408, X408) → app167_out_ga(X408, X408)
U18_ga(T175, X378, T176, app167_out_ga(X378, X9)) → perm1_out_ga(.(T175, X378), .(T175, T176))
perm1_in_ga(.(T175, T179), .(T175, T176)) → U19_ga(T175, T179, T176, app167_in_ga(T179, T180))
U19_ga(T175, T179, T176, app167_out_ga(T179, T180)) → U20_ga(T175, T179, T176, perm21_in_ga(T180, T176))
U20_ga(T175, T179, T176, perm21_out_ga(T180, T176)) → perm1_out_ga(.(T175, T179), .(T175, T176))
perm1_in_ga([], []) → perm1_out_ga([], [])
APP150_IN_GGA(.(T157, T160), T161, .(T157, X349)) → APP150_IN_GGA(T160, T161, X349)
perm1_in_ga(.(X45, T20), .(T21, T22)) → U12_ga(X45, T20, T21, T22, app210_in_aaag(X46, T21, X47, T20))
app210_in_aaag(.(X98, X99), T40, X100, .(X98, T39)) → U1_aaag(X98, X99, T40, X100, T39, app210_in_aaag(X99, T40, X100, T39))
app210_in_aaag([], T45, X117, .(T45, X117)) → app210_out_aaag([], T45, X117, .(T45, X117))
U1_aaag(X98, X99, T40, X100, T39, app210_out_aaag(X99, T40, X100, T39)) → app210_out_aaag(.(X98, X99), T40, X100, .(X98, T39))
U12_ga(X45, T20, T21, T22, app210_out_aaag(X46, T21, X47, T20)) → perm1_out_ga(.(X45, T20), .(T21, T22))
perm1_in_ga(.(X45, T20), .(T21, T27)) → U13_ga(X45, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U13_ga(X45, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U14_ga(X45, T20, T21, T27, app120_in_ggga(X45, T25, T26, X9))
app120_in_ggga(X169, T66, T67, .(X169, X170)) → U11_ggga(X169, T66, T67, X170, app125_in_gga(T66, T67, X170))
app125_in_gga(.(T83, T84), T85, .(T83, X200)) → U2_gga(T83, T84, T85, X200, app125_in_gga(T84, T85, X200))
app125_in_gga([], T91, T91) → app125_out_gga([], T91, T91)
U2_gga(T83, T84, T85, X200, app125_out_gga(T84, T85, X200)) → app125_out_gga(.(T83, T84), T85, .(T83, X200))
U11_ggga(X169, T66, T67, X170, app125_out_gga(T66, T67, X170)) → app120_out_ggga(X169, T66, T67, .(X169, X170))
U14_ga(X45, T20, T21, T27, app120_out_ggga(X45, T25, T26, X9)) → perm1_out_ga(.(X45, T20), .(T21, T27))
perm1_in_ga(.(T48, T20), .(T21, T27)) → U15_ga(T48, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U15_ga(T48, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U16_ga(T48, T20, T21, T27, app120_in_ggga(T48, T25, T26, T49))
U16_ga(T48, T20, T21, T27, app120_out_ggga(T48, T25, T26, T49)) → U17_ga(T48, T20, T21, T27, perm21_in_ga(T49, T27))
perm21_in_ga(T110, .(T111, T112)) → U4_ga(T110, T111, T112, app240_in_aaag(X242, T111, X243, T110))
app240_in_aaag(.(X294, X295), T131, X296, .(X294, T130)) → U3_aaag(X294, X295, T131, X296, T130, app240_in_aaag(X295, T131, X296, T130))
app240_in_aaag([], T136, X313, .(T136, X313)) → app240_out_aaag([], T136, X313, .(T136, X313))
U3_aaag(X294, X295, T131, X296, T130, app240_out_aaag(X295, T131, X296, T130)) → app240_out_aaag(.(X294, X295), T131, X296, .(X294, T130))
U4_ga(T110, T111, T112, app240_out_aaag(X242, T111, X243, T110)) → perm21_out_ga(T110, .(T111, T112))
perm21_in_ga(T110, .(T111, T117)) → U5_ga(T110, T111, T117, app240_in_aaag(T115, T111, T116, T110))
U5_ga(T110, T111, T117, app240_out_aaag(T115, T111, T116, T110)) → U6_ga(T110, T111, T117, app150_in_gga(T115, T116, X244))
app150_in_gga(.(T157, T160), T161, .(T157, X349)) → U10_gga(T157, T160, T161, X349, app150_in_gga(T160, T161, X349))
app150_in_gga([], T167, T167) → app150_out_gga([], T167, T167)
U10_gga(T157, T160, T161, X349, app150_out_gga(T160, T161, X349)) → app150_out_gga(.(T157, T160), T161, .(T157, X349))
U6_ga(T110, T111, T117, app150_out_gga(T115, T116, X244)) → perm21_out_ga(T110, .(T111, T117))
perm21_in_ga(T110, .(T111, T141)) → U7_ga(T110, T111, T141, app240_in_aaag(T115, T111, T116, T110))
U7_ga(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → U8_ga(T110, T111, T141, app150_in_gga(T115, T116, T140))
U8_ga(T110, T111, T141, app150_out_gga(T115, T116, T140)) → U9_ga(T110, T111, T141, perm21_in_ga(T140, T141))
perm21_in_ga([], []) → perm21_out_ga([], [])
U9_ga(T110, T111, T141, perm21_out_ga(T140, T141)) → perm21_out_ga(T110, .(T111, T141))
U17_ga(T48, T20, T21, T27, perm21_out_ga(T49, T27)) → perm1_out_ga(.(T48, T20), .(T21, T27))
perm1_in_ga(.(T175, X378), .(T175, T176)) → U18_ga(T175, X378, T176, app167_in_ga(X378, X9))
app167_in_ga(X408, X408) → app167_out_ga(X408, X408)
U18_ga(T175, X378, T176, app167_out_ga(X378, X9)) → perm1_out_ga(.(T175, X378), .(T175, T176))
perm1_in_ga(.(T175, T179), .(T175, T176)) → U19_ga(T175, T179, T176, app167_in_ga(T179, T180))
U19_ga(T175, T179, T176, app167_out_ga(T179, T180)) → U20_ga(T175, T179, T176, perm21_in_ga(T180, T176))
U20_ga(T175, T179, T176, perm21_out_ga(T180, T176)) → perm1_out_ga(.(T175, T179), .(T175, T176))
perm1_in_ga([], []) → perm1_out_ga([], [])
APP150_IN_GGA(.(T157, T160), T161, .(T157, X349)) → APP150_IN_GGA(T160, T161, X349)
APP150_IN_GGA(.(T157, T160), T161) → APP150_IN_GGA(T160, T161)
From the DPs we obtained the following set of size-change graphs:
APP240_IN_AAAG(.(X294, X295), T131, X296, .(X294, T130)) → APP240_IN_AAAG(X295, T131, X296, T130)
perm1_in_ga(.(X45, T20), .(T21, T22)) → U12_ga(X45, T20, T21, T22, app210_in_aaag(X46, T21, X47, T20))
app210_in_aaag(.(X98, X99), T40, X100, .(X98, T39)) → U1_aaag(X98, X99, T40, X100, T39, app210_in_aaag(X99, T40, X100, T39))
app210_in_aaag([], T45, X117, .(T45, X117)) → app210_out_aaag([], T45, X117, .(T45, X117))
U1_aaag(X98, X99, T40, X100, T39, app210_out_aaag(X99, T40, X100, T39)) → app210_out_aaag(.(X98, X99), T40, X100, .(X98, T39))
U12_ga(X45, T20, T21, T22, app210_out_aaag(X46, T21, X47, T20)) → perm1_out_ga(.(X45, T20), .(T21, T22))
perm1_in_ga(.(X45, T20), .(T21, T27)) → U13_ga(X45, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U13_ga(X45, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U14_ga(X45, T20, T21, T27, app120_in_ggga(X45, T25, T26, X9))
app120_in_ggga(X169, T66, T67, .(X169, X170)) → U11_ggga(X169, T66, T67, X170, app125_in_gga(T66, T67, X170))
app125_in_gga(.(T83, T84), T85, .(T83, X200)) → U2_gga(T83, T84, T85, X200, app125_in_gga(T84, T85, X200))
app125_in_gga([], T91, T91) → app125_out_gga([], T91, T91)
U2_gga(T83, T84, T85, X200, app125_out_gga(T84, T85, X200)) → app125_out_gga(.(T83, T84), T85, .(T83, X200))
U11_ggga(X169, T66, T67, X170, app125_out_gga(T66, T67, X170)) → app120_out_ggga(X169, T66, T67, .(X169, X170))
U14_ga(X45, T20, T21, T27, app120_out_ggga(X45, T25, T26, X9)) → perm1_out_ga(.(X45, T20), .(T21, T27))
perm1_in_ga(.(T48, T20), .(T21, T27)) → U15_ga(T48, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U15_ga(T48, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U16_ga(T48, T20, T21, T27, app120_in_ggga(T48, T25, T26, T49))
U16_ga(T48, T20, T21, T27, app120_out_ggga(T48, T25, T26, T49)) → U17_ga(T48, T20, T21, T27, perm21_in_ga(T49, T27))
perm21_in_ga(T110, .(T111, T112)) → U4_ga(T110, T111, T112, app240_in_aaag(X242, T111, X243, T110))
app240_in_aaag(.(X294, X295), T131, X296, .(X294, T130)) → U3_aaag(X294, X295, T131, X296, T130, app240_in_aaag(X295, T131, X296, T130))
app240_in_aaag([], T136, X313, .(T136, X313)) → app240_out_aaag([], T136, X313, .(T136, X313))
U3_aaag(X294, X295, T131, X296, T130, app240_out_aaag(X295, T131, X296, T130)) → app240_out_aaag(.(X294, X295), T131, X296, .(X294, T130))
U4_ga(T110, T111, T112, app240_out_aaag(X242, T111, X243, T110)) → perm21_out_ga(T110, .(T111, T112))
perm21_in_ga(T110, .(T111, T117)) → U5_ga(T110, T111, T117, app240_in_aaag(T115, T111, T116, T110))
U5_ga(T110, T111, T117, app240_out_aaag(T115, T111, T116, T110)) → U6_ga(T110, T111, T117, app150_in_gga(T115, T116, X244))
app150_in_gga(.(T157, T160), T161, .(T157, X349)) → U10_gga(T157, T160, T161, X349, app150_in_gga(T160, T161, X349))
app150_in_gga([], T167, T167) → app150_out_gga([], T167, T167)
U10_gga(T157, T160, T161, X349, app150_out_gga(T160, T161, X349)) → app150_out_gga(.(T157, T160), T161, .(T157, X349))
U6_ga(T110, T111, T117, app150_out_gga(T115, T116, X244)) → perm21_out_ga(T110, .(T111, T117))
perm21_in_ga(T110, .(T111, T141)) → U7_ga(T110, T111, T141, app240_in_aaag(T115, T111, T116, T110))
U7_ga(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → U8_ga(T110, T111, T141, app150_in_gga(T115, T116, T140))
U8_ga(T110, T111, T141, app150_out_gga(T115, T116, T140)) → U9_ga(T110, T111, T141, perm21_in_ga(T140, T141))
perm21_in_ga([], []) → perm21_out_ga([], [])
U9_ga(T110, T111, T141, perm21_out_ga(T140, T141)) → perm21_out_ga(T110, .(T111, T141))
U17_ga(T48, T20, T21, T27, perm21_out_ga(T49, T27)) → perm1_out_ga(.(T48, T20), .(T21, T27))
perm1_in_ga(.(T175, X378), .(T175, T176)) → U18_ga(T175, X378, T176, app167_in_ga(X378, X9))
app167_in_ga(X408, X408) → app167_out_ga(X408, X408)
U18_ga(T175, X378, T176, app167_out_ga(X378, X9)) → perm1_out_ga(.(T175, X378), .(T175, T176))
perm1_in_ga(.(T175, T179), .(T175, T176)) → U19_ga(T175, T179, T176, app167_in_ga(T179, T180))
U19_ga(T175, T179, T176, app167_out_ga(T179, T180)) → U20_ga(T175, T179, T176, perm21_in_ga(T180, T176))
U20_ga(T175, T179, T176, perm21_out_ga(T180, T176)) → perm1_out_ga(.(T175, T179), .(T175, T176))
perm1_in_ga([], []) → perm1_out_ga([], [])
APP240_IN_AAAG(.(X294, X295), T131, X296, .(X294, T130)) → APP240_IN_AAAG(X295, T131, X296, T130)
APP240_IN_AAAG(.(X294, T130)) → APP240_IN_AAAG(T130)
From the DPs we obtained the following set of size-change graphs:
PERM21_IN_GA(T110, .(T111, T141)) → U7_GA(T110, T111, T141, app240_in_aaag(T115, T111, T116, T110))
U7_GA(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → U8_GA(T110, T111, T141, app150_in_gga(T115, T116, T140))
U8_GA(T110, T111, T141, app150_out_gga(T115, T116, T140)) → PERM21_IN_GA(T140, T141)
perm1_in_ga(.(X45, T20), .(T21, T22)) → U12_ga(X45, T20, T21, T22, app210_in_aaag(X46, T21, X47, T20))
app210_in_aaag(.(X98, X99), T40, X100, .(X98, T39)) → U1_aaag(X98, X99, T40, X100, T39, app210_in_aaag(X99, T40, X100, T39))
app210_in_aaag([], T45, X117, .(T45, X117)) → app210_out_aaag([], T45, X117, .(T45, X117))
U1_aaag(X98, X99, T40, X100, T39, app210_out_aaag(X99, T40, X100, T39)) → app210_out_aaag(.(X98, X99), T40, X100, .(X98, T39))
U12_ga(X45, T20, T21, T22, app210_out_aaag(X46, T21, X47, T20)) → perm1_out_ga(.(X45, T20), .(T21, T22))
perm1_in_ga(.(X45, T20), .(T21, T27)) → U13_ga(X45, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U13_ga(X45, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U14_ga(X45, T20, T21, T27, app120_in_ggga(X45, T25, T26, X9))
app120_in_ggga(X169, T66, T67, .(X169, X170)) → U11_ggga(X169, T66, T67, X170, app125_in_gga(T66, T67, X170))
app125_in_gga(.(T83, T84), T85, .(T83, X200)) → U2_gga(T83, T84, T85, X200, app125_in_gga(T84, T85, X200))
app125_in_gga([], T91, T91) → app125_out_gga([], T91, T91)
U2_gga(T83, T84, T85, X200, app125_out_gga(T84, T85, X200)) → app125_out_gga(.(T83, T84), T85, .(T83, X200))
U11_ggga(X169, T66, T67, X170, app125_out_gga(T66, T67, X170)) → app120_out_ggga(X169, T66, T67, .(X169, X170))
U14_ga(X45, T20, T21, T27, app120_out_ggga(X45, T25, T26, X9)) → perm1_out_ga(.(X45, T20), .(T21, T27))
perm1_in_ga(.(T48, T20), .(T21, T27)) → U15_ga(T48, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U15_ga(T48, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U16_ga(T48, T20, T21, T27, app120_in_ggga(T48, T25, T26, T49))
U16_ga(T48, T20, T21, T27, app120_out_ggga(T48, T25, T26, T49)) → U17_ga(T48, T20, T21, T27, perm21_in_ga(T49, T27))
perm21_in_ga(T110, .(T111, T112)) → U4_ga(T110, T111, T112, app240_in_aaag(X242, T111, X243, T110))
app240_in_aaag(.(X294, X295), T131, X296, .(X294, T130)) → U3_aaag(X294, X295, T131, X296, T130, app240_in_aaag(X295, T131, X296, T130))
app240_in_aaag([], T136, X313, .(T136, X313)) → app240_out_aaag([], T136, X313, .(T136, X313))
U3_aaag(X294, X295, T131, X296, T130, app240_out_aaag(X295, T131, X296, T130)) → app240_out_aaag(.(X294, X295), T131, X296, .(X294, T130))
U4_ga(T110, T111, T112, app240_out_aaag(X242, T111, X243, T110)) → perm21_out_ga(T110, .(T111, T112))
perm21_in_ga(T110, .(T111, T117)) → U5_ga(T110, T111, T117, app240_in_aaag(T115, T111, T116, T110))
U5_ga(T110, T111, T117, app240_out_aaag(T115, T111, T116, T110)) → U6_ga(T110, T111, T117, app150_in_gga(T115, T116, X244))
app150_in_gga(.(T157, T160), T161, .(T157, X349)) → U10_gga(T157, T160, T161, X349, app150_in_gga(T160, T161, X349))
app150_in_gga([], T167, T167) → app150_out_gga([], T167, T167)
U10_gga(T157, T160, T161, X349, app150_out_gga(T160, T161, X349)) → app150_out_gga(.(T157, T160), T161, .(T157, X349))
U6_ga(T110, T111, T117, app150_out_gga(T115, T116, X244)) → perm21_out_ga(T110, .(T111, T117))
perm21_in_ga(T110, .(T111, T141)) → U7_ga(T110, T111, T141, app240_in_aaag(T115, T111, T116, T110))
U7_ga(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → U8_ga(T110, T111, T141, app150_in_gga(T115, T116, T140))
U8_ga(T110, T111, T141, app150_out_gga(T115, T116, T140)) → U9_ga(T110, T111, T141, perm21_in_ga(T140, T141))
perm21_in_ga([], []) → perm21_out_ga([], [])
U9_ga(T110, T111, T141, perm21_out_ga(T140, T141)) → perm21_out_ga(T110, .(T111, T141))
U17_ga(T48, T20, T21, T27, perm21_out_ga(T49, T27)) → perm1_out_ga(.(T48, T20), .(T21, T27))
perm1_in_ga(.(T175, X378), .(T175, T176)) → U18_ga(T175, X378, T176, app167_in_ga(X378, X9))
app167_in_ga(X408, X408) → app167_out_ga(X408, X408)
U18_ga(T175, X378, T176, app167_out_ga(X378, X9)) → perm1_out_ga(.(T175, X378), .(T175, T176))
perm1_in_ga(.(T175, T179), .(T175, T176)) → U19_ga(T175, T179, T176, app167_in_ga(T179, T180))
U19_ga(T175, T179, T176, app167_out_ga(T179, T180)) → U20_ga(T175, T179, T176, perm21_in_ga(T180, T176))
U20_ga(T175, T179, T176, perm21_out_ga(T180, T176)) → perm1_out_ga(.(T175, T179), .(T175, T176))
perm1_in_ga([], []) → perm1_out_ga([], [])
PERM21_IN_GA(T110, .(T111, T141)) → U7_GA(T110, T111, T141, app240_in_aaag(T115, T111, T116, T110))
U7_GA(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → U8_GA(T110, T111, T141, app150_in_gga(T115, T116, T140))
U8_GA(T110, T111, T141, app150_out_gga(T115, T116, T140)) → PERM21_IN_GA(T140, T141)
app240_in_aaag(.(X294, X295), T131, X296, .(X294, T130)) → U3_aaag(X294, X295, T131, X296, T130, app240_in_aaag(X295, T131, X296, T130))
app240_in_aaag([], T136, X313, .(T136, X313)) → app240_out_aaag([], T136, X313, .(T136, X313))
app150_in_gga(.(T157, T160), T161, .(T157, X349)) → U10_gga(T157, T160, T161, X349, app150_in_gga(T160, T161, X349))
app150_in_gga([], T167, T167) → app150_out_gga([], T167, T167)
U3_aaag(X294, X295, T131, X296, T130, app240_out_aaag(X295, T131, X296, T130)) → app240_out_aaag(.(X294, X295), T131, X296, .(X294, T130))
U10_gga(T157, T160, T161, X349, app150_out_gga(T160, T161, X349)) → app150_out_gga(.(T157, T160), T161, .(T157, X349))
PERM21_IN_GA(T110) → U7_GA(app240_in_aaag(T110))
U7_GA(app240_out_aaag(T115, T111, T116)) → U8_GA(app150_in_gga(T115, T116))
U8_GA(app150_out_gga(T140)) → PERM21_IN_GA(T140)
app240_in_aaag(.(X294, T130)) → U3_aaag(X294, app240_in_aaag(T130))
app240_in_aaag(.(T136, X313)) → app240_out_aaag([], T136, X313)
app150_in_gga(.(T157, T160), T161) → U10_gga(T157, app150_in_gga(T160, T161))
app150_in_gga([], T167) → app150_out_gga(T167)
U3_aaag(X294, app240_out_aaag(X295, T131, X296)) → app240_out_aaag(.(X294, X295), T131, X296)
U10_gga(T157, app150_out_gga(X349)) → app150_out_gga(.(T157, X349))
app240_in_aaag(x0)
app150_in_gga(x0, x1)
U3_aaag(x0, x1)
U10_gga(x0, x1)
PERM21_IN_GA(T110) → U7_GA(app240_in_aaag(T110))
U7_GA(app240_out_aaag(T115, T111, T116)) → U8_GA(app150_in_gga(T115, T116))
U8_GA(app150_out_gga(T140)) → PERM21_IN_GA(T140)
app240_in_aaag(.(T136, X313)) → app240_out_aaag([], T136, X313)
app150_in_gga([], T167) → app150_out_gga(T167)
POL(.(x1, x2)) = 5 + x1 + x2
POL(PERM21_IN_GA(x1)) = 1 + x1
POL(U10_gga(x1, x2)) = 5 + x1 + x2
POL(U3_aaag(x1, x2)) = 5 + x1 + x2
POL(U7_GA(x1)) = x1
POL(U8_GA(x1)) = x1
POL([]) = 0
POL(app150_in_gga(x1, x2)) = 3 + x1 + x2
POL(app150_out_gga(x1)) = 2 + x1
POL(app240_in_aaag(x1)) = x1
POL(app240_out_aaag(x1, x2, x3)) = 4 + x1 + x2 + x3
app240_in_aaag(.(X294, T130)) → U3_aaag(X294, app240_in_aaag(T130))
app150_in_gga(.(T157, T160), T161) → U10_gga(T157, app150_in_gga(T160, T161))
U3_aaag(X294, app240_out_aaag(X295, T131, X296)) → app240_out_aaag(.(X294, X295), T131, X296)
U10_gga(T157, app150_out_gga(X349)) → app150_out_gga(.(T157, X349))
app240_in_aaag(x0)
app150_in_gga(x0, x1)
U3_aaag(x0, x1)
U10_gga(x0, x1)
APP125_IN_GGA(.(T83, T84), T85, .(T83, X200)) → APP125_IN_GGA(T84, T85, X200)
perm1_in_ga(.(X45, T20), .(T21, T22)) → U12_ga(X45, T20, T21, T22, app210_in_aaag(X46, T21, X47, T20))
app210_in_aaag(.(X98, X99), T40, X100, .(X98, T39)) → U1_aaag(X98, X99, T40, X100, T39, app210_in_aaag(X99, T40, X100, T39))
app210_in_aaag([], T45, X117, .(T45, X117)) → app210_out_aaag([], T45, X117, .(T45, X117))
U1_aaag(X98, X99, T40, X100, T39, app210_out_aaag(X99, T40, X100, T39)) → app210_out_aaag(.(X98, X99), T40, X100, .(X98, T39))
U12_ga(X45, T20, T21, T22, app210_out_aaag(X46, T21, X47, T20)) → perm1_out_ga(.(X45, T20), .(T21, T22))
perm1_in_ga(.(X45, T20), .(T21, T27)) → U13_ga(X45, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U13_ga(X45, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U14_ga(X45, T20, T21, T27, app120_in_ggga(X45, T25, T26, X9))
app120_in_ggga(X169, T66, T67, .(X169, X170)) → U11_ggga(X169, T66, T67, X170, app125_in_gga(T66, T67, X170))
app125_in_gga(.(T83, T84), T85, .(T83, X200)) → U2_gga(T83, T84, T85, X200, app125_in_gga(T84, T85, X200))
app125_in_gga([], T91, T91) → app125_out_gga([], T91, T91)
U2_gga(T83, T84, T85, X200, app125_out_gga(T84, T85, X200)) → app125_out_gga(.(T83, T84), T85, .(T83, X200))
U11_ggga(X169, T66, T67, X170, app125_out_gga(T66, T67, X170)) → app120_out_ggga(X169, T66, T67, .(X169, X170))
U14_ga(X45, T20, T21, T27, app120_out_ggga(X45, T25, T26, X9)) → perm1_out_ga(.(X45, T20), .(T21, T27))
perm1_in_ga(.(T48, T20), .(T21, T27)) → U15_ga(T48, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U15_ga(T48, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U16_ga(T48, T20, T21, T27, app120_in_ggga(T48, T25, T26, T49))
U16_ga(T48, T20, T21, T27, app120_out_ggga(T48, T25, T26, T49)) → U17_ga(T48, T20, T21, T27, perm21_in_ga(T49, T27))
perm21_in_ga(T110, .(T111, T112)) → U4_ga(T110, T111, T112, app240_in_aaag(X242, T111, X243, T110))
app240_in_aaag(.(X294, X295), T131, X296, .(X294, T130)) → U3_aaag(X294, X295, T131, X296, T130, app240_in_aaag(X295, T131, X296, T130))
app240_in_aaag([], T136, X313, .(T136, X313)) → app240_out_aaag([], T136, X313, .(T136, X313))
U3_aaag(X294, X295, T131, X296, T130, app240_out_aaag(X295, T131, X296, T130)) → app240_out_aaag(.(X294, X295), T131, X296, .(X294, T130))
U4_ga(T110, T111, T112, app240_out_aaag(X242, T111, X243, T110)) → perm21_out_ga(T110, .(T111, T112))
perm21_in_ga(T110, .(T111, T117)) → U5_ga(T110, T111, T117, app240_in_aaag(T115, T111, T116, T110))
U5_ga(T110, T111, T117, app240_out_aaag(T115, T111, T116, T110)) → U6_ga(T110, T111, T117, app150_in_gga(T115, T116, X244))
app150_in_gga(.(T157, T160), T161, .(T157, X349)) → U10_gga(T157, T160, T161, X349, app150_in_gga(T160, T161, X349))
app150_in_gga([], T167, T167) → app150_out_gga([], T167, T167)
U10_gga(T157, T160, T161, X349, app150_out_gga(T160, T161, X349)) → app150_out_gga(.(T157, T160), T161, .(T157, X349))
U6_ga(T110, T111, T117, app150_out_gga(T115, T116, X244)) → perm21_out_ga(T110, .(T111, T117))
perm21_in_ga(T110, .(T111, T141)) → U7_ga(T110, T111, T141, app240_in_aaag(T115, T111, T116, T110))
U7_ga(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → U8_ga(T110, T111, T141, app150_in_gga(T115, T116, T140))
U8_ga(T110, T111, T141, app150_out_gga(T115, T116, T140)) → U9_ga(T110, T111, T141, perm21_in_ga(T140, T141))
perm21_in_ga([], []) → perm21_out_ga([], [])
U9_ga(T110, T111, T141, perm21_out_ga(T140, T141)) → perm21_out_ga(T110, .(T111, T141))
U17_ga(T48, T20, T21, T27, perm21_out_ga(T49, T27)) → perm1_out_ga(.(T48, T20), .(T21, T27))
perm1_in_ga(.(T175, X378), .(T175, T176)) → U18_ga(T175, X378, T176, app167_in_ga(X378, X9))
app167_in_ga(X408, X408) → app167_out_ga(X408, X408)
U18_ga(T175, X378, T176, app167_out_ga(X378, X9)) → perm1_out_ga(.(T175, X378), .(T175, T176))
perm1_in_ga(.(T175, T179), .(T175, T176)) → U19_ga(T175, T179, T176, app167_in_ga(T179, T180))
U19_ga(T175, T179, T176, app167_out_ga(T179, T180)) → U20_ga(T175, T179, T176, perm21_in_ga(T180, T176))
U20_ga(T175, T179, T176, perm21_out_ga(T180, T176)) → perm1_out_ga(.(T175, T179), .(T175, T176))
perm1_in_ga([], []) → perm1_out_ga([], [])
APP125_IN_GGA(.(T83, T84), T85, .(T83, X200)) → APP125_IN_GGA(T84, T85, X200)
APP125_IN_GGA(.(T83, T84), T85) → APP125_IN_GGA(T84, T85)
From the DPs we obtained the following set of size-change graphs:
APP210_IN_AAAG(.(X98, X99), T40, X100, .(X98, T39)) → APP210_IN_AAAG(X99, T40, X100, T39)
perm1_in_ga(.(X45, T20), .(T21, T22)) → U12_ga(X45, T20, T21, T22, app210_in_aaag(X46, T21, X47, T20))
app210_in_aaag(.(X98, X99), T40, X100, .(X98, T39)) → U1_aaag(X98, X99, T40, X100, T39, app210_in_aaag(X99, T40, X100, T39))
app210_in_aaag([], T45, X117, .(T45, X117)) → app210_out_aaag([], T45, X117, .(T45, X117))
U1_aaag(X98, X99, T40, X100, T39, app210_out_aaag(X99, T40, X100, T39)) → app210_out_aaag(.(X98, X99), T40, X100, .(X98, T39))
U12_ga(X45, T20, T21, T22, app210_out_aaag(X46, T21, X47, T20)) → perm1_out_ga(.(X45, T20), .(T21, T22))
perm1_in_ga(.(X45, T20), .(T21, T27)) → U13_ga(X45, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U13_ga(X45, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U14_ga(X45, T20, T21, T27, app120_in_ggga(X45, T25, T26, X9))
app120_in_ggga(X169, T66, T67, .(X169, X170)) → U11_ggga(X169, T66, T67, X170, app125_in_gga(T66, T67, X170))
app125_in_gga(.(T83, T84), T85, .(T83, X200)) → U2_gga(T83, T84, T85, X200, app125_in_gga(T84, T85, X200))
app125_in_gga([], T91, T91) → app125_out_gga([], T91, T91)
U2_gga(T83, T84, T85, X200, app125_out_gga(T84, T85, X200)) → app125_out_gga(.(T83, T84), T85, .(T83, X200))
U11_ggga(X169, T66, T67, X170, app125_out_gga(T66, T67, X170)) → app120_out_ggga(X169, T66, T67, .(X169, X170))
U14_ga(X45, T20, T21, T27, app120_out_ggga(X45, T25, T26, X9)) → perm1_out_ga(.(X45, T20), .(T21, T27))
perm1_in_ga(.(T48, T20), .(T21, T27)) → U15_ga(T48, T20, T21, T27, app210_in_aaag(T25, T21, T26, T20))
U15_ga(T48, T20, T21, T27, app210_out_aaag(T25, T21, T26, T20)) → U16_ga(T48, T20, T21, T27, app120_in_ggga(T48, T25, T26, T49))
U16_ga(T48, T20, T21, T27, app120_out_ggga(T48, T25, T26, T49)) → U17_ga(T48, T20, T21, T27, perm21_in_ga(T49, T27))
perm21_in_ga(T110, .(T111, T112)) → U4_ga(T110, T111, T112, app240_in_aaag(X242, T111, X243, T110))
app240_in_aaag(.(X294, X295), T131, X296, .(X294, T130)) → U3_aaag(X294, X295, T131, X296, T130, app240_in_aaag(X295, T131, X296, T130))
app240_in_aaag([], T136, X313, .(T136, X313)) → app240_out_aaag([], T136, X313, .(T136, X313))
U3_aaag(X294, X295, T131, X296, T130, app240_out_aaag(X295, T131, X296, T130)) → app240_out_aaag(.(X294, X295), T131, X296, .(X294, T130))
U4_ga(T110, T111, T112, app240_out_aaag(X242, T111, X243, T110)) → perm21_out_ga(T110, .(T111, T112))
perm21_in_ga(T110, .(T111, T117)) → U5_ga(T110, T111, T117, app240_in_aaag(T115, T111, T116, T110))
U5_ga(T110, T111, T117, app240_out_aaag(T115, T111, T116, T110)) → U6_ga(T110, T111, T117, app150_in_gga(T115, T116, X244))
app150_in_gga(.(T157, T160), T161, .(T157, X349)) → U10_gga(T157, T160, T161, X349, app150_in_gga(T160, T161, X349))
app150_in_gga([], T167, T167) → app150_out_gga([], T167, T167)
U10_gga(T157, T160, T161, X349, app150_out_gga(T160, T161, X349)) → app150_out_gga(.(T157, T160), T161, .(T157, X349))
U6_ga(T110, T111, T117, app150_out_gga(T115, T116, X244)) → perm21_out_ga(T110, .(T111, T117))
perm21_in_ga(T110, .(T111, T141)) → U7_ga(T110, T111, T141, app240_in_aaag(T115, T111, T116, T110))
U7_ga(T110, T111, T141, app240_out_aaag(T115, T111, T116, T110)) → U8_ga(T110, T111, T141, app150_in_gga(T115, T116, T140))
U8_ga(T110, T111, T141, app150_out_gga(T115, T116, T140)) → U9_ga(T110, T111, T141, perm21_in_ga(T140, T141))
perm21_in_ga([], []) → perm21_out_ga([], [])
U9_ga(T110, T111, T141, perm21_out_ga(T140, T141)) → perm21_out_ga(T110, .(T111, T141))
U17_ga(T48, T20, T21, T27, perm21_out_ga(T49, T27)) → perm1_out_ga(.(T48, T20), .(T21, T27))
perm1_in_ga(.(T175, X378), .(T175, T176)) → U18_ga(T175, X378, T176, app167_in_ga(X378, X9))
app167_in_ga(X408, X408) → app167_out_ga(X408, X408)
U18_ga(T175, X378, T176, app167_out_ga(X378, X9)) → perm1_out_ga(.(T175, X378), .(T175, T176))
perm1_in_ga(.(T175, T179), .(T175, T176)) → U19_ga(T175, T179, T176, app167_in_ga(T179, T180))
U19_ga(T175, T179, T176, app167_out_ga(T179, T180)) → U20_ga(T175, T179, T176, perm21_in_ga(T180, T176))
U20_ga(T175, T179, T176, perm21_out_ga(T180, T176)) → perm1_out_ga(.(T175, T179), .(T175, T176))
perm1_in_ga([], []) → perm1_out_ga([], [])
APP210_IN_AAAG(.(X98, X99), T40, X100, .(X98, T39)) → APP210_IN_AAAG(X99, T40, X100, T39)
APP210_IN_AAAG(.(X98, T39)) → APP210_IN_AAAG(T39)
From the DPs we obtained the following set of size-change graphs: