0 Prolog
↳1 PrologToPiTRSViaGraphTransformerProof (⇒, 217 ms)
↳2 PiTRS
↳3 DependencyPairsProof (⇔, 278 ms)
↳4 PiDP
↳5 DependencyGraphProof (⇔, 13 ms)
↳6 AND
↳7 PiDP
↳8 UsableRulesProof (⇔, 0 ms)
↳9 PiDP
↳10 PiDPToQDPProof (⇔, 4 ms)
↳11 QDP
↳12 QDPSizeChangeProof (⇔, 0 ms)
↳13 YES
↳14 PiDP
↳15 UsableRulesProof (⇔, 0 ms)
↳16 PiDP
↳17 PiDPToQDPProof (⇔, 0 ms)
↳18 QDP
↳19 QDPSizeChangeProof (⇔, 0 ms)
↳20 YES
↳21 PiDP
↳22 UsableRulesProof (⇔, 0 ms)
↳23 PiDP
↳24 PiDPToQDPProof (⇒, 0 ms)
↳25 QDP
↳26 QDPSizeChangeProof (⇔, 0 ms)
↳27 YES
↳28 PiDP
↳29 UsableRulesProof (⇔, 0 ms)
↳30 PiDP
↳31 PiDPToQDPProof (⇒, 0 ms)
↳32 QDP
↳33 QDPSizeChangeProof (⇔, 0 ms)
↳34 YES
↳35 PiDP
↳36 UsableRulesProof (⇔, 0 ms)
↳37 PiDP
↳38 PiDPToQDPProof (⇒, 0 ms)
↳39 QDP
↳40 QDPOrderProof (⇔, 103 ms)
↳41 QDP
↳42 DependencyGraphProof (⇔, 0 ms)
↳43 TRUE
ssA_in_ga([], []) → ssA_out_ga([], [])
ssA_in_ga(T14, .(T17, T18)) → U1_ga(T14, T17, T18, pB_in_aaagaa(X23, T17, X24, T14, X25, T18))
pB_in_aaagaa(T23, T26, T24, T14, X25, T25) → U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_in_aaag(T23, T26, T24, T14))
appC_in_aaag([], T39, T40, .(T39, T40)) → appC_out_aaag([], T39, T40, .(T39, T40))
appC_in_aaag(.(T48, X63), T50, X64, .(T48, T49)) → U2_aaag(T48, X63, T50, X64, T49, appC_in_aaag(X63, T50, X64, T49))
U2_aaag(T48, X63, T50, X64, T49, appC_out_aaag(X63, T50, X64, T49)) → appC_out_aaag(.(T48, X63), T50, X64, .(T48, T49))
U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_out_aaag(T23, T26, T24, T14)) → U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_in_ggaag(T23, T24, X25, T25, T26))
pK_in_ggaag(T23, T24, T57, T25, T26) → U10_ggaag(T23, T24, T57, T25, T26, appD_in_gga(T23, T24, T57))
appD_in_gga([], T64, T64) → appD_out_gga([], T64, T64)
appD_in_gga(.(T71, T72), T73, .(T71, X92)) → U3_gga(T71, T72, T73, X92, appD_in_gga(T72, T73, X92))
U3_gga(T71, T72, T73, X92, appD_out_gga(T72, T73, X92)) → appD_out_gga(.(T71, T72), T73, .(T71, X92))
U10_ggaag(T23, T24, T57, T25, T26, appD_out_gga(T23, T24, T57)) → U11_ggaag(T23, T24, T57, T25, T26, pL_in_gag(T57, T25, T26))
pL_in_gag(T57, T76, T26) → U12_gag(T57, T76, T26, permE_in_ga(T57, T76))
permE_in_ga([], []) → permE_out_ga([], [])
permE_in_ga(T83, .(T86, T87)) → U4_ga(T83, T86, T87, pF_in_aaagaa(X107, T86, X108, T83, X109, T87))
pF_in_aaagaa(T92, T86, T93, T83, X109, T94) → U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_in_aaag(T92, T86, T93, T83))
U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_in_ggaa(T92, T93, X109, T94))
pM_in_ggaa(T92, T93, T101, T94) → U16_ggaa(T92, T93, T101, T94, appD_in_gga(T92, T93, T101))
U16_ggaa(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → U17_ggaa(T92, T93, T101, T94, permE_in_ga(T101, T94))
U17_ggaa(T92, T93, T101, T94, permE_out_ga(T101, T94)) → pM_out_ggaa(T92, T93, T101, T94)
U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_out_ggaa(T92, T93, X109, T94)) → pF_out_aaagaa(T92, T86, T93, T83, X109, T94)
U4_ga(T83, T86, T87, pF_out_aaagaa(X107, T86, X108, T83, X109, T87)) → permE_out_ga(T83, .(T86, T87))
U12_gag(T57, T76, T26, permE_out_ga(T57, T76)) → U13_gag(T57, T76, T26, orderedG_in_gg(T26, T76))
orderedG_in_gg(T108, []) → orderedG_out_gg(T108, [])
orderedG_in_gg(T115, .(T116, T117)) → U5_gg(T115, T116, T117, pH_in_ggg(T115, T116, T117))
pH_in_ggg(T115, T116, T117) → U18_ggg(T115, T116, T117, lessJ_in_gg(T115, T116))
lessJ_in_gg(0, T126) → lessJ_out_gg(0, T126)
lessJ_in_gg(s(T131), T132) → U7_gg(T131, T132, lessI_in_gg(T131, T132))
lessI_in_gg(0, s(T139)) → lessI_out_gg(0, s(T139))
lessI_in_gg(s(T144), s(T145)) → U6_gg(T144, T145, lessI_in_gg(T144, T145))
U6_gg(T144, T145, lessI_out_gg(T144, T145)) → lessI_out_gg(s(T144), s(T145))
U7_gg(T131, T132, lessI_out_gg(T131, T132)) → lessJ_out_gg(s(T131), T132)
U18_ggg(T115, T116, T117, lessJ_out_gg(T115, T116)) → U19_ggg(T115, T116, T117, orderedG_in_gg(T116, T117))
U19_ggg(T115, T116, T117, orderedG_out_gg(T116, T117)) → pH_out_ggg(T115, T116, T117)
U5_gg(T115, T116, T117, pH_out_ggg(T115, T116, T117)) → orderedG_out_gg(T115, .(T116, T117))
U13_gag(T57, T76, T26, orderedG_out_gg(T26, T76)) → pL_out_gag(T57, T76, T26)
U11_ggaag(T23, T24, T57, T25, T26, pL_out_gag(T57, T25, T26)) → pK_out_ggaag(T23, T24, T57, T25, T26)
U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_out_ggaag(T23, T24, X25, T25, T26)) → pB_out_aaagaa(T23, T26, T24, T14, X25, T25)
U1_ga(T14, T17, T18, pB_out_aaagaa(X23, T17, X24, T14, X25, T18)) → ssA_out_ga(T14, .(T17, T18))
SSA_IN_GA(T14, .(T17, T18)) → U1_GA(T14, T17, T18, pB_in_aaagaa(X23, T17, X24, T14, X25, T18))
SSA_IN_GA(T14, .(T17, T18)) → PB_IN_AAAGAA(X23, T17, X24, T14, X25, T18)
PB_IN_AAAGAA(T23, T26, T24, T14, X25, T25) → U8_AAAGAA(T23, T26, T24, T14, X25, T25, appC_in_aaag(T23, T26, T24, T14))
PB_IN_AAAGAA(T23, T26, T24, T14, X25, T25) → APPC_IN_AAAG(T23, T26, T24, T14)
APPC_IN_AAAG(.(T48, X63), T50, X64, .(T48, T49)) → U2_AAAG(T48, X63, T50, X64, T49, appC_in_aaag(X63, T50, X64, T49))
APPC_IN_AAAG(.(T48, X63), T50, X64, .(T48, T49)) → APPC_IN_AAAG(X63, T50, X64, T49)
U8_AAAGAA(T23, T26, T24, T14, X25, T25, appC_out_aaag(T23, T26, T24, T14)) → U9_AAAGAA(T23, T26, T24, T14, X25, T25, pK_in_ggaag(T23, T24, X25, T25, T26))
U8_AAAGAA(T23, T26, T24, T14, X25, T25, appC_out_aaag(T23, T26, T24, T14)) → PK_IN_GGAAG(T23, T24, X25, T25, T26)
PK_IN_GGAAG(T23, T24, T57, T25, T26) → U10_GGAAG(T23, T24, T57, T25, T26, appD_in_gga(T23, T24, T57))
PK_IN_GGAAG(T23, T24, T57, T25, T26) → APPD_IN_GGA(T23, T24, T57)
APPD_IN_GGA(.(T71, T72), T73, .(T71, X92)) → U3_GGA(T71, T72, T73, X92, appD_in_gga(T72, T73, X92))
APPD_IN_GGA(.(T71, T72), T73, .(T71, X92)) → APPD_IN_GGA(T72, T73, X92)
U10_GGAAG(T23, T24, T57, T25, T26, appD_out_gga(T23, T24, T57)) → U11_GGAAG(T23, T24, T57, T25, T26, pL_in_gag(T57, T25, T26))
U10_GGAAG(T23, T24, T57, T25, T26, appD_out_gga(T23, T24, T57)) → PL_IN_GAG(T57, T25, T26)
PL_IN_GAG(T57, T76, T26) → U12_GAG(T57, T76, T26, permE_in_ga(T57, T76))
PL_IN_GAG(T57, T76, T26) → PERME_IN_GA(T57, T76)
PERME_IN_GA(T83, .(T86, T87)) → U4_GA(T83, T86, T87, pF_in_aaagaa(X107, T86, X108, T83, X109, T87))
PERME_IN_GA(T83, .(T86, T87)) → PF_IN_AAAGAA(X107, T86, X108, T83, X109, T87)
PF_IN_AAAGAA(T92, T86, T93, T83, X109, T94) → U14_AAAGAA(T92, T86, T93, T83, X109, T94, appC_in_aaag(T92, T86, T93, T83))
PF_IN_AAAGAA(T92, T86, T93, T83, X109, T94) → APPC_IN_AAAG(T92, T86, T93, T83)
U14_AAAGAA(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → U15_AAAGAA(T92, T86, T93, T83, X109, T94, pM_in_ggaa(T92, T93, X109, T94))
U14_AAAGAA(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → PM_IN_GGAA(T92, T93, X109, T94)
PM_IN_GGAA(T92, T93, T101, T94) → U16_GGAA(T92, T93, T101, T94, appD_in_gga(T92, T93, T101))
PM_IN_GGAA(T92, T93, T101, T94) → APPD_IN_GGA(T92, T93, T101)
U16_GGAA(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → U17_GGAA(T92, T93, T101, T94, permE_in_ga(T101, T94))
U16_GGAA(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → PERME_IN_GA(T101, T94)
U12_GAG(T57, T76, T26, permE_out_ga(T57, T76)) → U13_GAG(T57, T76, T26, orderedG_in_gg(T26, T76))
U12_GAG(T57, T76, T26, permE_out_ga(T57, T76)) → ORDEREDG_IN_GG(T26, T76)
ORDEREDG_IN_GG(T115, .(T116, T117)) → U5_GG(T115, T116, T117, pH_in_ggg(T115, T116, T117))
ORDEREDG_IN_GG(T115, .(T116, T117)) → PH_IN_GGG(T115, T116, T117)
PH_IN_GGG(T115, T116, T117) → U18_GGG(T115, T116, T117, lessJ_in_gg(T115, T116))
PH_IN_GGG(T115, T116, T117) → LESSJ_IN_GG(T115, T116)
LESSJ_IN_GG(s(T131), T132) → U7_GG(T131, T132, lessI_in_gg(T131, T132))
LESSJ_IN_GG(s(T131), T132) → LESSI_IN_GG(T131, T132)
LESSI_IN_GG(s(T144), s(T145)) → U6_GG(T144, T145, lessI_in_gg(T144, T145))
LESSI_IN_GG(s(T144), s(T145)) → LESSI_IN_GG(T144, T145)
U18_GGG(T115, T116, T117, lessJ_out_gg(T115, T116)) → U19_GGG(T115, T116, T117, orderedG_in_gg(T116, T117))
U18_GGG(T115, T116, T117, lessJ_out_gg(T115, T116)) → ORDEREDG_IN_GG(T116, T117)
ssA_in_ga([], []) → ssA_out_ga([], [])
ssA_in_ga(T14, .(T17, T18)) → U1_ga(T14, T17, T18, pB_in_aaagaa(X23, T17, X24, T14, X25, T18))
pB_in_aaagaa(T23, T26, T24, T14, X25, T25) → U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_in_aaag(T23, T26, T24, T14))
appC_in_aaag([], T39, T40, .(T39, T40)) → appC_out_aaag([], T39, T40, .(T39, T40))
appC_in_aaag(.(T48, X63), T50, X64, .(T48, T49)) → U2_aaag(T48, X63, T50, X64, T49, appC_in_aaag(X63, T50, X64, T49))
U2_aaag(T48, X63, T50, X64, T49, appC_out_aaag(X63, T50, X64, T49)) → appC_out_aaag(.(T48, X63), T50, X64, .(T48, T49))
U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_out_aaag(T23, T26, T24, T14)) → U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_in_ggaag(T23, T24, X25, T25, T26))
pK_in_ggaag(T23, T24, T57, T25, T26) → U10_ggaag(T23, T24, T57, T25, T26, appD_in_gga(T23, T24, T57))
appD_in_gga([], T64, T64) → appD_out_gga([], T64, T64)
appD_in_gga(.(T71, T72), T73, .(T71, X92)) → U3_gga(T71, T72, T73, X92, appD_in_gga(T72, T73, X92))
U3_gga(T71, T72, T73, X92, appD_out_gga(T72, T73, X92)) → appD_out_gga(.(T71, T72), T73, .(T71, X92))
U10_ggaag(T23, T24, T57, T25, T26, appD_out_gga(T23, T24, T57)) → U11_ggaag(T23, T24, T57, T25, T26, pL_in_gag(T57, T25, T26))
pL_in_gag(T57, T76, T26) → U12_gag(T57, T76, T26, permE_in_ga(T57, T76))
permE_in_ga([], []) → permE_out_ga([], [])
permE_in_ga(T83, .(T86, T87)) → U4_ga(T83, T86, T87, pF_in_aaagaa(X107, T86, X108, T83, X109, T87))
pF_in_aaagaa(T92, T86, T93, T83, X109, T94) → U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_in_aaag(T92, T86, T93, T83))
U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_in_ggaa(T92, T93, X109, T94))
pM_in_ggaa(T92, T93, T101, T94) → U16_ggaa(T92, T93, T101, T94, appD_in_gga(T92, T93, T101))
U16_ggaa(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → U17_ggaa(T92, T93, T101, T94, permE_in_ga(T101, T94))
U17_ggaa(T92, T93, T101, T94, permE_out_ga(T101, T94)) → pM_out_ggaa(T92, T93, T101, T94)
U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_out_ggaa(T92, T93, X109, T94)) → pF_out_aaagaa(T92, T86, T93, T83, X109, T94)
U4_ga(T83, T86, T87, pF_out_aaagaa(X107, T86, X108, T83, X109, T87)) → permE_out_ga(T83, .(T86, T87))
U12_gag(T57, T76, T26, permE_out_ga(T57, T76)) → U13_gag(T57, T76, T26, orderedG_in_gg(T26, T76))
orderedG_in_gg(T108, []) → orderedG_out_gg(T108, [])
orderedG_in_gg(T115, .(T116, T117)) → U5_gg(T115, T116, T117, pH_in_ggg(T115, T116, T117))
pH_in_ggg(T115, T116, T117) → U18_ggg(T115, T116, T117, lessJ_in_gg(T115, T116))
lessJ_in_gg(0, T126) → lessJ_out_gg(0, T126)
lessJ_in_gg(s(T131), T132) → U7_gg(T131, T132, lessI_in_gg(T131, T132))
lessI_in_gg(0, s(T139)) → lessI_out_gg(0, s(T139))
lessI_in_gg(s(T144), s(T145)) → U6_gg(T144, T145, lessI_in_gg(T144, T145))
U6_gg(T144, T145, lessI_out_gg(T144, T145)) → lessI_out_gg(s(T144), s(T145))
U7_gg(T131, T132, lessI_out_gg(T131, T132)) → lessJ_out_gg(s(T131), T132)
U18_ggg(T115, T116, T117, lessJ_out_gg(T115, T116)) → U19_ggg(T115, T116, T117, orderedG_in_gg(T116, T117))
U19_ggg(T115, T116, T117, orderedG_out_gg(T116, T117)) → pH_out_ggg(T115, T116, T117)
U5_gg(T115, T116, T117, pH_out_ggg(T115, T116, T117)) → orderedG_out_gg(T115, .(T116, T117))
U13_gag(T57, T76, T26, orderedG_out_gg(T26, T76)) → pL_out_gag(T57, T76, T26)
U11_ggaag(T23, T24, T57, T25, T26, pL_out_gag(T57, T25, T26)) → pK_out_ggaag(T23, T24, T57, T25, T26)
U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_out_ggaag(T23, T24, X25, T25, T26)) → pB_out_aaagaa(T23, T26, T24, T14, X25, T25)
U1_ga(T14, T17, T18, pB_out_aaagaa(X23, T17, X24, T14, X25, T18)) → ssA_out_ga(T14, .(T17, T18))
SSA_IN_GA(T14, .(T17, T18)) → U1_GA(T14, T17, T18, pB_in_aaagaa(X23, T17, X24, T14, X25, T18))
SSA_IN_GA(T14, .(T17, T18)) → PB_IN_AAAGAA(X23, T17, X24, T14, X25, T18)
PB_IN_AAAGAA(T23, T26, T24, T14, X25, T25) → U8_AAAGAA(T23, T26, T24, T14, X25, T25, appC_in_aaag(T23, T26, T24, T14))
PB_IN_AAAGAA(T23, T26, T24, T14, X25, T25) → APPC_IN_AAAG(T23, T26, T24, T14)
APPC_IN_AAAG(.(T48, X63), T50, X64, .(T48, T49)) → U2_AAAG(T48, X63, T50, X64, T49, appC_in_aaag(X63, T50, X64, T49))
APPC_IN_AAAG(.(T48, X63), T50, X64, .(T48, T49)) → APPC_IN_AAAG(X63, T50, X64, T49)
U8_AAAGAA(T23, T26, T24, T14, X25, T25, appC_out_aaag(T23, T26, T24, T14)) → U9_AAAGAA(T23, T26, T24, T14, X25, T25, pK_in_ggaag(T23, T24, X25, T25, T26))
U8_AAAGAA(T23, T26, T24, T14, X25, T25, appC_out_aaag(T23, T26, T24, T14)) → PK_IN_GGAAG(T23, T24, X25, T25, T26)
PK_IN_GGAAG(T23, T24, T57, T25, T26) → U10_GGAAG(T23, T24, T57, T25, T26, appD_in_gga(T23, T24, T57))
PK_IN_GGAAG(T23, T24, T57, T25, T26) → APPD_IN_GGA(T23, T24, T57)
APPD_IN_GGA(.(T71, T72), T73, .(T71, X92)) → U3_GGA(T71, T72, T73, X92, appD_in_gga(T72, T73, X92))
APPD_IN_GGA(.(T71, T72), T73, .(T71, X92)) → APPD_IN_GGA(T72, T73, X92)
U10_GGAAG(T23, T24, T57, T25, T26, appD_out_gga(T23, T24, T57)) → U11_GGAAG(T23, T24, T57, T25, T26, pL_in_gag(T57, T25, T26))
U10_GGAAG(T23, T24, T57, T25, T26, appD_out_gga(T23, T24, T57)) → PL_IN_GAG(T57, T25, T26)
PL_IN_GAG(T57, T76, T26) → U12_GAG(T57, T76, T26, permE_in_ga(T57, T76))
PL_IN_GAG(T57, T76, T26) → PERME_IN_GA(T57, T76)
PERME_IN_GA(T83, .(T86, T87)) → U4_GA(T83, T86, T87, pF_in_aaagaa(X107, T86, X108, T83, X109, T87))
PERME_IN_GA(T83, .(T86, T87)) → PF_IN_AAAGAA(X107, T86, X108, T83, X109, T87)
PF_IN_AAAGAA(T92, T86, T93, T83, X109, T94) → U14_AAAGAA(T92, T86, T93, T83, X109, T94, appC_in_aaag(T92, T86, T93, T83))
PF_IN_AAAGAA(T92, T86, T93, T83, X109, T94) → APPC_IN_AAAG(T92, T86, T93, T83)
U14_AAAGAA(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → U15_AAAGAA(T92, T86, T93, T83, X109, T94, pM_in_ggaa(T92, T93, X109, T94))
U14_AAAGAA(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → PM_IN_GGAA(T92, T93, X109, T94)
PM_IN_GGAA(T92, T93, T101, T94) → U16_GGAA(T92, T93, T101, T94, appD_in_gga(T92, T93, T101))
PM_IN_GGAA(T92, T93, T101, T94) → APPD_IN_GGA(T92, T93, T101)
U16_GGAA(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → U17_GGAA(T92, T93, T101, T94, permE_in_ga(T101, T94))
U16_GGAA(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → PERME_IN_GA(T101, T94)
U12_GAG(T57, T76, T26, permE_out_ga(T57, T76)) → U13_GAG(T57, T76, T26, orderedG_in_gg(T26, T76))
U12_GAG(T57, T76, T26, permE_out_ga(T57, T76)) → ORDEREDG_IN_GG(T26, T76)
ORDEREDG_IN_GG(T115, .(T116, T117)) → U5_GG(T115, T116, T117, pH_in_ggg(T115, T116, T117))
ORDEREDG_IN_GG(T115, .(T116, T117)) → PH_IN_GGG(T115, T116, T117)
PH_IN_GGG(T115, T116, T117) → U18_GGG(T115, T116, T117, lessJ_in_gg(T115, T116))
PH_IN_GGG(T115, T116, T117) → LESSJ_IN_GG(T115, T116)
LESSJ_IN_GG(s(T131), T132) → U7_GG(T131, T132, lessI_in_gg(T131, T132))
LESSJ_IN_GG(s(T131), T132) → LESSI_IN_GG(T131, T132)
LESSI_IN_GG(s(T144), s(T145)) → U6_GG(T144, T145, lessI_in_gg(T144, T145))
LESSI_IN_GG(s(T144), s(T145)) → LESSI_IN_GG(T144, T145)
U18_GGG(T115, T116, T117, lessJ_out_gg(T115, T116)) → U19_GGG(T115, T116, T117, orderedG_in_gg(T116, T117))
U18_GGG(T115, T116, T117, lessJ_out_gg(T115, T116)) → ORDEREDG_IN_GG(T116, T117)
ssA_in_ga([], []) → ssA_out_ga([], [])
ssA_in_ga(T14, .(T17, T18)) → U1_ga(T14, T17, T18, pB_in_aaagaa(X23, T17, X24, T14, X25, T18))
pB_in_aaagaa(T23, T26, T24, T14, X25, T25) → U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_in_aaag(T23, T26, T24, T14))
appC_in_aaag([], T39, T40, .(T39, T40)) → appC_out_aaag([], T39, T40, .(T39, T40))
appC_in_aaag(.(T48, X63), T50, X64, .(T48, T49)) → U2_aaag(T48, X63, T50, X64, T49, appC_in_aaag(X63, T50, X64, T49))
U2_aaag(T48, X63, T50, X64, T49, appC_out_aaag(X63, T50, X64, T49)) → appC_out_aaag(.(T48, X63), T50, X64, .(T48, T49))
U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_out_aaag(T23, T26, T24, T14)) → U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_in_ggaag(T23, T24, X25, T25, T26))
pK_in_ggaag(T23, T24, T57, T25, T26) → U10_ggaag(T23, T24, T57, T25, T26, appD_in_gga(T23, T24, T57))
appD_in_gga([], T64, T64) → appD_out_gga([], T64, T64)
appD_in_gga(.(T71, T72), T73, .(T71, X92)) → U3_gga(T71, T72, T73, X92, appD_in_gga(T72, T73, X92))
U3_gga(T71, T72, T73, X92, appD_out_gga(T72, T73, X92)) → appD_out_gga(.(T71, T72), T73, .(T71, X92))
U10_ggaag(T23, T24, T57, T25, T26, appD_out_gga(T23, T24, T57)) → U11_ggaag(T23, T24, T57, T25, T26, pL_in_gag(T57, T25, T26))
pL_in_gag(T57, T76, T26) → U12_gag(T57, T76, T26, permE_in_ga(T57, T76))
permE_in_ga([], []) → permE_out_ga([], [])
permE_in_ga(T83, .(T86, T87)) → U4_ga(T83, T86, T87, pF_in_aaagaa(X107, T86, X108, T83, X109, T87))
pF_in_aaagaa(T92, T86, T93, T83, X109, T94) → U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_in_aaag(T92, T86, T93, T83))
U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_in_ggaa(T92, T93, X109, T94))
pM_in_ggaa(T92, T93, T101, T94) → U16_ggaa(T92, T93, T101, T94, appD_in_gga(T92, T93, T101))
U16_ggaa(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → U17_ggaa(T92, T93, T101, T94, permE_in_ga(T101, T94))
U17_ggaa(T92, T93, T101, T94, permE_out_ga(T101, T94)) → pM_out_ggaa(T92, T93, T101, T94)
U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_out_ggaa(T92, T93, X109, T94)) → pF_out_aaagaa(T92, T86, T93, T83, X109, T94)
U4_ga(T83, T86, T87, pF_out_aaagaa(X107, T86, X108, T83, X109, T87)) → permE_out_ga(T83, .(T86, T87))
U12_gag(T57, T76, T26, permE_out_ga(T57, T76)) → U13_gag(T57, T76, T26, orderedG_in_gg(T26, T76))
orderedG_in_gg(T108, []) → orderedG_out_gg(T108, [])
orderedG_in_gg(T115, .(T116, T117)) → U5_gg(T115, T116, T117, pH_in_ggg(T115, T116, T117))
pH_in_ggg(T115, T116, T117) → U18_ggg(T115, T116, T117, lessJ_in_gg(T115, T116))
lessJ_in_gg(0, T126) → lessJ_out_gg(0, T126)
lessJ_in_gg(s(T131), T132) → U7_gg(T131, T132, lessI_in_gg(T131, T132))
lessI_in_gg(0, s(T139)) → lessI_out_gg(0, s(T139))
lessI_in_gg(s(T144), s(T145)) → U6_gg(T144, T145, lessI_in_gg(T144, T145))
U6_gg(T144, T145, lessI_out_gg(T144, T145)) → lessI_out_gg(s(T144), s(T145))
U7_gg(T131, T132, lessI_out_gg(T131, T132)) → lessJ_out_gg(s(T131), T132)
U18_ggg(T115, T116, T117, lessJ_out_gg(T115, T116)) → U19_ggg(T115, T116, T117, orderedG_in_gg(T116, T117))
U19_ggg(T115, T116, T117, orderedG_out_gg(T116, T117)) → pH_out_ggg(T115, T116, T117)
U5_gg(T115, T116, T117, pH_out_ggg(T115, T116, T117)) → orderedG_out_gg(T115, .(T116, T117))
U13_gag(T57, T76, T26, orderedG_out_gg(T26, T76)) → pL_out_gag(T57, T76, T26)
U11_ggaag(T23, T24, T57, T25, T26, pL_out_gag(T57, T25, T26)) → pK_out_ggaag(T23, T24, T57, T25, T26)
U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_out_ggaag(T23, T24, X25, T25, T26)) → pB_out_aaagaa(T23, T26, T24, T14, X25, T25)
U1_ga(T14, T17, T18, pB_out_aaagaa(X23, T17, X24, T14, X25, T18)) → ssA_out_ga(T14, .(T17, T18))
LESSI_IN_GG(s(T144), s(T145)) → LESSI_IN_GG(T144, T145)
ssA_in_ga([], []) → ssA_out_ga([], [])
ssA_in_ga(T14, .(T17, T18)) → U1_ga(T14, T17, T18, pB_in_aaagaa(X23, T17, X24, T14, X25, T18))
pB_in_aaagaa(T23, T26, T24, T14, X25, T25) → U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_in_aaag(T23, T26, T24, T14))
appC_in_aaag([], T39, T40, .(T39, T40)) → appC_out_aaag([], T39, T40, .(T39, T40))
appC_in_aaag(.(T48, X63), T50, X64, .(T48, T49)) → U2_aaag(T48, X63, T50, X64, T49, appC_in_aaag(X63, T50, X64, T49))
U2_aaag(T48, X63, T50, X64, T49, appC_out_aaag(X63, T50, X64, T49)) → appC_out_aaag(.(T48, X63), T50, X64, .(T48, T49))
U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_out_aaag(T23, T26, T24, T14)) → U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_in_ggaag(T23, T24, X25, T25, T26))
pK_in_ggaag(T23, T24, T57, T25, T26) → U10_ggaag(T23, T24, T57, T25, T26, appD_in_gga(T23, T24, T57))
appD_in_gga([], T64, T64) → appD_out_gga([], T64, T64)
appD_in_gga(.(T71, T72), T73, .(T71, X92)) → U3_gga(T71, T72, T73, X92, appD_in_gga(T72, T73, X92))
U3_gga(T71, T72, T73, X92, appD_out_gga(T72, T73, X92)) → appD_out_gga(.(T71, T72), T73, .(T71, X92))
U10_ggaag(T23, T24, T57, T25, T26, appD_out_gga(T23, T24, T57)) → U11_ggaag(T23, T24, T57, T25, T26, pL_in_gag(T57, T25, T26))
pL_in_gag(T57, T76, T26) → U12_gag(T57, T76, T26, permE_in_ga(T57, T76))
permE_in_ga([], []) → permE_out_ga([], [])
permE_in_ga(T83, .(T86, T87)) → U4_ga(T83, T86, T87, pF_in_aaagaa(X107, T86, X108, T83, X109, T87))
pF_in_aaagaa(T92, T86, T93, T83, X109, T94) → U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_in_aaag(T92, T86, T93, T83))
U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_in_ggaa(T92, T93, X109, T94))
pM_in_ggaa(T92, T93, T101, T94) → U16_ggaa(T92, T93, T101, T94, appD_in_gga(T92, T93, T101))
U16_ggaa(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → U17_ggaa(T92, T93, T101, T94, permE_in_ga(T101, T94))
U17_ggaa(T92, T93, T101, T94, permE_out_ga(T101, T94)) → pM_out_ggaa(T92, T93, T101, T94)
U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_out_ggaa(T92, T93, X109, T94)) → pF_out_aaagaa(T92, T86, T93, T83, X109, T94)
U4_ga(T83, T86, T87, pF_out_aaagaa(X107, T86, X108, T83, X109, T87)) → permE_out_ga(T83, .(T86, T87))
U12_gag(T57, T76, T26, permE_out_ga(T57, T76)) → U13_gag(T57, T76, T26, orderedG_in_gg(T26, T76))
orderedG_in_gg(T108, []) → orderedG_out_gg(T108, [])
orderedG_in_gg(T115, .(T116, T117)) → U5_gg(T115, T116, T117, pH_in_ggg(T115, T116, T117))
pH_in_ggg(T115, T116, T117) → U18_ggg(T115, T116, T117, lessJ_in_gg(T115, T116))
lessJ_in_gg(0, T126) → lessJ_out_gg(0, T126)
lessJ_in_gg(s(T131), T132) → U7_gg(T131, T132, lessI_in_gg(T131, T132))
lessI_in_gg(0, s(T139)) → lessI_out_gg(0, s(T139))
lessI_in_gg(s(T144), s(T145)) → U6_gg(T144, T145, lessI_in_gg(T144, T145))
U6_gg(T144, T145, lessI_out_gg(T144, T145)) → lessI_out_gg(s(T144), s(T145))
U7_gg(T131, T132, lessI_out_gg(T131, T132)) → lessJ_out_gg(s(T131), T132)
U18_ggg(T115, T116, T117, lessJ_out_gg(T115, T116)) → U19_ggg(T115, T116, T117, orderedG_in_gg(T116, T117))
U19_ggg(T115, T116, T117, orderedG_out_gg(T116, T117)) → pH_out_ggg(T115, T116, T117)
U5_gg(T115, T116, T117, pH_out_ggg(T115, T116, T117)) → orderedG_out_gg(T115, .(T116, T117))
U13_gag(T57, T76, T26, orderedG_out_gg(T26, T76)) → pL_out_gag(T57, T76, T26)
U11_ggaag(T23, T24, T57, T25, T26, pL_out_gag(T57, T25, T26)) → pK_out_ggaag(T23, T24, T57, T25, T26)
U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_out_ggaag(T23, T24, X25, T25, T26)) → pB_out_aaagaa(T23, T26, T24, T14, X25, T25)
U1_ga(T14, T17, T18, pB_out_aaagaa(X23, T17, X24, T14, X25, T18)) → ssA_out_ga(T14, .(T17, T18))
LESSI_IN_GG(s(T144), s(T145)) → LESSI_IN_GG(T144, T145)
LESSI_IN_GG(s(T144), s(T145)) → LESSI_IN_GG(T144, T145)
From the DPs we obtained the following set of size-change graphs:
ORDEREDG_IN_GG(T115, .(T116, T117)) → PH_IN_GGG(T115, T116, T117)
PH_IN_GGG(T115, T116, T117) → U18_GGG(T115, T116, T117, lessJ_in_gg(T115, T116))
U18_GGG(T115, T116, T117, lessJ_out_gg(T115, T116)) → ORDEREDG_IN_GG(T116, T117)
ssA_in_ga([], []) → ssA_out_ga([], [])
ssA_in_ga(T14, .(T17, T18)) → U1_ga(T14, T17, T18, pB_in_aaagaa(X23, T17, X24, T14, X25, T18))
pB_in_aaagaa(T23, T26, T24, T14, X25, T25) → U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_in_aaag(T23, T26, T24, T14))
appC_in_aaag([], T39, T40, .(T39, T40)) → appC_out_aaag([], T39, T40, .(T39, T40))
appC_in_aaag(.(T48, X63), T50, X64, .(T48, T49)) → U2_aaag(T48, X63, T50, X64, T49, appC_in_aaag(X63, T50, X64, T49))
U2_aaag(T48, X63, T50, X64, T49, appC_out_aaag(X63, T50, X64, T49)) → appC_out_aaag(.(T48, X63), T50, X64, .(T48, T49))
U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_out_aaag(T23, T26, T24, T14)) → U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_in_ggaag(T23, T24, X25, T25, T26))
pK_in_ggaag(T23, T24, T57, T25, T26) → U10_ggaag(T23, T24, T57, T25, T26, appD_in_gga(T23, T24, T57))
appD_in_gga([], T64, T64) → appD_out_gga([], T64, T64)
appD_in_gga(.(T71, T72), T73, .(T71, X92)) → U3_gga(T71, T72, T73, X92, appD_in_gga(T72, T73, X92))
U3_gga(T71, T72, T73, X92, appD_out_gga(T72, T73, X92)) → appD_out_gga(.(T71, T72), T73, .(T71, X92))
U10_ggaag(T23, T24, T57, T25, T26, appD_out_gga(T23, T24, T57)) → U11_ggaag(T23, T24, T57, T25, T26, pL_in_gag(T57, T25, T26))
pL_in_gag(T57, T76, T26) → U12_gag(T57, T76, T26, permE_in_ga(T57, T76))
permE_in_ga([], []) → permE_out_ga([], [])
permE_in_ga(T83, .(T86, T87)) → U4_ga(T83, T86, T87, pF_in_aaagaa(X107, T86, X108, T83, X109, T87))
pF_in_aaagaa(T92, T86, T93, T83, X109, T94) → U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_in_aaag(T92, T86, T93, T83))
U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_in_ggaa(T92, T93, X109, T94))
pM_in_ggaa(T92, T93, T101, T94) → U16_ggaa(T92, T93, T101, T94, appD_in_gga(T92, T93, T101))
U16_ggaa(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → U17_ggaa(T92, T93, T101, T94, permE_in_ga(T101, T94))
U17_ggaa(T92, T93, T101, T94, permE_out_ga(T101, T94)) → pM_out_ggaa(T92, T93, T101, T94)
U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_out_ggaa(T92, T93, X109, T94)) → pF_out_aaagaa(T92, T86, T93, T83, X109, T94)
U4_ga(T83, T86, T87, pF_out_aaagaa(X107, T86, X108, T83, X109, T87)) → permE_out_ga(T83, .(T86, T87))
U12_gag(T57, T76, T26, permE_out_ga(T57, T76)) → U13_gag(T57, T76, T26, orderedG_in_gg(T26, T76))
orderedG_in_gg(T108, []) → orderedG_out_gg(T108, [])
orderedG_in_gg(T115, .(T116, T117)) → U5_gg(T115, T116, T117, pH_in_ggg(T115, T116, T117))
pH_in_ggg(T115, T116, T117) → U18_ggg(T115, T116, T117, lessJ_in_gg(T115, T116))
lessJ_in_gg(0, T126) → lessJ_out_gg(0, T126)
lessJ_in_gg(s(T131), T132) → U7_gg(T131, T132, lessI_in_gg(T131, T132))
lessI_in_gg(0, s(T139)) → lessI_out_gg(0, s(T139))
lessI_in_gg(s(T144), s(T145)) → U6_gg(T144, T145, lessI_in_gg(T144, T145))
U6_gg(T144, T145, lessI_out_gg(T144, T145)) → lessI_out_gg(s(T144), s(T145))
U7_gg(T131, T132, lessI_out_gg(T131, T132)) → lessJ_out_gg(s(T131), T132)
U18_ggg(T115, T116, T117, lessJ_out_gg(T115, T116)) → U19_ggg(T115, T116, T117, orderedG_in_gg(T116, T117))
U19_ggg(T115, T116, T117, orderedG_out_gg(T116, T117)) → pH_out_ggg(T115, T116, T117)
U5_gg(T115, T116, T117, pH_out_ggg(T115, T116, T117)) → orderedG_out_gg(T115, .(T116, T117))
U13_gag(T57, T76, T26, orderedG_out_gg(T26, T76)) → pL_out_gag(T57, T76, T26)
U11_ggaag(T23, T24, T57, T25, T26, pL_out_gag(T57, T25, T26)) → pK_out_ggaag(T23, T24, T57, T25, T26)
U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_out_ggaag(T23, T24, X25, T25, T26)) → pB_out_aaagaa(T23, T26, T24, T14, X25, T25)
U1_ga(T14, T17, T18, pB_out_aaagaa(X23, T17, X24, T14, X25, T18)) → ssA_out_ga(T14, .(T17, T18))
ORDEREDG_IN_GG(T115, .(T116, T117)) → PH_IN_GGG(T115, T116, T117)
PH_IN_GGG(T115, T116, T117) → U18_GGG(T115, T116, T117, lessJ_in_gg(T115, T116))
U18_GGG(T115, T116, T117, lessJ_out_gg(T115, T116)) → ORDEREDG_IN_GG(T116, T117)
lessJ_in_gg(0, T126) → lessJ_out_gg(0, T126)
lessJ_in_gg(s(T131), T132) → U7_gg(T131, T132, lessI_in_gg(T131, T132))
U7_gg(T131, T132, lessI_out_gg(T131, T132)) → lessJ_out_gg(s(T131), T132)
lessI_in_gg(0, s(T139)) → lessI_out_gg(0, s(T139))
lessI_in_gg(s(T144), s(T145)) → U6_gg(T144, T145, lessI_in_gg(T144, T145))
U6_gg(T144, T145, lessI_out_gg(T144, T145)) → lessI_out_gg(s(T144), s(T145))
ORDEREDG_IN_GG(T115, .(T116, T117)) → PH_IN_GGG(T115, T116, T117)
PH_IN_GGG(T115, T116, T117) → U18_GGG(T115, T116, T117, lessJ_in_gg(T115, T116))
U18_GGG(T115, T116, T117, lessJ_out_gg(T115, T116)) → ORDEREDG_IN_GG(T116, T117)
lessJ_in_gg(0, T126) → lessJ_out_gg(0, T126)
lessJ_in_gg(s(T131), T132) → U7_gg(T131, T132, lessI_in_gg(T131, T132))
U7_gg(T131, T132, lessI_out_gg(T131, T132)) → lessJ_out_gg(s(T131), T132)
lessI_in_gg(0, s(T139)) → lessI_out_gg(0, s(T139))
lessI_in_gg(s(T144), s(T145)) → U6_gg(T144, T145, lessI_in_gg(T144, T145))
U6_gg(T144, T145, lessI_out_gg(T144, T145)) → lessI_out_gg(s(T144), s(T145))
lessJ_in_gg(x0, x1)
U7_gg(x0, x1, x2)
lessI_in_gg(x0, x1)
U6_gg(x0, x1, x2)
From the DPs we obtained the following set of size-change graphs:
APPD_IN_GGA(.(T71, T72), T73, .(T71, X92)) → APPD_IN_GGA(T72, T73, X92)
ssA_in_ga([], []) → ssA_out_ga([], [])
ssA_in_ga(T14, .(T17, T18)) → U1_ga(T14, T17, T18, pB_in_aaagaa(X23, T17, X24, T14, X25, T18))
pB_in_aaagaa(T23, T26, T24, T14, X25, T25) → U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_in_aaag(T23, T26, T24, T14))
appC_in_aaag([], T39, T40, .(T39, T40)) → appC_out_aaag([], T39, T40, .(T39, T40))
appC_in_aaag(.(T48, X63), T50, X64, .(T48, T49)) → U2_aaag(T48, X63, T50, X64, T49, appC_in_aaag(X63, T50, X64, T49))
U2_aaag(T48, X63, T50, X64, T49, appC_out_aaag(X63, T50, X64, T49)) → appC_out_aaag(.(T48, X63), T50, X64, .(T48, T49))
U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_out_aaag(T23, T26, T24, T14)) → U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_in_ggaag(T23, T24, X25, T25, T26))
pK_in_ggaag(T23, T24, T57, T25, T26) → U10_ggaag(T23, T24, T57, T25, T26, appD_in_gga(T23, T24, T57))
appD_in_gga([], T64, T64) → appD_out_gga([], T64, T64)
appD_in_gga(.(T71, T72), T73, .(T71, X92)) → U3_gga(T71, T72, T73, X92, appD_in_gga(T72, T73, X92))
U3_gga(T71, T72, T73, X92, appD_out_gga(T72, T73, X92)) → appD_out_gga(.(T71, T72), T73, .(T71, X92))
U10_ggaag(T23, T24, T57, T25, T26, appD_out_gga(T23, T24, T57)) → U11_ggaag(T23, T24, T57, T25, T26, pL_in_gag(T57, T25, T26))
pL_in_gag(T57, T76, T26) → U12_gag(T57, T76, T26, permE_in_ga(T57, T76))
permE_in_ga([], []) → permE_out_ga([], [])
permE_in_ga(T83, .(T86, T87)) → U4_ga(T83, T86, T87, pF_in_aaagaa(X107, T86, X108, T83, X109, T87))
pF_in_aaagaa(T92, T86, T93, T83, X109, T94) → U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_in_aaag(T92, T86, T93, T83))
U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_in_ggaa(T92, T93, X109, T94))
pM_in_ggaa(T92, T93, T101, T94) → U16_ggaa(T92, T93, T101, T94, appD_in_gga(T92, T93, T101))
U16_ggaa(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → U17_ggaa(T92, T93, T101, T94, permE_in_ga(T101, T94))
U17_ggaa(T92, T93, T101, T94, permE_out_ga(T101, T94)) → pM_out_ggaa(T92, T93, T101, T94)
U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_out_ggaa(T92, T93, X109, T94)) → pF_out_aaagaa(T92, T86, T93, T83, X109, T94)
U4_ga(T83, T86, T87, pF_out_aaagaa(X107, T86, X108, T83, X109, T87)) → permE_out_ga(T83, .(T86, T87))
U12_gag(T57, T76, T26, permE_out_ga(T57, T76)) → U13_gag(T57, T76, T26, orderedG_in_gg(T26, T76))
orderedG_in_gg(T108, []) → orderedG_out_gg(T108, [])
orderedG_in_gg(T115, .(T116, T117)) → U5_gg(T115, T116, T117, pH_in_ggg(T115, T116, T117))
pH_in_ggg(T115, T116, T117) → U18_ggg(T115, T116, T117, lessJ_in_gg(T115, T116))
lessJ_in_gg(0, T126) → lessJ_out_gg(0, T126)
lessJ_in_gg(s(T131), T132) → U7_gg(T131, T132, lessI_in_gg(T131, T132))
lessI_in_gg(0, s(T139)) → lessI_out_gg(0, s(T139))
lessI_in_gg(s(T144), s(T145)) → U6_gg(T144, T145, lessI_in_gg(T144, T145))
U6_gg(T144, T145, lessI_out_gg(T144, T145)) → lessI_out_gg(s(T144), s(T145))
U7_gg(T131, T132, lessI_out_gg(T131, T132)) → lessJ_out_gg(s(T131), T132)
U18_ggg(T115, T116, T117, lessJ_out_gg(T115, T116)) → U19_ggg(T115, T116, T117, orderedG_in_gg(T116, T117))
U19_ggg(T115, T116, T117, orderedG_out_gg(T116, T117)) → pH_out_ggg(T115, T116, T117)
U5_gg(T115, T116, T117, pH_out_ggg(T115, T116, T117)) → orderedG_out_gg(T115, .(T116, T117))
U13_gag(T57, T76, T26, orderedG_out_gg(T26, T76)) → pL_out_gag(T57, T76, T26)
U11_ggaag(T23, T24, T57, T25, T26, pL_out_gag(T57, T25, T26)) → pK_out_ggaag(T23, T24, T57, T25, T26)
U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_out_ggaag(T23, T24, X25, T25, T26)) → pB_out_aaagaa(T23, T26, T24, T14, X25, T25)
U1_ga(T14, T17, T18, pB_out_aaagaa(X23, T17, X24, T14, X25, T18)) → ssA_out_ga(T14, .(T17, T18))
APPD_IN_GGA(.(T71, T72), T73, .(T71, X92)) → APPD_IN_GGA(T72, T73, X92)
APPD_IN_GGA(.(T71, T72), T73) → APPD_IN_GGA(T72, T73)
From the DPs we obtained the following set of size-change graphs:
APPC_IN_AAAG(.(T48, X63), T50, X64, .(T48, T49)) → APPC_IN_AAAG(X63, T50, X64, T49)
ssA_in_ga([], []) → ssA_out_ga([], [])
ssA_in_ga(T14, .(T17, T18)) → U1_ga(T14, T17, T18, pB_in_aaagaa(X23, T17, X24, T14, X25, T18))
pB_in_aaagaa(T23, T26, T24, T14, X25, T25) → U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_in_aaag(T23, T26, T24, T14))
appC_in_aaag([], T39, T40, .(T39, T40)) → appC_out_aaag([], T39, T40, .(T39, T40))
appC_in_aaag(.(T48, X63), T50, X64, .(T48, T49)) → U2_aaag(T48, X63, T50, X64, T49, appC_in_aaag(X63, T50, X64, T49))
U2_aaag(T48, X63, T50, X64, T49, appC_out_aaag(X63, T50, X64, T49)) → appC_out_aaag(.(T48, X63), T50, X64, .(T48, T49))
U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_out_aaag(T23, T26, T24, T14)) → U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_in_ggaag(T23, T24, X25, T25, T26))
pK_in_ggaag(T23, T24, T57, T25, T26) → U10_ggaag(T23, T24, T57, T25, T26, appD_in_gga(T23, T24, T57))
appD_in_gga([], T64, T64) → appD_out_gga([], T64, T64)
appD_in_gga(.(T71, T72), T73, .(T71, X92)) → U3_gga(T71, T72, T73, X92, appD_in_gga(T72, T73, X92))
U3_gga(T71, T72, T73, X92, appD_out_gga(T72, T73, X92)) → appD_out_gga(.(T71, T72), T73, .(T71, X92))
U10_ggaag(T23, T24, T57, T25, T26, appD_out_gga(T23, T24, T57)) → U11_ggaag(T23, T24, T57, T25, T26, pL_in_gag(T57, T25, T26))
pL_in_gag(T57, T76, T26) → U12_gag(T57, T76, T26, permE_in_ga(T57, T76))
permE_in_ga([], []) → permE_out_ga([], [])
permE_in_ga(T83, .(T86, T87)) → U4_ga(T83, T86, T87, pF_in_aaagaa(X107, T86, X108, T83, X109, T87))
pF_in_aaagaa(T92, T86, T93, T83, X109, T94) → U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_in_aaag(T92, T86, T93, T83))
U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_in_ggaa(T92, T93, X109, T94))
pM_in_ggaa(T92, T93, T101, T94) → U16_ggaa(T92, T93, T101, T94, appD_in_gga(T92, T93, T101))
U16_ggaa(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → U17_ggaa(T92, T93, T101, T94, permE_in_ga(T101, T94))
U17_ggaa(T92, T93, T101, T94, permE_out_ga(T101, T94)) → pM_out_ggaa(T92, T93, T101, T94)
U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_out_ggaa(T92, T93, X109, T94)) → pF_out_aaagaa(T92, T86, T93, T83, X109, T94)
U4_ga(T83, T86, T87, pF_out_aaagaa(X107, T86, X108, T83, X109, T87)) → permE_out_ga(T83, .(T86, T87))
U12_gag(T57, T76, T26, permE_out_ga(T57, T76)) → U13_gag(T57, T76, T26, orderedG_in_gg(T26, T76))
orderedG_in_gg(T108, []) → orderedG_out_gg(T108, [])
orderedG_in_gg(T115, .(T116, T117)) → U5_gg(T115, T116, T117, pH_in_ggg(T115, T116, T117))
pH_in_ggg(T115, T116, T117) → U18_ggg(T115, T116, T117, lessJ_in_gg(T115, T116))
lessJ_in_gg(0, T126) → lessJ_out_gg(0, T126)
lessJ_in_gg(s(T131), T132) → U7_gg(T131, T132, lessI_in_gg(T131, T132))
lessI_in_gg(0, s(T139)) → lessI_out_gg(0, s(T139))
lessI_in_gg(s(T144), s(T145)) → U6_gg(T144, T145, lessI_in_gg(T144, T145))
U6_gg(T144, T145, lessI_out_gg(T144, T145)) → lessI_out_gg(s(T144), s(T145))
U7_gg(T131, T132, lessI_out_gg(T131, T132)) → lessJ_out_gg(s(T131), T132)
U18_ggg(T115, T116, T117, lessJ_out_gg(T115, T116)) → U19_ggg(T115, T116, T117, orderedG_in_gg(T116, T117))
U19_ggg(T115, T116, T117, orderedG_out_gg(T116, T117)) → pH_out_ggg(T115, T116, T117)
U5_gg(T115, T116, T117, pH_out_ggg(T115, T116, T117)) → orderedG_out_gg(T115, .(T116, T117))
U13_gag(T57, T76, T26, orderedG_out_gg(T26, T76)) → pL_out_gag(T57, T76, T26)
U11_ggaag(T23, T24, T57, T25, T26, pL_out_gag(T57, T25, T26)) → pK_out_ggaag(T23, T24, T57, T25, T26)
U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_out_ggaag(T23, T24, X25, T25, T26)) → pB_out_aaagaa(T23, T26, T24, T14, X25, T25)
U1_ga(T14, T17, T18, pB_out_aaagaa(X23, T17, X24, T14, X25, T18)) → ssA_out_ga(T14, .(T17, T18))
APPC_IN_AAAG(.(T48, X63), T50, X64, .(T48, T49)) → APPC_IN_AAAG(X63, T50, X64, T49)
APPC_IN_AAAG(.(T48, T49)) → APPC_IN_AAAG(T49)
From the DPs we obtained the following set of size-change graphs:
PF_IN_AAAGAA(T92, T86, T93, T83, X109, T94) → U14_AAAGAA(T92, T86, T93, T83, X109, T94, appC_in_aaag(T92, T86, T93, T83))
U14_AAAGAA(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → PM_IN_GGAA(T92, T93, X109, T94)
PM_IN_GGAA(T92, T93, T101, T94) → U16_GGAA(T92, T93, T101, T94, appD_in_gga(T92, T93, T101))
U16_GGAA(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → PERME_IN_GA(T101, T94)
PERME_IN_GA(T83, .(T86, T87)) → PF_IN_AAAGAA(X107, T86, X108, T83, X109, T87)
ssA_in_ga([], []) → ssA_out_ga([], [])
ssA_in_ga(T14, .(T17, T18)) → U1_ga(T14, T17, T18, pB_in_aaagaa(X23, T17, X24, T14, X25, T18))
pB_in_aaagaa(T23, T26, T24, T14, X25, T25) → U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_in_aaag(T23, T26, T24, T14))
appC_in_aaag([], T39, T40, .(T39, T40)) → appC_out_aaag([], T39, T40, .(T39, T40))
appC_in_aaag(.(T48, X63), T50, X64, .(T48, T49)) → U2_aaag(T48, X63, T50, X64, T49, appC_in_aaag(X63, T50, X64, T49))
U2_aaag(T48, X63, T50, X64, T49, appC_out_aaag(X63, T50, X64, T49)) → appC_out_aaag(.(T48, X63), T50, X64, .(T48, T49))
U8_aaagaa(T23, T26, T24, T14, X25, T25, appC_out_aaag(T23, T26, T24, T14)) → U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_in_ggaag(T23, T24, X25, T25, T26))
pK_in_ggaag(T23, T24, T57, T25, T26) → U10_ggaag(T23, T24, T57, T25, T26, appD_in_gga(T23, T24, T57))
appD_in_gga([], T64, T64) → appD_out_gga([], T64, T64)
appD_in_gga(.(T71, T72), T73, .(T71, X92)) → U3_gga(T71, T72, T73, X92, appD_in_gga(T72, T73, X92))
U3_gga(T71, T72, T73, X92, appD_out_gga(T72, T73, X92)) → appD_out_gga(.(T71, T72), T73, .(T71, X92))
U10_ggaag(T23, T24, T57, T25, T26, appD_out_gga(T23, T24, T57)) → U11_ggaag(T23, T24, T57, T25, T26, pL_in_gag(T57, T25, T26))
pL_in_gag(T57, T76, T26) → U12_gag(T57, T76, T26, permE_in_ga(T57, T76))
permE_in_ga([], []) → permE_out_ga([], [])
permE_in_ga(T83, .(T86, T87)) → U4_ga(T83, T86, T87, pF_in_aaagaa(X107, T86, X108, T83, X109, T87))
pF_in_aaagaa(T92, T86, T93, T83, X109, T94) → U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_in_aaag(T92, T86, T93, T83))
U14_aaagaa(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_in_ggaa(T92, T93, X109, T94))
pM_in_ggaa(T92, T93, T101, T94) → U16_ggaa(T92, T93, T101, T94, appD_in_gga(T92, T93, T101))
U16_ggaa(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → U17_ggaa(T92, T93, T101, T94, permE_in_ga(T101, T94))
U17_ggaa(T92, T93, T101, T94, permE_out_ga(T101, T94)) → pM_out_ggaa(T92, T93, T101, T94)
U15_aaagaa(T92, T86, T93, T83, X109, T94, pM_out_ggaa(T92, T93, X109, T94)) → pF_out_aaagaa(T92, T86, T93, T83, X109, T94)
U4_ga(T83, T86, T87, pF_out_aaagaa(X107, T86, X108, T83, X109, T87)) → permE_out_ga(T83, .(T86, T87))
U12_gag(T57, T76, T26, permE_out_ga(T57, T76)) → U13_gag(T57, T76, T26, orderedG_in_gg(T26, T76))
orderedG_in_gg(T108, []) → orderedG_out_gg(T108, [])
orderedG_in_gg(T115, .(T116, T117)) → U5_gg(T115, T116, T117, pH_in_ggg(T115, T116, T117))
pH_in_ggg(T115, T116, T117) → U18_ggg(T115, T116, T117, lessJ_in_gg(T115, T116))
lessJ_in_gg(0, T126) → lessJ_out_gg(0, T126)
lessJ_in_gg(s(T131), T132) → U7_gg(T131, T132, lessI_in_gg(T131, T132))
lessI_in_gg(0, s(T139)) → lessI_out_gg(0, s(T139))
lessI_in_gg(s(T144), s(T145)) → U6_gg(T144, T145, lessI_in_gg(T144, T145))
U6_gg(T144, T145, lessI_out_gg(T144, T145)) → lessI_out_gg(s(T144), s(T145))
U7_gg(T131, T132, lessI_out_gg(T131, T132)) → lessJ_out_gg(s(T131), T132)
U18_ggg(T115, T116, T117, lessJ_out_gg(T115, T116)) → U19_ggg(T115, T116, T117, orderedG_in_gg(T116, T117))
U19_ggg(T115, T116, T117, orderedG_out_gg(T116, T117)) → pH_out_ggg(T115, T116, T117)
U5_gg(T115, T116, T117, pH_out_ggg(T115, T116, T117)) → orderedG_out_gg(T115, .(T116, T117))
U13_gag(T57, T76, T26, orderedG_out_gg(T26, T76)) → pL_out_gag(T57, T76, T26)
U11_ggaag(T23, T24, T57, T25, T26, pL_out_gag(T57, T25, T26)) → pK_out_ggaag(T23, T24, T57, T25, T26)
U9_aaagaa(T23, T26, T24, T14, X25, T25, pK_out_ggaag(T23, T24, X25, T25, T26)) → pB_out_aaagaa(T23, T26, T24, T14, X25, T25)
U1_ga(T14, T17, T18, pB_out_aaagaa(X23, T17, X24, T14, X25, T18)) → ssA_out_ga(T14, .(T17, T18))
PF_IN_AAAGAA(T92, T86, T93, T83, X109, T94) → U14_AAAGAA(T92, T86, T93, T83, X109, T94, appC_in_aaag(T92, T86, T93, T83))
U14_AAAGAA(T92, T86, T93, T83, X109, T94, appC_out_aaag(T92, T86, T93, T83)) → PM_IN_GGAA(T92, T93, X109, T94)
PM_IN_GGAA(T92, T93, T101, T94) → U16_GGAA(T92, T93, T101, T94, appD_in_gga(T92, T93, T101))
U16_GGAA(T92, T93, T101, T94, appD_out_gga(T92, T93, T101)) → PERME_IN_GA(T101, T94)
PERME_IN_GA(T83, .(T86, T87)) → PF_IN_AAAGAA(X107, T86, X108, T83, X109, T87)
appC_in_aaag([], T39, T40, .(T39, T40)) → appC_out_aaag([], T39, T40, .(T39, T40))
appC_in_aaag(.(T48, X63), T50, X64, .(T48, T49)) → U2_aaag(T48, X63, T50, X64, T49, appC_in_aaag(X63, T50, X64, T49))
appD_in_gga([], T64, T64) → appD_out_gga([], T64, T64)
appD_in_gga(.(T71, T72), T73, .(T71, X92)) → U3_gga(T71, T72, T73, X92, appD_in_gga(T72, T73, X92))
U2_aaag(T48, X63, T50, X64, T49, appC_out_aaag(X63, T50, X64, T49)) → appC_out_aaag(.(T48, X63), T50, X64, .(T48, T49))
U3_gga(T71, T72, T73, X92, appD_out_gga(T72, T73, X92)) → appD_out_gga(.(T71, T72), T73, .(T71, X92))
PF_IN_AAAGAA(T83) → U14_AAAGAA(T83, appC_in_aaag(T83))
U14_AAAGAA(T83, appC_out_aaag(T92, T86, T93, T83)) → PM_IN_GGAA(T92, T93)
PM_IN_GGAA(T92, T93) → U16_GGAA(T92, T93, appD_in_gga(T92, T93))
U16_GGAA(T92, T93, appD_out_gga(T92, T93, T101)) → PERME_IN_GA(T101)
PERME_IN_GA(T83) → PF_IN_AAAGAA(T83)
appC_in_aaag(.(T39, T40)) → appC_out_aaag([], T39, T40, .(T39, T40))
appC_in_aaag(.(T48, T49)) → U2_aaag(T48, T49, appC_in_aaag(T49))
appD_in_gga([], T64) → appD_out_gga([], T64, T64)
appD_in_gga(.(T71, T72), T73) → U3_gga(T71, T72, T73, appD_in_gga(T72, T73))
U2_aaag(T48, T49, appC_out_aaag(X63, T50, X64, T49)) → appC_out_aaag(.(T48, X63), T50, X64, .(T48, T49))
U3_gga(T71, T72, T73, appD_out_gga(T72, T73, X92)) → appD_out_gga(.(T71, T72), T73, .(T71, X92))
appC_in_aaag(x0)
appD_in_gga(x0, x1)
U2_aaag(x0, x1, x2)
U3_gga(x0, x1, x2, x3)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PERME_IN_GA(T83) → PF_IN_AAAGAA(T83)
POL(.(x1, x2)) = 1 + x2
POL(PERME_IN_GA(x1)) = 1 + x1
POL(PF_IN_AAAGAA(x1)) = x1
POL(PM_IN_GGAA(x1, x2)) = x1 + x2
POL(U14_AAAGAA(x1, x2)) = x2
POL(U16_GGAA(x1, x2, x3)) = x3
POL(U2_aaag(x1, x2, x3)) = 1 + x3
POL(U3_gga(x1, x2, x3, x4)) = 1 + x4
POL([]) = 1
POL(appC_in_aaag(x1)) = x1
POL(appC_out_aaag(x1, x2, x3, x4)) = x1 + x3
POL(appD_in_gga(x1, x2)) = x1 + x2
POL(appD_out_gga(x1, x2, x3)) = 1 + x3
appC_in_aaag(.(T39, T40)) → appC_out_aaag([], T39, T40, .(T39, T40))
appC_in_aaag(.(T48, T49)) → U2_aaag(T48, T49, appC_in_aaag(T49))
appD_in_gga([], T64) → appD_out_gga([], T64, T64)
appD_in_gga(.(T71, T72), T73) → U3_gga(T71, T72, T73, appD_in_gga(T72, T73))
U2_aaag(T48, T49, appC_out_aaag(X63, T50, X64, T49)) → appC_out_aaag(.(T48, X63), T50, X64, .(T48, T49))
U3_gga(T71, T72, T73, appD_out_gga(T72, T73, X92)) → appD_out_gga(.(T71, T72), T73, .(T71, X92))
PF_IN_AAAGAA(T83) → U14_AAAGAA(T83, appC_in_aaag(T83))
U14_AAAGAA(T83, appC_out_aaag(T92, T86, T93, T83)) → PM_IN_GGAA(T92, T93)
PM_IN_GGAA(T92, T93) → U16_GGAA(T92, T93, appD_in_gga(T92, T93))
U16_GGAA(T92, T93, appD_out_gga(T92, T93, T101)) → PERME_IN_GA(T101)
appC_in_aaag(.(T39, T40)) → appC_out_aaag([], T39, T40, .(T39, T40))
appC_in_aaag(.(T48, T49)) → U2_aaag(T48, T49, appC_in_aaag(T49))
appD_in_gga([], T64) → appD_out_gga([], T64, T64)
appD_in_gga(.(T71, T72), T73) → U3_gga(T71, T72, T73, appD_in_gga(T72, T73))
U2_aaag(T48, T49, appC_out_aaag(X63, T50, X64, T49)) → appC_out_aaag(.(T48, X63), T50, X64, .(T48, T49))
U3_gga(T71, T72, T73, appD_out_gga(T72, T73, X92)) → appD_out_gga(.(T71, T72), T73, .(T71, X92))
appC_in_aaag(x0)
appD_in_gga(x0, x1)
U2_aaag(x0, x1, x2)
U3_gga(x0, x1, x2, x3)