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 NonTerminationProof (⇔)
↳29 NO
↳30 PiDP
↳31 UsableRulesProof (⇔)
↳32 PiDP
↳33 PiDPToQDPProof (⇐)
↳34 QDP
↳35 NonTerminationProof (⇔)
↳36 NO
↳37 PiDP
↳38 UsableRulesProof (⇔)
↳39 PiDP
↳40 PiDPToQDPProof (⇐)
↳41 QDP
↳42 QDPSizeChangeProof (⇔)
↳43 YES
↳44 PrologToPiTRSProof (⇐)
↳45 PiTRS
↳46 DependencyPairsProof (⇔)
↳47 PiDP
↳48 DependencyGraphProof (⇔)
↳49 AND
↳50 PiDP
↳51 UsableRulesProof (⇔)
↳52 PiDP
↳53 PiDPToQDPProof (⇔)
↳54 QDP
↳55 QDPSizeChangeProof (⇔)
↳56 YES
↳57 PiDP
↳58 UsableRulesProof (⇔)
↳59 PiDP
↳60 PiDPToQDPProof (⇔)
↳61 QDP
↳62 QDPSizeChangeProof (⇔)
↳63 YES
↳64 PiDP
↳65 UsableRulesProof (⇔)
↳66 PiDP
↳67 PiDPToQDPProof (⇐)
↳68 QDP
↳69 NonTerminationProof (⇔)
↳70 NO
↳71 PiDP
↳72 UsableRulesProof (⇔)
↳73 PiDP
↳74 PiDPToQDPProof (⇐)
↳75 QDP
↳76 NonTerminationProof (⇔)
↳77 NO
↳78 PiDP
↳79 UsableRulesProof (⇔)
↳80 PiDP
↳81 PiDPToQDPProof (⇐)
↳82 QDP
↳83 QDPSizeChangeProof (⇔)
↳84 YES
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
SS1_IN_AG(T17, .(T15, T16)) → U12_AG(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
SS1_IN_AG(T17, .(T15, T16)) → APP18_IN_AGAA(X23, T15, X24, T17)
APP18_IN_AGAA(.(X66, X67), T33, X68, .(X66, T35)) → U1_AGAA(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
APP18_IN_AGAA(.(X66, X67), T33, X68, .(X66, T35)) → APP18_IN_AGAA(X67, T33, X68, T35)
SS1_IN_AG(T17, .(T15, T16)) → U13_AG(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_AG(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_AG(T17, T15, T16, app28_in_aaa(T20, T21, X25))
U13_AG(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → APP28_IN_AAA(T20, T21, X25)
APP28_IN_AAA(.(T54, T57), T58, .(T54, X101)) → U2_AAA(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
APP28_IN_AAA(.(T54, T57), T58, .(T54, X101)) → APP28_IN_AAA(T57, T58, X101)
U13_AG(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_AG(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_AG(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_AG(T17, T15, T16, perm38_in_ag(T40, T16))
U15_AG(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → PERM38_IN_AG(T40, T16)
PERM38_IN_AG(T70, .(T68, T69)) → U3_AG(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
PERM38_IN_AG(T70, .(T68, T69)) → APP18_IN_AGAA(X120, T68, X121, T70)
PERM38_IN_AG(T70, .(T68, T69)) → U4_AG(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_AG(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → APP28_IN_AAA(T73, T74, X122)
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_AG(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_AG(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_AG(T70, T68, T69, perm38_in_ag(T79, T69))
U6_AG(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → PERM38_IN_AG(T79, T69)
U16_AG(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_AG(T17, T15, T16, ordered39_in_gg(T15, T16))
U16_AG(T17, T15, T16, perm38_out_ag(T40, T16)) → ORDERED39_IN_GG(T15, T16)
ORDERED39_IN_GG(T95, .(T96, T97)) → U8_GG(T95, T96, T97, less61_in_gg(T95, T96))
ORDERED39_IN_GG(T95, .(T96, T97)) → LESS61_IN_GG(T95, T96)
LESS61_IN_GG(s(T111), T112) → U11_GG(T111, T112, less69_in_gg(T111, T112))
LESS61_IN_GG(s(T111), T112) → LESS69_IN_GG(T111, T112)
LESS69_IN_GG(s(T124), s(T125)) → U10_GG(T124, T125, less69_in_gg(T124, T125))
LESS69_IN_GG(s(T124), s(T125)) → LESS69_IN_GG(T124, T125)
U8_GG(T95, T96, T97, less61_out_gg(T95, T96)) → U9_GG(T95, T96, T97, ordered39_in_gg(T96, T97))
U8_GG(T95, T96, T97, less61_out_gg(T95, T96)) → ORDERED39_IN_GG(T96, T97)
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
SS1_IN_AG(T17, .(T15, T16)) → U12_AG(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
SS1_IN_AG(T17, .(T15, T16)) → APP18_IN_AGAA(X23, T15, X24, T17)
APP18_IN_AGAA(.(X66, X67), T33, X68, .(X66, T35)) → U1_AGAA(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
APP18_IN_AGAA(.(X66, X67), T33, X68, .(X66, T35)) → APP18_IN_AGAA(X67, T33, X68, T35)
SS1_IN_AG(T17, .(T15, T16)) → U13_AG(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_AG(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_AG(T17, T15, T16, app28_in_aaa(T20, T21, X25))
U13_AG(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → APP28_IN_AAA(T20, T21, X25)
APP28_IN_AAA(.(T54, T57), T58, .(T54, X101)) → U2_AAA(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
APP28_IN_AAA(.(T54, T57), T58, .(T54, X101)) → APP28_IN_AAA(T57, T58, X101)
U13_AG(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_AG(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_AG(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_AG(T17, T15, T16, perm38_in_ag(T40, T16))
U15_AG(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → PERM38_IN_AG(T40, T16)
PERM38_IN_AG(T70, .(T68, T69)) → U3_AG(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
PERM38_IN_AG(T70, .(T68, T69)) → APP18_IN_AGAA(X120, T68, X121, T70)
PERM38_IN_AG(T70, .(T68, T69)) → U4_AG(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_AG(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → APP28_IN_AAA(T73, T74, X122)
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_AG(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_AG(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_AG(T70, T68, T69, perm38_in_ag(T79, T69))
U6_AG(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → PERM38_IN_AG(T79, T69)
U16_AG(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_AG(T17, T15, T16, ordered39_in_gg(T15, T16))
U16_AG(T17, T15, T16, perm38_out_ag(T40, T16)) → ORDERED39_IN_GG(T15, T16)
ORDERED39_IN_GG(T95, .(T96, T97)) → U8_GG(T95, T96, T97, less61_in_gg(T95, T96))
ORDERED39_IN_GG(T95, .(T96, T97)) → LESS61_IN_GG(T95, T96)
LESS61_IN_GG(s(T111), T112) → U11_GG(T111, T112, less69_in_gg(T111, T112))
LESS61_IN_GG(s(T111), T112) → LESS69_IN_GG(T111, T112)
LESS69_IN_GG(s(T124), s(T125)) → U10_GG(T124, T125, less69_in_gg(T124, T125))
LESS69_IN_GG(s(T124), s(T125)) → LESS69_IN_GG(T124, T125)
U8_GG(T95, T96, T97, less61_out_gg(T95, T96)) → U9_GG(T95, T96, T97, ordered39_in_gg(T96, T97))
U8_GG(T95, T96, T97, less61_out_gg(T95, T96)) → ORDERED39_IN_GG(T96, T97)
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
LESS69_IN_GG(s(T124), s(T125)) → LESS69_IN_GG(T124, T125)
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
LESS69_IN_GG(s(T124), s(T125)) → LESS69_IN_GG(T124, T125)
LESS69_IN_GG(s(T124), s(T125)) → LESS69_IN_GG(T124, T125)
From the DPs we obtained the following set of size-change graphs:
U8_GG(T95, T96, T97, less61_out_gg(T95, T96)) → ORDERED39_IN_GG(T96, T97)
ORDERED39_IN_GG(T95, .(T96, T97)) → U8_GG(T95, T96, T97, less61_in_gg(T95, T96))
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
U8_GG(T95, T96, T97, less61_out_gg(T95, T96)) → ORDERED39_IN_GG(T96, T97)
ORDERED39_IN_GG(T95, .(T96, T97)) → U8_GG(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U8_GG(T96, T97, less61_out_gg) → ORDERED39_IN_GG(T96, T97)
ORDERED39_IN_GG(T95, .(T96, T97)) → U8_GG(T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg
less61_in_gg(s(T111), T112) → U11_gg(less69_in_gg(T111, T112))
U11_gg(less69_out_gg) → less61_out_gg
less69_in_gg(0, s(T119)) → less69_out_gg
less69_in_gg(s(T124), s(T125)) → U10_gg(less69_in_gg(T124, T125))
U10_gg(less69_out_gg) → less69_out_gg
less61_in_gg(x0, x1)
U11_gg(x0)
less69_in_gg(x0, x1)
U10_gg(x0)
From the DPs we obtained the following set of size-change graphs:
APP28_IN_AAA(.(T54, T57), T58, .(T54, X101)) → APP28_IN_AAA(T57, T58, X101)
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
APP28_IN_AAA(.(T54, T57), T58, .(T54, X101)) → APP28_IN_AAA(T57, T58, X101)
APP28_IN_AAA → APP28_IN_AAA
APP18_IN_AGAA(.(X66, X67), T33, X68, .(X66, T35)) → APP18_IN_AGAA(X67, T33, X68, T35)
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
APP18_IN_AGAA(.(X66, X67), T33, X68, .(X66, T35)) → APP18_IN_AGAA(X67, T33, X68, T35)
APP18_IN_AGAA(T33) → APP18_IN_AGAA(T33)
PERM38_IN_AG(T70, .(T68, T69)) → U4_AG(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_AG(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_AG(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → PERM38_IN_AG(T79, T69)
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
PERM38_IN_AG(T70, .(T68, T69)) → U4_AG(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_AG(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_AG(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → PERM38_IN_AG(T79, T69)
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
PERM38_IN_AG(.(T68, T69)) → U4_AG(T69, app18_in_agaa(T68))
U4_AG(T69, app18_out_agaa) → U6_AG(T69, app28_in_aaa)
U6_AG(T69, app28_out_aaa) → PERM38_IN_AG(T69)
app18_in_agaa(T28) → app18_out_agaa
app18_in_agaa(T33) → U1_agaa(app18_in_agaa(T33))
app28_in_aaa → app28_out_aaa
app28_in_aaa → U2_aaa(app28_in_aaa)
U1_agaa(app18_out_agaa) → app18_out_agaa
U2_aaa(app28_out_aaa) → app28_out_aaa
app18_in_agaa(x0)
app28_in_aaa
U1_agaa(x0)
U2_aaa(x0)
From the DPs we obtained the following set of size-change graphs:
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
SS1_IN_AG(T17, .(T15, T16)) → U12_AG(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
SS1_IN_AG(T17, .(T15, T16)) → APP18_IN_AGAA(X23, T15, X24, T17)
APP18_IN_AGAA(.(X66, X67), T33, X68, .(X66, T35)) → U1_AGAA(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
APP18_IN_AGAA(.(X66, X67), T33, X68, .(X66, T35)) → APP18_IN_AGAA(X67, T33, X68, T35)
SS1_IN_AG(T17, .(T15, T16)) → U13_AG(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_AG(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_AG(T17, T15, T16, app28_in_aaa(T20, T21, X25))
U13_AG(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → APP28_IN_AAA(T20, T21, X25)
APP28_IN_AAA(.(T54, T57), T58, .(T54, X101)) → U2_AAA(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
APP28_IN_AAA(.(T54, T57), T58, .(T54, X101)) → APP28_IN_AAA(T57, T58, X101)
U13_AG(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_AG(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_AG(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_AG(T17, T15, T16, perm38_in_ag(T40, T16))
U15_AG(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → PERM38_IN_AG(T40, T16)
PERM38_IN_AG(T70, .(T68, T69)) → U3_AG(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
PERM38_IN_AG(T70, .(T68, T69)) → APP18_IN_AGAA(X120, T68, X121, T70)
PERM38_IN_AG(T70, .(T68, T69)) → U4_AG(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_AG(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → APP28_IN_AAA(T73, T74, X122)
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_AG(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_AG(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_AG(T70, T68, T69, perm38_in_ag(T79, T69))
U6_AG(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → PERM38_IN_AG(T79, T69)
U16_AG(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_AG(T17, T15, T16, ordered39_in_gg(T15, T16))
U16_AG(T17, T15, T16, perm38_out_ag(T40, T16)) → ORDERED39_IN_GG(T15, T16)
ORDERED39_IN_GG(T95, .(T96, T97)) → U8_GG(T95, T96, T97, less61_in_gg(T95, T96))
ORDERED39_IN_GG(T95, .(T96, T97)) → LESS61_IN_GG(T95, T96)
LESS61_IN_GG(s(T111), T112) → U11_GG(T111, T112, less69_in_gg(T111, T112))
LESS61_IN_GG(s(T111), T112) → LESS69_IN_GG(T111, T112)
LESS69_IN_GG(s(T124), s(T125)) → U10_GG(T124, T125, less69_in_gg(T124, T125))
LESS69_IN_GG(s(T124), s(T125)) → LESS69_IN_GG(T124, T125)
U8_GG(T95, T96, T97, less61_out_gg(T95, T96)) → U9_GG(T95, T96, T97, ordered39_in_gg(T96, T97))
U8_GG(T95, T96, T97, less61_out_gg(T95, T96)) → ORDERED39_IN_GG(T96, T97)
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
SS1_IN_AG(T17, .(T15, T16)) → U12_AG(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
SS1_IN_AG(T17, .(T15, T16)) → APP18_IN_AGAA(X23, T15, X24, T17)
APP18_IN_AGAA(.(X66, X67), T33, X68, .(X66, T35)) → U1_AGAA(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
APP18_IN_AGAA(.(X66, X67), T33, X68, .(X66, T35)) → APP18_IN_AGAA(X67, T33, X68, T35)
SS1_IN_AG(T17, .(T15, T16)) → U13_AG(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_AG(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_AG(T17, T15, T16, app28_in_aaa(T20, T21, X25))
U13_AG(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → APP28_IN_AAA(T20, T21, X25)
APP28_IN_AAA(.(T54, T57), T58, .(T54, X101)) → U2_AAA(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
APP28_IN_AAA(.(T54, T57), T58, .(T54, X101)) → APP28_IN_AAA(T57, T58, X101)
U13_AG(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_AG(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_AG(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_AG(T17, T15, T16, perm38_in_ag(T40, T16))
U15_AG(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → PERM38_IN_AG(T40, T16)
PERM38_IN_AG(T70, .(T68, T69)) → U3_AG(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
PERM38_IN_AG(T70, .(T68, T69)) → APP18_IN_AGAA(X120, T68, X121, T70)
PERM38_IN_AG(T70, .(T68, T69)) → U4_AG(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_AG(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → APP28_IN_AAA(T73, T74, X122)
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_AG(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_AG(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_AG(T70, T68, T69, perm38_in_ag(T79, T69))
U6_AG(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → PERM38_IN_AG(T79, T69)
U16_AG(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_AG(T17, T15, T16, ordered39_in_gg(T15, T16))
U16_AG(T17, T15, T16, perm38_out_ag(T40, T16)) → ORDERED39_IN_GG(T15, T16)
ORDERED39_IN_GG(T95, .(T96, T97)) → U8_GG(T95, T96, T97, less61_in_gg(T95, T96))
ORDERED39_IN_GG(T95, .(T96, T97)) → LESS61_IN_GG(T95, T96)
LESS61_IN_GG(s(T111), T112) → U11_GG(T111, T112, less69_in_gg(T111, T112))
LESS61_IN_GG(s(T111), T112) → LESS69_IN_GG(T111, T112)
LESS69_IN_GG(s(T124), s(T125)) → U10_GG(T124, T125, less69_in_gg(T124, T125))
LESS69_IN_GG(s(T124), s(T125)) → LESS69_IN_GG(T124, T125)
U8_GG(T95, T96, T97, less61_out_gg(T95, T96)) → U9_GG(T95, T96, T97, ordered39_in_gg(T96, T97))
U8_GG(T95, T96, T97, less61_out_gg(T95, T96)) → ORDERED39_IN_GG(T96, T97)
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
LESS69_IN_GG(s(T124), s(T125)) → LESS69_IN_GG(T124, T125)
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
LESS69_IN_GG(s(T124), s(T125)) → LESS69_IN_GG(T124, T125)
LESS69_IN_GG(s(T124), s(T125)) → LESS69_IN_GG(T124, T125)
From the DPs we obtained the following set of size-change graphs:
U8_GG(T95, T96, T97, less61_out_gg(T95, T96)) → ORDERED39_IN_GG(T96, T97)
ORDERED39_IN_GG(T95, .(T96, T97)) → U8_GG(T95, T96, T97, less61_in_gg(T95, T96))
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
U8_GG(T95, T96, T97, less61_out_gg(T95, T96)) → ORDERED39_IN_GG(T96, T97)
ORDERED39_IN_GG(T95, .(T96, T97)) → U8_GG(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U8_GG(T95, T96, T97, less61_out_gg(T95, T96)) → ORDERED39_IN_GG(T96, T97)
ORDERED39_IN_GG(T95, .(T96, T97)) → U8_GG(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
less61_in_gg(x0, x1)
U11_gg(x0, x1, x2)
less69_in_gg(x0, x1)
U10_gg(x0, x1, x2)
From the DPs we obtained the following set of size-change graphs:
APP28_IN_AAA(.(T54, T57), T58, .(T54, X101)) → APP28_IN_AAA(T57, T58, X101)
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
APP28_IN_AAA(.(T54, T57), T58, .(T54, X101)) → APP28_IN_AAA(T57, T58, X101)
APP28_IN_AAA → APP28_IN_AAA
APP18_IN_AGAA(.(X66, X67), T33, X68, .(X66, T35)) → APP18_IN_AGAA(X67, T33, X68, T35)
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
APP18_IN_AGAA(.(X66, X67), T33, X68, .(X66, T35)) → APP18_IN_AGAA(X67, T33, X68, T35)
APP18_IN_AGAA(T33) → APP18_IN_AGAA(T33)
PERM38_IN_AG(T70, .(T68, T69)) → U4_AG(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_AG(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_AG(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → PERM38_IN_AG(T79, T69)
ss1_in_ag([], []) → ss1_out_ag([], [])
ss1_in_ag(T17, .(T15, T16)) → U12_ag(T17, T15, T16, app18_in_agaa(X23, T15, X24, T17))
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U12_ag(T17, T15, T16, app18_out_agaa(X23, T15, X24, T17)) → ss1_out_ag(T17, .(T15, T16))
ss1_in_ag(T17, .(T15, T16)) → U13_ag(T17, T15, T16, app18_in_agaa(T20, T15, T21, T17))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U14_ag(T17, T15, T16, app28_in_aaa(T20, T21, X25))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
U14_ag(T17, T15, T16, app28_out_aaa(T20, T21, X25)) → ss1_out_ag(T17, .(T15, T16))
U13_ag(T17, T15, T16, app18_out_agaa(T20, T15, T21, T17)) → U15_ag(T17, T15, T16, app28_in_aaa(T20, T21, T40))
U15_ag(T17, T15, T16, app28_out_aaa(T20, T21, T40)) → U16_ag(T17, T15, T16, perm38_in_ag(T40, T16))
perm38_in_ag([], []) → perm38_out_ag([], [])
perm38_in_ag(T70, .(T68, T69)) → U3_ag(T70, T68, T69, app18_in_agaa(X120, T68, X121, T70))
U3_ag(T70, T68, T69, app18_out_agaa(X120, T68, X121, T70)) → perm38_out_ag(T70, .(T68, T69))
perm38_in_ag(T70, .(T68, T69)) → U4_ag(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U5_ag(T70, T68, T69, app28_in_aaa(T73, T74, X122))
U5_ag(T70, T68, T69, app28_out_aaa(T73, T74, X122)) → perm38_out_ag(T70, .(T68, T69))
U4_ag(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_ag(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_ag(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → U7_ag(T70, T68, T69, perm38_in_ag(T79, T69))
U7_ag(T70, T68, T69, perm38_out_ag(T79, T69)) → perm38_out_ag(T70, .(T68, T69))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → ss1_out_ag(T17, .(T15, T16))
U16_ag(T17, T15, T16, perm38_out_ag(T40, T16)) → U17_ag(T17, T15, T16, ordered39_in_gg(T15, T16))
ordered39_in_gg(T88, []) → ordered39_out_gg(T88, [])
ordered39_in_gg(T95, .(T96, T97)) → U8_gg(T95, T96, T97, less61_in_gg(T95, T96))
less61_in_gg(0, T106) → less61_out_gg(0, T106)
less61_in_gg(s(T111), T112) → U11_gg(T111, T112, less69_in_gg(T111, T112))
less69_in_gg(0, s(T119)) → less69_out_gg(0, s(T119))
less69_in_gg(s(T124), s(T125)) → U10_gg(T124, T125, less69_in_gg(T124, T125))
U10_gg(T124, T125, less69_out_gg(T124, T125)) → less69_out_gg(s(T124), s(T125))
U11_gg(T111, T112, less69_out_gg(T111, T112)) → less61_out_gg(s(T111), T112)
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → ordered39_out_gg(T95, .(T96, T97))
U8_gg(T95, T96, T97, less61_out_gg(T95, T96)) → U9_gg(T95, T96, T97, ordered39_in_gg(T96, T97))
U9_gg(T95, T96, T97, ordered39_out_gg(T96, T97)) → ordered39_out_gg(T95, .(T96, T97))
U17_ag(T17, T15, T16, ordered39_out_gg(T15, T16)) → ss1_out_ag(T17, .(T15, T16))
PERM38_IN_AG(T70, .(T68, T69)) → U4_AG(T70, T68, T69, app18_in_agaa(T73, T68, T74, T70))
U4_AG(T70, T68, T69, app18_out_agaa(T73, T68, T74, T70)) → U6_AG(T70, T68, T69, app28_in_aaa(T73, T74, T79))
U6_AG(T70, T68, T69, app28_out_aaa(T73, T74, T79)) → PERM38_IN_AG(T79, T69)
app18_in_agaa([], T28, X46, .(T28, X46)) → app18_out_agaa([], T28, X46, .(T28, X46))
app18_in_agaa(.(X66, X67), T33, X68, .(X66, T35)) → U1_agaa(X66, X67, T33, X68, T35, app18_in_agaa(X67, T33, X68, T35))
app28_in_aaa([], T47, T47) → app28_out_aaa([], T47, T47)
app28_in_aaa(.(T54, T57), T58, .(T54, X101)) → U2_aaa(T54, T57, T58, X101, app28_in_aaa(T57, T58, X101))
U1_agaa(X66, X67, T33, X68, T35, app18_out_agaa(X67, T33, X68, T35)) → app18_out_agaa(.(X66, X67), T33, X68, .(X66, T35))
U2_aaa(T54, T57, T58, X101, app28_out_aaa(T57, T58, X101)) → app28_out_aaa(.(T54, T57), T58, .(T54, X101))
PERM38_IN_AG(.(T68, T69)) → U4_AG(T68, T69, app18_in_agaa(T68))
U4_AG(T68, T69, app18_out_agaa(T68)) → U6_AG(T68, T69, app28_in_aaa)
U6_AG(T68, T69, app28_out_aaa) → PERM38_IN_AG(T69)
app18_in_agaa(T28) → app18_out_agaa(T28)
app18_in_agaa(T33) → U1_agaa(T33, app18_in_agaa(T33))
app28_in_aaa → app28_out_aaa
app28_in_aaa → U2_aaa(app28_in_aaa)
U1_agaa(T33, app18_out_agaa(T33)) → app18_out_agaa(T33)
U2_aaa(app28_out_aaa) → app28_out_aaa
app18_in_agaa(x0)
app28_in_aaa
U1_agaa(x0, x1)
U2_aaa(x0)
From the DPs we obtained the following set of size-change graphs: