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 NonTerminationProof (⇔)
↳22 NO
↳23 PiDP
↳24 UsableRulesProof (⇔)
↳25 PiDP
↳26 PiDPToQDPProof (⇐)
↳27 QDP
↳28 QDPSizeChangeProof (⇔)
↳29 YES
↳30 PrologToPiTRSProof (⇐)
↳31 PiTRS
↳32 DependencyPairsProof (⇔)
↳33 PiDP
↳34 DependencyGraphProof (⇔)
↳35 AND
↳36 PiDP
↳37 UsableRulesProof (⇔)
↳38 PiDP
↳39 PiDPToQDPProof (⇐)
↳40 QDP
↳41 QDPSizeChangeProof (⇔)
↳42 YES
↳43 PiDP
↳44 UsableRulesProof (⇔)
↳45 PiDP
↳46 PiDPToQDPProof (⇐)
↳47 QDP
↳48 NonTerminationProof (⇔)
↳49 NO
↳50 PiDP
↳51 UsableRulesProof (⇔)
↳52 PiDP
↳53 PiDPToQDPProof (⇐)
↳54 QDP
↳55 QDPSizeChangeProof (⇔)
↳56 YES
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
PERM1_IN_AG(.(T15, X25), .(T15, T9)) → U4_AG(T15, X25, T9, app14_in_aa(X25, X12))
PERM1_IN_AG(.(T15, X25), .(T15, T9)) → APP14_IN_AA(X25, X12)
PERM1_IN_AG(.(T15, T16), .(T15, T9)) → U5_AG(T15, T16, T9, app14_in_aa(T16, T17))
U5_AG(T15, T16, T9, app14_out_aa(T16, T17)) → U6_AG(T15, T16, T9, perm1_in_ag(T17, T9))
U5_AG(T15, T16, T9, app14_out_aa(T16, T17)) → PERM1_IN_AG(T17, T9)
PERM1_IN_AG(.(X63, T24), .(T22, T9)) → U7_AG(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
PERM1_IN_AG(.(X63, T24), .(T22, T9)) → APP24_IN_AAAA(X64, T22, X65, T24)
APP24_IN_AAAA(.(X107, X108), T40, X109, .(X107, T42)) → U1_AAAA(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
APP24_IN_AAAA(.(X107, X108), T40, X109, .(X107, T42)) → APP24_IN_AAAA(X108, T40, X109, T42)
PERM1_IN_AG(.(X63, T24), .(T22, T9)) → U8_AG(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_AG(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_AG(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
U8_AG(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → APP34_IN_AGAA(X63, T27, T28, X12)
APP34_IN_AGAA(X153, T61, T62, .(X153, X154)) → U3_AGAA(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
APP34_IN_AGAA(X153, T61, T62, .(X153, X154)) → APP38_IN_GAA(T61, T62, X154)
APP38_IN_GAA(.(T76, T79), T80, .(T76, X177)) → U2_GAA(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
APP38_IN_GAA(.(T76, T79), T80, .(T76, X177)) → APP38_IN_GAA(T79, T80, X177)
PERM1_IN_AG(.(T47, T24), .(T22, T9)) → U10_AG(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_AG(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_AG(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U10_AG(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → APP34_IN_AGAA(T47, T27, T28, T48)
U11_AG(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_AG(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U11_AG(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → PERM1_IN_AG(T48, T9)
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
PERM1_IN_AG(.(T15, X25), .(T15, T9)) → U4_AG(T15, X25, T9, app14_in_aa(X25, X12))
PERM1_IN_AG(.(T15, X25), .(T15, T9)) → APP14_IN_AA(X25, X12)
PERM1_IN_AG(.(T15, T16), .(T15, T9)) → U5_AG(T15, T16, T9, app14_in_aa(T16, T17))
U5_AG(T15, T16, T9, app14_out_aa(T16, T17)) → U6_AG(T15, T16, T9, perm1_in_ag(T17, T9))
U5_AG(T15, T16, T9, app14_out_aa(T16, T17)) → PERM1_IN_AG(T17, T9)
PERM1_IN_AG(.(X63, T24), .(T22, T9)) → U7_AG(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
PERM1_IN_AG(.(X63, T24), .(T22, T9)) → APP24_IN_AAAA(X64, T22, X65, T24)
APP24_IN_AAAA(.(X107, X108), T40, X109, .(X107, T42)) → U1_AAAA(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
APP24_IN_AAAA(.(X107, X108), T40, X109, .(X107, T42)) → APP24_IN_AAAA(X108, T40, X109, T42)
PERM1_IN_AG(.(X63, T24), .(T22, T9)) → U8_AG(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_AG(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_AG(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
U8_AG(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → APP34_IN_AGAA(X63, T27, T28, X12)
APP34_IN_AGAA(X153, T61, T62, .(X153, X154)) → U3_AGAA(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
APP34_IN_AGAA(X153, T61, T62, .(X153, X154)) → APP38_IN_GAA(T61, T62, X154)
APP38_IN_GAA(.(T76, T79), T80, .(T76, X177)) → U2_GAA(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
APP38_IN_GAA(.(T76, T79), T80, .(T76, X177)) → APP38_IN_GAA(T79, T80, X177)
PERM1_IN_AG(.(T47, T24), .(T22, T9)) → U10_AG(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_AG(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_AG(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U10_AG(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → APP34_IN_AGAA(T47, T27, T28, T48)
U11_AG(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_AG(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U11_AG(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → PERM1_IN_AG(T48, T9)
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
APP38_IN_GAA(.(T76, T79), T80, .(T76, X177)) → APP38_IN_GAA(T79, T80, X177)
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
APP38_IN_GAA(.(T76, T79), T80, .(T76, X177)) → APP38_IN_GAA(T79, T80, X177)
APP38_IN_GAA(.(T79)) → APP38_IN_GAA(T79)
From the DPs we obtained the following set of size-change graphs:
APP24_IN_AAAA(.(X107, X108), T40, X109, .(X107, T42)) → APP24_IN_AAAA(X108, T40, X109, T42)
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
APP24_IN_AAAA(.(X107, X108), T40, X109, .(X107, T42)) → APP24_IN_AAAA(X108, T40, X109, T42)
APP24_IN_AAAA → APP24_IN_AAAA
PERM1_IN_AG(.(T15, T16), .(T15, T9)) → U5_AG(T15, T16, T9, app14_in_aa(T16, T17))
U5_AG(T15, T16, T9, app14_out_aa(T16, T17)) → PERM1_IN_AG(T17, T9)
PERM1_IN_AG(.(T47, T24), .(T22, T9)) → U10_AG(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_AG(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_AG(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_AG(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → PERM1_IN_AG(T48, T9)
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
PERM1_IN_AG(.(T15, T16), .(T15, T9)) → U5_AG(T15, T16, T9, app14_in_aa(T16, T17))
U5_AG(T15, T16, T9, app14_out_aa(T16, T17)) → PERM1_IN_AG(T17, T9)
PERM1_IN_AG(.(T47, T24), .(T22, T9)) → U10_AG(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_AG(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_AG(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_AG(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → PERM1_IN_AG(T48, T9)
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
PERM1_IN_AG(.(T9)) → U5_AG(T9, app14_in_aa)
U5_AG(T9, app14_out_aa) → PERM1_IN_AG(T9)
PERM1_IN_AG(.(T9)) → U10_AG(T9, app24_in_aaaa)
U10_AG(T9, app24_out_aaaa(T27)) → U11_AG(T9, app34_in_agaa(T27))
U11_AG(T9, app34_out_agaa) → PERM1_IN_AG(T9)
app14_in_aa → app14_out_aa
app24_in_aaaa → app24_out_aaaa([])
app24_in_aaaa → U1_aaaa(app24_in_aaaa)
app34_in_agaa(T61) → U3_agaa(app38_in_gaa(T61))
U1_aaaa(app24_out_aaaa(X108)) → app24_out_aaaa(.(X108))
U3_agaa(app38_out_gaa) → app34_out_agaa
app38_in_gaa([]) → app38_out_gaa
app38_in_gaa(.(T79)) → U2_gaa(app38_in_gaa(T79))
U2_gaa(app38_out_gaa) → app38_out_gaa
app14_in_aa
app24_in_aaaa
app34_in_agaa(x0)
U1_aaaa(x0)
U3_agaa(x0)
app38_in_gaa(x0)
U2_gaa(x0)
From the DPs we obtained the following set of size-change graphs:
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
PERM1_IN_AG(.(T15, X25), .(T15, T9)) → U4_AG(T15, X25, T9, app14_in_aa(X25, X12))
PERM1_IN_AG(.(T15, X25), .(T15, T9)) → APP14_IN_AA(X25, X12)
PERM1_IN_AG(.(T15, T16), .(T15, T9)) → U5_AG(T15, T16, T9, app14_in_aa(T16, T17))
U5_AG(T15, T16, T9, app14_out_aa(T16, T17)) → U6_AG(T15, T16, T9, perm1_in_ag(T17, T9))
U5_AG(T15, T16, T9, app14_out_aa(T16, T17)) → PERM1_IN_AG(T17, T9)
PERM1_IN_AG(.(X63, T24), .(T22, T9)) → U7_AG(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
PERM1_IN_AG(.(X63, T24), .(T22, T9)) → APP24_IN_AAAA(X64, T22, X65, T24)
APP24_IN_AAAA(.(X107, X108), T40, X109, .(X107, T42)) → U1_AAAA(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
APP24_IN_AAAA(.(X107, X108), T40, X109, .(X107, T42)) → APP24_IN_AAAA(X108, T40, X109, T42)
PERM1_IN_AG(.(X63, T24), .(T22, T9)) → U8_AG(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_AG(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_AG(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
U8_AG(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → APP34_IN_AGAA(X63, T27, T28, X12)
APP34_IN_AGAA(X153, T61, T62, .(X153, X154)) → U3_AGAA(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
APP34_IN_AGAA(X153, T61, T62, .(X153, X154)) → APP38_IN_GAA(T61, T62, X154)
APP38_IN_GAA(.(T76, T79), T80, .(T76, X177)) → U2_GAA(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
APP38_IN_GAA(.(T76, T79), T80, .(T76, X177)) → APP38_IN_GAA(T79, T80, X177)
PERM1_IN_AG(.(T47, T24), .(T22, T9)) → U10_AG(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_AG(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_AG(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U10_AG(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → APP34_IN_AGAA(T47, T27, T28, T48)
U11_AG(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_AG(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U11_AG(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → PERM1_IN_AG(T48, T9)
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
PERM1_IN_AG(.(T15, X25), .(T15, T9)) → U4_AG(T15, X25, T9, app14_in_aa(X25, X12))
PERM1_IN_AG(.(T15, X25), .(T15, T9)) → APP14_IN_AA(X25, X12)
PERM1_IN_AG(.(T15, T16), .(T15, T9)) → U5_AG(T15, T16, T9, app14_in_aa(T16, T17))
U5_AG(T15, T16, T9, app14_out_aa(T16, T17)) → U6_AG(T15, T16, T9, perm1_in_ag(T17, T9))
U5_AG(T15, T16, T9, app14_out_aa(T16, T17)) → PERM1_IN_AG(T17, T9)
PERM1_IN_AG(.(X63, T24), .(T22, T9)) → U7_AG(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
PERM1_IN_AG(.(X63, T24), .(T22, T9)) → APP24_IN_AAAA(X64, T22, X65, T24)
APP24_IN_AAAA(.(X107, X108), T40, X109, .(X107, T42)) → U1_AAAA(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
APP24_IN_AAAA(.(X107, X108), T40, X109, .(X107, T42)) → APP24_IN_AAAA(X108, T40, X109, T42)
PERM1_IN_AG(.(X63, T24), .(T22, T9)) → U8_AG(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_AG(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_AG(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
U8_AG(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → APP34_IN_AGAA(X63, T27, T28, X12)
APP34_IN_AGAA(X153, T61, T62, .(X153, X154)) → U3_AGAA(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
APP34_IN_AGAA(X153, T61, T62, .(X153, X154)) → APP38_IN_GAA(T61, T62, X154)
APP38_IN_GAA(.(T76, T79), T80, .(T76, X177)) → U2_GAA(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
APP38_IN_GAA(.(T76, T79), T80, .(T76, X177)) → APP38_IN_GAA(T79, T80, X177)
PERM1_IN_AG(.(T47, T24), .(T22, T9)) → U10_AG(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_AG(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_AG(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U10_AG(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → APP34_IN_AGAA(T47, T27, T28, T48)
U11_AG(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_AG(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U11_AG(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → PERM1_IN_AG(T48, T9)
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
APP38_IN_GAA(.(T76, T79), T80, .(T76, X177)) → APP38_IN_GAA(T79, T80, X177)
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
APP38_IN_GAA(.(T76, T79), T80, .(T76, X177)) → APP38_IN_GAA(T79, T80, X177)
APP38_IN_GAA(.(T79)) → APP38_IN_GAA(T79)
From the DPs we obtained the following set of size-change graphs:
APP24_IN_AAAA(.(X107, X108), T40, X109, .(X107, T42)) → APP24_IN_AAAA(X108, T40, X109, T42)
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
APP24_IN_AAAA(.(X107, X108), T40, X109, .(X107, T42)) → APP24_IN_AAAA(X108, T40, X109, T42)
APP24_IN_AAAA → APP24_IN_AAAA
PERM1_IN_AG(.(T15, T16), .(T15, T9)) → U5_AG(T15, T16, T9, app14_in_aa(T16, T17))
U5_AG(T15, T16, T9, app14_out_aa(T16, T17)) → PERM1_IN_AG(T17, T9)
PERM1_IN_AG(.(T47, T24), .(T22, T9)) → U10_AG(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_AG(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_AG(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_AG(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → PERM1_IN_AG(T48, T9)
perm1_in_ag([], []) → perm1_out_ag([], [])
perm1_in_ag(.(T15, X25), .(T15, T9)) → U4_ag(T15, X25, T9, app14_in_aa(X25, X12))
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
U4_ag(T15, X25, T9, app14_out_aa(X25, X12)) → perm1_out_ag(.(T15, X25), .(T15, T9))
perm1_in_ag(.(T15, T16), .(T15, T9)) → U5_ag(T15, T16, T9, app14_in_aa(T16, T17))
U5_ag(T15, T16, T9, app14_out_aa(T16, T17)) → U6_ag(T15, T16, T9, perm1_in_ag(T17, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U7_ag(X63, T24, T22, T9, app24_in_aaaa(X64, T22, X65, T24))
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U7_ag(X63, T24, T22, T9, app24_out_aaaa(X64, T22, X65, T24)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(X63, T24), .(T22, T9)) → U8_ag(X63, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U8_ag(X63, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U9_ag(X63, T24, T22, T9, app34_in_agaa(X63, T27, T28, X12))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
U9_ag(X63, T24, T22, T9, app34_out_agaa(X63, T27, T28, X12)) → perm1_out_ag(.(X63, T24), .(T22, T9))
perm1_in_ag(.(T47, T24), .(T22, T9)) → U10_ag(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_ag(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_ag(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_ag(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → U12_ag(T47, T24, T22, T9, perm1_in_ag(T48, T9))
U12_ag(T47, T24, T22, T9, perm1_out_ag(T48, T9)) → perm1_out_ag(.(T47, T24), .(T22, T9))
U6_ag(T15, T16, T9, perm1_out_ag(T17, T9)) → perm1_out_ag(.(T15, T16), .(T15, T9))
PERM1_IN_AG(.(T15, T16), .(T15, T9)) → U5_AG(T15, T16, T9, app14_in_aa(T16, T17))
U5_AG(T15, T16, T9, app14_out_aa(T16, T17)) → PERM1_IN_AG(T17, T9)
PERM1_IN_AG(.(T47, T24), .(T22, T9)) → U10_AG(T47, T24, T22, T9, app24_in_aaaa(T27, T22, T28, T24))
U10_AG(T47, T24, T22, T9, app24_out_aaaa(T27, T22, T28, T24)) → U11_AG(T47, T24, T22, T9, app34_in_agaa(T47, T27, T28, T48))
U11_AG(T47, T24, T22, T9, app34_out_agaa(T47, T27, T28, T48)) → PERM1_IN_AG(T48, T9)
app14_in_aa(X40, X40) → app14_out_aa(X40, X40)
app24_in_aaaa([], T35, X87, .(T35, X87)) → app24_out_aaaa([], T35, X87, .(T35, X87))
app24_in_aaaa(.(X107, X108), T40, X109, .(X107, T42)) → U1_aaaa(X107, X108, T40, X109, T42, app24_in_aaaa(X108, T40, X109, T42))
app34_in_agaa(X153, T61, T62, .(X153, X154)) → U3_agaa(X153, T61, T62, X154, app38_in_gaa(T61, T62, X154))
U1_aaaa(X107, X108, T40, X109, T42, app24_out_aaaa(X108, T40, X109, T42)) → app24_out_aaaa(.(X107, X108), T40, X109, .(X107, T42))
U3_agaa(X153, T61, T62, X154, app38_out_gaa(T61, T62, X154)) → app34_out_agaa(X153, T61, T62, .(X153, X154))
app38_in_gaa([], T69, T69) → app38_out_gaa([], T69, T69)
app38_in_gaa(.(T76, T79), T80, .(T76, X177)) → U2_gaa(T76, T79, T80, X177, app38_in_gaa(T79, T80, X177))
U2_gaa(T76, T79, T80, X177, app38_out_gaa(T79, T80, X177)) → app38_out_gaa(.(T76, T79), T80, .(T76, X177))
PERM1_IN_AG(.(T9)) → U5_AG(T9, app14_in_aa)
U5_AG(T9, app14_out_aa) → PERM1_IN_AG(T9)
PERM1_IN_AG(.(T9)) → U10_AG(T9, app24_in_aaaa)
U10_AG(T9, app24_out_aaaa(T27)) → U11_AG(T9, app34_in_agaa(T27))
U11_AG(T9, app34_out_agaa(T27)) → PERM1_IN_AG(T9)
app14_in_aa → app14_out_aa
app24_in_aaaa → app24_out_aaaa([])
app24_in_aaaa → U1_aaaa(app24_in_aaaa)
app34_in_agaa(T61) → U3_agaa(T61, app38_in_gaa(T61))
U1_aaaa(app24_out_aaaa(X108)) → app24_out_aaaa(.(X108))
U3_agaa(T61, app38_out_gaa(T61)) → app34_out_agaa(T61)
app38_in_gaa([]) → app38_out_gaa([])
app38_in_gaa(.(T79)) → U2_gaa(T79, app38_in_gaa(T79))
U2_gaa(T79, app38_out_gaa(T79)) → app38_out_gaa(.(T79))
app14_in_aa
app24_in_aaaa
app34_in_agaa(x0)
U1_aaaa(x0)
U3_agaa(x0, x1)
app38_in_gaa(x0)
U2_gaa(x0, x1)
From the DPs we obtained the following set of size-change graphs: