(0) Obligation:

Clauses:

minsort([], []).
minsort(L, .(X, L1)) :- ','(min1(X, L), ','(remove(X, L, L2), minsort(L2, L1))).
min1(M, .(X, L)) :- min2(X, M, L).
min2(X, X, []).
min2(X, A, .(M, L)) :- ','(min(X, M, B), min2(B, A, L)).
min(X, Y, X) :- le(X, Y).
min(X, Y, Y) :- gt(X, Y).
remove(N, .(N, L), L).
remove(N, .(M, L), .(M, L1)) :- ','(notEq(N, M), remove(N, L, L1)).
gt(s(X), s(Y)) :- gt(X, Y).
gt(s(X), 0).
le(s(X), s(Y)) :- le(X, Y).
le(0, s(Y)).
le(0, 0).
notEq(s(X), s(Y)) :- notEq(X, Y).
notEq(s(X), 0).
notEq(0, s(X)).

Query: minsort(g,a)

(1) PrologToPiTRSViaGraphTransformerProof (SOUND transformation)

Transformed Prolog program to (Pi-)TRS.

(2) Obligation:

Pi-finite rewrite system:
The TRS R consists of the following rules:

minsortA_in_ga([], []) → minsortA_out_ga([], [])
minsortA_in_ga(.(T25, T26), .(T27, T28)) → U1_ga(T25, T26, T27, T28, pB_in_gagaa(T25, T27, T26, X17, T28))
pB_in_gagaa(T25, T31, T26, X17, T32) → U10_gagaa(T25, T31, T26, X17, T32, min2C_in_gag(T25, T31, T26))
min2C_in_gag(T39, T39, []) → min2C_out_gag(T39, T39, [])
min2C_in_gag(T48, T52, .(T50, T51)) → U2_gag(T48, T52, T50, T51, pD_in_ggaag(T48, T50, X49, T52, T51))
pD_in_ggaag(T48, T50, T55, T52, T51) → U14_ggaag(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
minJ_in_gga(T70, T71, T70) → U7_gga(T70, T71, leE_in_gg(T70, T71))
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
minJ_in_gga(T97, T98, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
U14_ggaag(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → U15_ggaag(T48, T50, T55, T52, T51, min2C_in_gag(T55, T52, T51))
U15_ggaag(T48, T50, T55, T52, T51, min2C_out_gag(T55, T52, T51)) → pD_out_ggaag(T48, T50, T55, T52, T51)
U2_gag(T48, T52, T50, T51, pD_out_ggaag(T48, T50, X49, T52, T51)) → min2C_out_gag(T48, T52, .(T50, T51))
U10_gagaa(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → U11_gagaa(T25, T31, T26, X17, T32, pL_in_gggaa(T31, T25, T26, X17, T32))
pL_in_gggaa(T31, T25, T26, T122, T32) → U12_gggaa(T31, T25, T26, T122, T32, removeH_in_ggga(T31, T25, T26, T122))
removeH_in_ggga(T135, T135, T136, T136) → removeH_out_ggga(T135, T135, T136, T136)
removeH_in_ggga(T145, T146, T147, .(T146, X148)) → U6_ggga(T145, T146, T147, X148, pI_in_ggga(T145, T146, T147, X148))
pI_in_ggga(T145, T146, T147, X148) → U16_ggga(T145, T146, T147, X148, notEqG_in_gg(T145, T146))
notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))
U16_ggga(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → U17_ggga(T145, T146, T147, X148, removeK_in_gga(T145, T147, X148))
removeK_in_gga(T184, .(T184, T185), T185) → removeK_out_gga(T184, .(T184, T185), T185)
removeK_in_gga(T192, .(T193, T194), .(T193, X201)) → U9_gga(T192, T193, T194, X201, pI_in_ggga(T192, T193, T194, X201))
U9_gga(T192, T193, T194, X201, pI_out_ggga(T192, T193, T194, X201)) → removeK_out_gga(T192, .(T193, T194), .(T193, X201))
U17_ggga(T145, T146, T147, X148, removeK_out_gga(T145, T147, X148)) → pI_out_ggga(T145, T146, T147, X148)
U6_ggga(T145, T146, T147, X148, pI_out_ggga(T145, T146, T147, X148)) → removeH_out_ggga(T145, T146, T147, .(T146, X148))
U12_gggaa(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → U13_gggaa(T31, T25, T26, T122, T32, minsortA_in_ga(T122, T32))
U13_gggaa(T31, T25, T26, T122, T32, minsortA_out_ga(T122, T32)) → pL_out_gggaa(T31, T25, T26, T122, T32)
U11_gagaa(T25, T31, T26, X17, T32, pL_out_gggaa(T31, T25, T26, X17, T32)) → pB_out_gagaa(T25, T31, T26, X17, T32)
U1_ga(T25, T26, T27, T28, pB_out_gagaa(T25, T27, T26, X17, T28)) → minsortA_out_ga(.(T25, T26), .(T27, T28))

The argument filtering Pi contains the following mapping:
minsortA_in_ga(x1, x2)  =  minsortA_in_ga(x1)
[]  =  []
minsortA_out_ga(x1, x2)  =  minsortA_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_gagaa(x1, x2, x3, x4, x5)  =  pB_in_gagaa(x1, x3)
U10_gagaa(x1, x2, x3, x4, x5, x6)  =  U10_gagaa(x1, x3, x6)
min2C_in_gag(x1, x2, x3)  =  min2C_in_gag(x1, x3)
min2C_out_gag(x1, x2, x3)  =  min2C_out_gag(x1, x2, x3)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x1, x3, x4, x5)
pD_in_ggaag(x1, x2, x3, x4, x5)  =  pD_in_ggaag(x1, x2, x5)
U14_ggaag(x1, x2, x3, x4, x5, x6)  =  U14_ggaag(x1, x2, x5, x6)
minJ_in_gga(x1, x2, x3)  =  minJ_in_gga(x1, x2)
U7_gga(x1, x2, x3)  =  U7_gga(x1, x2, x3)
leE_in_gg(x1, x2)  =  leE_in_gg(x1, x2)
s(x1)  =  s(x1)
U3_gg(x1, x2, x3)  =  U3_gg(x1, x2, x3)
0  =  0
leE_out_gg(x1, x2)  =  leE_out_gg(x1, x2)
minJ_out_gga(x1, x2, x3)  =  minJ_out_gga(x1, x2, x3)
U8_gga(x1, x2, x3)  =  U8_gga(x1, x2, x3)
gtF_in_gg(x1, x2)  =  gtF_in_gg(x1, x2)
U4_gg(x1, x2, x3)  =  U4_gg(x1, x2, x3)
gtF_out_gg(x1, x2)  =  gtF_out_gg(x1, x2)
U15_ggaag(x1, x2, x3, x4, x5, x6)  =  U15_ggaag(x1, x2, x3, x5, x6)
pD_out_ggaag(x1, x2, x3, x4, x5)  =  pD_out_ggaag(x1, x2, x3, x4, x5)
U11_gagaa(x1, x2, x3, x4, x5, x6)  =  U11_gagaa(x1, x2, x3, x6)
pL_in_gggaa(x1, x2, x3, x4, x5)  =  pL_in_gggaa(x1, x2, x3)
U12_gggaa(x1, x2, x3, x4, x5, x6)  =  U12_gggaa(x1, x2, x3, x6)
removeH_in_ggga(x1, x2, x3, x4)  =  removeH_in_ggga(x1, x2, x3)
removeH_out_ggga(x1, x2, x3, x4)  =  removeH_out_ggga(x1, x2, x3, x4)
U6_ggga(x1, x2, x3, x4, x5)  =  U6_ggga(x1, x2, x3, x5)
pI_in_ggga(x1, x2, x3, x4)  =  pI_in_ggga(x1, x2, x3)
U16_ggga(x1, x2, x3, x4, x5)  =  U16_ggga(x1, x2, x3, x5)
notEqG_in_gg(x1, x2)  =  notEqG_in_gg(x1, x2)
U5_gg(x1, x2, x3)  =  U5_gg(x1, x2, x3)
notEqG_out_gg(x1, x2)  =  notEqG_out_gg(x1, x2)
U17_ggga(x1, x2, x3, x4, x5)  =  U17_ggga(x1, x2, x3, x5)
removeK_in_gga(x1, x2, x3)  =  removeK_in_gga(x1, x2)
removeK_out_gga(x1, x2, x3)  =  removeK_out_gga(x1, x2, x3)
U9_gga(x1, x2, x3, x4, x5)  =  U9_gga(x1, x2, x3, x5)
pI_out_ggga(x1, x2, x3, x4)  =  pI_out_ggga(x1, x2, x3, x4)
U13_gggaa(x1, x2, x3, x4, x5, x6)  =  U13_gggaa(x1, x2, x3, x4, x6)
pL_out_gggaa(x1, x2, x3, x4, x5)  =  pL_out_gggaa(x1, x2, x3, x4, x5)
pB_out_gagaa(x1, x2, x3, x4, x5)  =  pB_out_gagaa(x1, x2, x3, x4, x5)

(3) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:

MINSORTA_IN_GA(.(T25, T26), .(T27, T28)) → U1_GA(T25, T26, T27, T28, pB_in_gagaa(T25, T27, T26, X17, T28))
MINSORTA_IN_GA(.(T25, T26), .(T27, T28)) → PB_IN_GAGAA(T25, T27, T26, X17, T28)
PB_IN_GAGAA(T25, T31, T26, X17, T32) → U10_GAGAA(T25, T31, T26, X17, T32, min2C_in_gag(T25, T31, T26))
PB_IN_GAGAA(T25, T31, T26, X17, T32) → MIN2C_IN_GAG(T25, T31, T26)
MIN2C_IN_GAG(T48, T52, .(T50, T51)) → U2_GAG(T48, T52, T50, T51, pD_in_ggaag(T48, T50, X49, T52, T51))
MIN2C_IN_GAG(T48, T52, .(T50, T51)) → PD_IN_GGAAG(T48, T50, X49, T52, T51)
PD_IN_GGAAG(T48, T50, T55, T52, T51) → U14_GGAAG(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
PD_IN_GGAAG(T48, T50, T55, T52, T51) → MINJ_IN_GGA(T48, T50, T55)
MINJ_IN_GGA(T70, T71, T70) → U7_GGA(T70, T71, leE_in_gg(T70, T71))
MINJ_IN_GGA(T70, T71, T70) → LEE_IN_GG(T70, T71)
LEE_IN_GG(s(T82), s(T83)) → U3_GG(T82, T83, leE_in_gg(T82, T83))
LEE_IN_GG(s(T82), s(T83)) → LEE_IN_GG(T82, T83)
MINJ_IN_GGA(T97, T98, T98) → U8_GGA(T97, T98, gtF_in_gg(T97, T98))
MINJ_IN_GGA(T97, T98, T98) → GTF_IN_GG(T97, T98)
GTF_IN_GG(s(T109), s(T110)) → U4_GG(T109, T110, gtF_in_gg(T109, T110))
GTF_IN_GG(s(T109), s(T110)) → GTF_IN_GG(T109, T110)
U14_GGAAG(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → U15_GGAAG(T48, T50, T55, T52, T51, min2C_in_gag(T55, T52, T51))
U14_GGAAG(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → MIN2C_IN_GAG(T55, T52, T51)
U10_GAGAA(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → U11_GAGAA(T25, T31, T26, X17, T32, pL_in_gggaa(T31, T25, T26, X17, T32))
U10_GAGAA(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → PL_IN_GGGAA(T31, T25, T26, X17, T32)
PL_IN_GGGAA(T31, T25, T26, T122, T32) → U12_GGGAA(T31, T25, T26, T122, T32, removeH_in_ggga(T31, T25, T26, T122))
PL_IN_GGGAA(T31, T25, T26, T122, T32) → REMOVEH_IN_GGGA(T31, T25, T26, T122)
REMOVEH_IN_GGGA(T145, T146, T147, .(T146, X148)) → U6_GGGA(T145, T146, T147, X148, pI_in_ggga(T145, T146, T147, X148))
REMOVEH_IN_GGGA(T145, T146, T147, .(T146, X148)) → PI_IN_GGGA(T145, T146, T147, X148)
PI_IN_GGGA(T145, T146, T147, X148) → U16_GGGA(T145, T146, T147, X148, notEqG_in_gg(T145, T146))
PI_IN_GGGA(T145, T146, T147, X148) → NOTEQG_IN_GG(T145, T146)
NOTEQG_IN_GG(s(T160), s(T161)) → U5_GG(T160, T161, notEqG_in_gg(T160, T161))
NOTEQG_IN_GG(s(T160), s(T161)) → NOTEQG_IN_GG(T160, T161)
U16_GGGA(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → U17_GGGA(T145, T146, T147, X148, removeK_in_gga(T145, T147, X148))
U16_GGGA(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → REMOVEK_IN_GGA(T145, T147, X148)
REMOVEK_IN_GGA(T192, .(T193, T194), .(T193, X201)) → U9_GGA(T192, T193, T194, X201, pI_in_ggga(T192, T193, T194, X201))
REMOVEK_IN_GGA(T192, .(T193, T194), .(T193, X201)) → PI_IN_GGGA(T192, T193, T194, X201)
U12_GGGAA(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → U13_GGGAA(T31, T25, T26, T122, T32, minsortA_in_ga(T122, T32))
U12_GGGAA(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → MINSORTA_IN_GA(T122, T32)

The TRS R consists of the following rules:

minsortA_in_ga([], []) → minsortA_out_ga([], [])
minsortA_in_ga(.(T25, T26), .(T27, T28)) → U1_ga(T25, T26, T27, T28, pB_in_gagaa(T25, T27, T26, X17, T28))
pB_in_gagaa(T25, T31, T26, X17, T32) → U10_gagaa(T25, T31, T26, X17, T32, min2C_in_gag(T25, T31, T26))
min2C_in_gag(T39, T39, []) → min2C_out_gag(T39, T39, [])
min2C_in_gag(T48, T52, .(T50, T51)) → U2_gag(T48, T52, T50, T51, pD_in_ggaag(T48, T50, X49, T52, T51))
pD_in_ggaag(T48, T50, T55, T52, T51) → U14_ggaag(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
minJ_in_gga(T70, T71, T70) → U7_gga(T70, T71, leE_in_gg(T70, T71))
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
minJ_in_gga(T97, T98, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
U14_ggaag(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → U15_ggaag(T48, T50, T55, T52, T51, min2C_in_gag(T55, T52, T51))
U15_ggaag(T48, T50, T55, T52, T51, min2C_out_gag(T55, T52, T51)) → pD_out_ggaag(T48, T50, T55, T52, T51)
U2_gag(T48, T52, T50, T51, pD_out_ggaag(T48, T50, X49, T52, T51)) → min2C_out_gag(T48, T52, .(T50, T51))
U10_gagaa(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → U11_gagaa(T25, T31, T26, X17, T32, pL_in_gggaa(T31, T25, T26, X17, T32))
pL_in_gggaa(T31, T25, T26, T122, T32) → U12_gggaa(T31, T25, T26, T122, T32, removeH_in_ggga(T31, T25, T26, T122))
removeH_in_ggga(T135, T135, T136, T136) → removeH_out_ggga(T135, T135, T136, T136)
removeH_in_ggga(T145, T146, T147, .(T146, X148)) → U6_ggga(T145, T146, T147, X148, pI_in_ggga(T145, T146, T147, X148))
pI_in_ggga(T145, T146, T147, X148) → U16_ggga(T145, T146, T147, X148, notEqG_in_gg(T145, T146))
notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))
U16_ggga(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → U17_ggga(T145, T146, T147, X148, removeK_in_gga(T145, T147, X148))
removeK_in_gga(T184, .(T184, T185), T185) → removeK_out_gga(T184, .(T184, T185), T185)
removeK_in_gga(T192, .(T193, T194), .(T193, X201)) → U9_gga(T192, T193, T194, X201, pI_in_ggga(T192, T193, T194, X201))
U9_gga(T192, T193, T194, X201, pI_out_ggga(T192, T193, T194, X201)) → removeK_out_gga(T192, .(T193, T194), .(T193, X201))
U17_ggga(T145, T146, T147, X148, removeK_out_gga(T145, T147, X148)) → pI_out_ggga(T145, T146, T147, X148)
U6_ggga(T145, T146, T147, X148, pI_out_ggga(T145, T146, T147, X148)) → removeH_out_ggga(T145, T146, T147, .(T146, X148))
U12_gggaa(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → U13_gggaa(T31, T25, T26, T122, T32, minsortA_in_ga(T122, T32))
U13_gggaa(T31, T25, T26, T122, T32, minsortA_out_ga(T122, T32)) → pL_out_gggaa(T31, T25, T26, T122, T32)
U11_gagaa(T25, T31, T26, X17, T32, pL_out_gggaa(T31, T25, T26, X17, T32)) → pB_out_gagaa(T25, T31, T26, X17, T32)
U1_ga(T25, T26, T27, T28, pB_out_gagaa(T25, T27, T26, X17, T28)) → minsortA_out_ga(.(T25, T26), .(T27, T28))

The argument filtering Pi contains the following mapping:
minsortA_in_ga(x1, x2)  =  minsortA_in_ga(x1)
[]  =  []
minsortA_out_ga(x1, x2)  =  minsortA_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_gagaa(x1, x2, x3, x4, x5)  =  pB_in_gagaa(x1, x3)
U10_gagaa(x1, x2, x3, x4, x5, x6)  =  U10_gagaa(x1, x3, x6)
min2C_in_gag(x1, x2, x3)  =  min2C_in_gag(x1, x3)
min2C_out_gag(x1, x2, x3)  =  min2C_out_gag(x1, x2, x3)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x1, x3, x4, x5)
pD_in_ggaag(x1, x2, x3, x4, x5)  =  pD_in_ggaag(x1, x2, x5)
U14_ggaag(x1, x2, x3, x4, x5, x6)  =  U14_ggaag(x1, x2, x5, x6)
minJ_in_gga(x1, x2, x3)  =  minJ_in_gga(x1, x2)
U7_gga(x1, x2, x3)  =  U7_gga(x1, x2, x3)
leE_in_gg(x1, x2)  =  leE_in_gg(x1, x2)
s(x1)  =  s(x1)
U3_gg(x1, x2, x3)  =  U3_gg(x1, x2, x3)
0  =  0
leE_out_gg(x1, x2)  =  leE_out_gg(x1, x2)
minJ_out_gga(x1, x2, x3)  =  minJ_out_gga(x1, x2, x3)
U8_gga(x1, x2, x3)  =  U8_gga(x1, x2, x3)
gtF_in_gg(x1, x2)  =  gtF_in_gg(x1, x2)
U4_gg(x1, x2, x3)  =  U4_gg(x1, x2, x3)
gtF_out_gg(x1, x2)  =  gtF_out_gg(x1, x2)
U15_ggaag(x1, x2, x3, x4, x5, x6)  =  U15_ggaag(x1, x2, x3, x5, x6)
pD_out_ggaag(x1, x2, x3, x4, x5)  =  pD_out_ggaag(x1, x2, x3, x4, x5)
U11_gagaa(x1, x2, x3, x4, x5, x6)  =  U11_gagaa(x1, x2, x3, x6)
pL_in_gggaa(x1, x2, x3, x4, x5)  =  pL_in_gggaa(x1, x2, x3)
U12_gggaa(x1, x2, x3, x4, x5, x6)  =  U12_gggaa(x1, x2, x3, x6)
removeH_in_ggga(x1, x2, x3, x4)  =  removeH_in_ggga(x1, x2, x3)
removeH_out_ggga(x1, x2, x3, x4)  =  removeH_out_ggga(x1, x2, x3, x4)
U6_ggga(x1, x2, x3, x4, x5)  =  U6_ggga(x1, x2, x3, x5)
pI_in_ggga(x1, x2, x3, x4)  =  pI_in_ggga(x1, x2, x3)
U16_ggga(x1, x2, x3, x4, x5)  =  U16_ggga(x1, x2, x3, x5)
notEqG_in_gg(x1, x2)  =  notEqG_in_gg(x1, x2)
U5_gg(x1, x2, x3)  =  U5_gg(x1, x2, x3)
notEqG_out_gg(x1, x2)  =  notEqG_out_gg(x1, x2)
U17_ggga(x1, x2, x3, x4, x5)  =  U17_ggga(x1, x2, x3, x5)
removeK_in_gga(x1, x2, x3)  =  removeK_in_gga(x1, x2)
removeK_out_gga(x1, x2, x3)  =  removeK_out_gga(x1, x2, x3)
U9_gga(x1, x2, x3, x4, x5)  =  U9_gga(x1, x2, x3, x5)
pI_out_ggga(x1, x2, x3, x4)  =  pI_out_ggga(x1, x2, x3, x4)
U13_gggaa(x1, x2, x3, x4, x5, x6)  =  U13_gggaa(x1, x2, x3, x4, x6)
pL_out_gggaa(x1, x2, x3, x4, x5)  =  pL_out_gggaa(x1, x2, x3, x4, x5)
pB_out_gagaa(x1, x2, x3, x4, x5)  =  pB_out_gagaa(x1, x2, x3, x4, x5)
MINSORTA_IN_GA(x1, x2)  =  MINSORTA_IN_GA(x1)
U1_GA(x1, x2, x3, x4, x5)  =  U1_GA(x1, x2, x5)
PB_IN_GAGAA(x1, x2, x3, x4, x5)  =  PB_IN_GAGAA(x1, x3)
U10_GAGAA(x1, x2, x3, x4, x5, x6)  =  U10_GAGAA(x1, x3, x6)
MIN2C_IN_GAG(x1, x2, x3)  =  MIN2C_IN_GAG(x1, x3)
U2_GAG(x1, x2, x3, x4, x5)  =  U2_GAG(x1, x3, x4, x5)
PD_IN_GGAAG(x1, x2, x3, x4, x5)  =  PD_IN_GGAAG(x1, x2, x5)
U14_GGAAG(x1, x2, x3, x4, x5, x6)  =  U14_GGAAG(x1, x2, x5, x6)
MINJ_IN_GGA(x1, x2, x3)  =  MINJ_IN_GGA(x1, x2)
U7_GGA(x1, x2, x3)  =  U7_GGA(x1, x2, x3)
LEE_IN_GG(x1, x2)  =  LEE_IN_GG(x1, x2)
U3_GG(x1, x2, x3)  =  U3_GG(x1, x2, x3)
U8_GGA(x1, x2, x3)  =  U8_GGA(x1, x2, x3)
GTF_IN_GG(x1, x2)  =  GTF_IN_GG(x1, x2)
U4_GG(x1, x2, x3)  =  U4_GG(x1, x2, x3)
U15_GGAAG(x1, x2, x3, x4, x5, x6)  =  U15_GGAAG(x1, x2, x3, x5, x6)
U11_GAGAA(x1, x2, x3, x4, x5, x6)  =  U11_GAGAA(x1, x2, x3, x6)
PL_IN_GGGAA(x1, x2, x3, x4, x5)  =  PL_IN_GGGAA(x1, x2, x3)
U12_GGGAA(x1, x2, x3, x4, x5, x6)  =  U12_GGGAA(x1, x2, x3, x6)
REMOVEH_IN_GGGA(x1, x2, x3, x4)  =  REMOVEH_IN_GGGA(x1, x2, x3)
U6_GGGA(x1, x2, x3, x4, x5)  =  U6_GGGA(x1, x2, x3, x5)
PI_IN_GGGA(x1, x2, x3, x4)  =  PI_IN_GGGA(x1, x2, x3)
U16_GGGA(x1, x2, x3, x4, x5)  =  U16_GGGA(x1, x2, x3, x5)
NOTEQG_IN_GG(x1, x2)  =  NOTEQG_IN_GG(x1, x2)
U5_GG(x1, x2, x3)  =  U5_GG(x1, x2, x3)
U17_GGGA(x1, x2, x3, x4, x5)  =  U17_GGGA(x1, x2, x3, x5)
REMOVEK_IN_GGA(x1, x2, x3)  =  REMOVEK_IN_GGA(x1, x2)
U9_GGA(x1, x2, x3, x4, x5)  =  U9_GGA(x1, x2, x3, x5)
U13_GGGAA(x1, x2, x3, x4, x5, x6)  =  U13_GGGAA(x1, x2, x3, x4, x6)

We have to consider all (P,R,Pi)-chains

(4) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

MINSORTA_IN_GA(.(T25, T26), .(T27, T28)) → U1_GA(T25, T26, T27, T28, pB_in_gagaa(T25, T27, T26, X17, T28))
MINSORTA_IN_GA(.(T25, T26), .(T27, T28)) → PB_IN_GAGAA(T25, T27, T26, X17, T28)
PB_IN_GAGAA(T25, T31, T26, X17, T32) → U10_GAGAA(T25, T31, T26, X17, T32, min2C_in_gag(T25, T31, T26))
PB_IN_GAGAA(T25, T31, T26, X17, T32) → MIN2C_IN_GAG(T25, T31, T26)
MIN2C_IN_GAG(T48, T52, .(T50, T51)) → U2_GAG(T48, T52, T50, T51, pD_in_ggaag(T48, T50, X49, T52, T51))
MIN2C_IN_GAG(T48, T52, .(T50, T51)) → PD_IN_GGAAG(T48, T50, X49, T52, T51)
PD_IN_GGAAG(T48, T50, T55, T52, T51) → U14_GGAAG(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
PD_IN_GGAAG(T48, T50, T55, T52, T51) → MINJ_IN_GGA(T48, T50, T55)
MINJ_IN_GGA(T70, T71, T70) → U7_GGA(T70, T71, leE_in_gg(T70, T71))
MINJ_IN_GGA(T70, T71, T70) → LEE_IN_GG(T70, T71)
LEE_IN_GG(s(T82), s(T83)) → U3_GG(T82, T83, leE_in_gg(T82, T83))
LEE_IN_GG(s(T82), s(T83)) → LEE_IN_GG(T82, T83)
MINJ_IN_GGA(T97, T98, T98) → U8_GGA(T97, T98, gtF_in_gg(T97, T98))
MINJ_IN_GGA(T97, T98, T98) → GTF_IN_GG(T97, T98)
GTF_IN_GG(s(T109), s(T110)) → U4_GG(T109, T110, gtF_in_gg(T109, T110))
GTF_IN_GG(s(T109), s(T110)) → GTF_IN_GG(T109, T110)
U14_GGAAG(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → U15_GGAAG(T48, T50, T55, T52, T51, min2C_in_gag(T55, T52, T51))
U14_GGAAG(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → MIN2C_IN_GAG(T55, T52, T51)
U10_GAGAA(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → U11_GAGAA(T25, T31, T26, X17, T32, pL_in_gggaa(T31, T25, T26, X17, T32))
U10_GAGAA(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → PL_IN_GGGAA(T31, T25, T26, X17, T32)
PL_IN_GGGAA(T31, T25, T26, T122, T32) → U12_GGGAA(T31, T25, T26, T122, T32, removeH_in_ggga(T31, T25, T26, T122))
PL_IN_GGGAA(T31, T25, T26, T122, T32) → REMOVEH_IN_GGGA(T31, T25, T26, T122)
REMOVEH_IN_GGGA(T145, T146, T147, .(T146, X148)) → U6_GGGA(T145, T146, T147, X148, pI_in_ggga(T145, T146, T147, X148))
REMOVEH_IN_GGGA(T145, T146, T147, .(T146, X148)) → PI_IN_GGGA(T145, T146, T147, X148)
PI_IN_GGGA(T145, T146, T147, X148) → U16_GGGA(T145, T146, T147, X148, notEqG_in_gg(T145, T146))
PI_IN_GGGA(T145, T146, T147, X148) → NOTEQG_IN_GG(T145, T146)
NOTEQG_IN_GG(s(T160), s(T161)) → U5_GG(T160, T161, notEqG_in_gg(T160, T161))
NOTEQG_IN_GG(s(T160), s(T161)) → NOTEQG_IN_GG(T160, T161)
U16_GGGA(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → U17_GGGA(T145, T146, T147, X148, removeK_in_gga(T145, T147, X148))
U16_GGGA(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → REMOVEK_IN_GGA(T145, T147, X148)
REMOVEK_IN_GGA(T192, .(T193, T194), .(T193, X201)) → U9_GGA(T192, T193, T194, X201, pI_in_ggga(T192, T193, T194, X201))
REMOVEK_IN_GGA(T192, .(T193, T194), .(T193, X201)) → PI_IN_GGGA(T192, T193, T194, X201)
U12_GGGAA(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → U13_GGGAA(T31, T25, T26, T122, T32, minsortA_in_ga(T122, T32))
U12_GGGAA(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → MINSORTA_IN_GA(T122, T32)

The TRS R consists of the following rules:

minsortA_in_ga([], []) → minsortA_out_ga([], [])
minsortA_in_ga(.(T25, T26), .(T27, T28)) → U1_ga(T25, T26, T27, T28, pB_in_gagaa(T25, T27, T26, X17, T28))
pB_in_gagaa(T25, T31, T26, X17, T32) → U10_gagaa(T25, T31, T26, X17, T32, min2C_in_gag(T25, T31, T26))
min2C_in_gag(T39, T39, []) → min2C_out_gag(T39, T39, [])
min2C_in_gag(T48, T52, .(T50, T51)) → U2_gag(T48, T52, T50, T51, pD_in_ggaag(T48, T50, X49, T52, T51))
pD_in_ggaag(T48, T50, T55, T52, T51) → U14_ggaag(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
minJ_in_gga(T70, T71, T70) → U7_gga(T70, T71, leE_in_gg(T70, T71))
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
minJ_in_gga(T97, T98, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
U14_ggaag(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → U15_ggaag(T48, T50, T55, T52, T51, min2C_in_gag(T55, T52, T51))
U15_ggaag(T48, T50, T55, T52, T51, min2C_out_gag(T55, T52, T51)) → pD_out_ggaag(T48, T50, T55, T52, T51)
U2_gag(T48, T52, T50, T51, pD_out_ggaag(T48, T50, X49, T52, T51)) → min2C_out_gag(T48, T52, .(T50, T51))
U10_gagaa(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → U11_gagaa(T25, T31, T26, X17, T32, pL_in_gggaa(T31, T25, T26, X17, T32))
pL_in_gggaa(T31, T25, T26, T122, T32) → U12_gggaa(T31, T25, T26, T122, T32, removeH_in_ggga(T31, T25, T26, T122))
removeH_in_ggga(T135, T135, T136, T136) → removeH_out_ggga(T135, T135, T136, T136)
removeH_in_ggga(T145, T146, T147, .(T146, X148)) → U6_ggga(T145, T146, T147, X148, pI_in_ggga(T145, T146, T147, X148))
pI_in_ggga(T145, T146, T147, X148) → U16_ggga(T145, T146, T147, X148, notEqG_in_gg(T145, T146))
notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))
U16_ggga(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → U17_ggga(T145, T146, T147, X148, removeK_in_gga(T145, T147, X148))
removeK_in_gga(T184, .(T184, T185), T185) → removeK_out_gga(T184, .(T184, T185), T185)
removeK_in_gga(T192, .(T193, T194), .(T193, X201)) → U9_gga(T192, T193, T194, X201, pI_in_ggga(T192, T193, T194, X201))
U9_gga(T192, T193, T194, X201, pI_out_ggga(T192, T193, T194, X201)) → removeK_out_gga(T192, .(T193, T194), .(T193, X201))
U17_ggga(T145, T146, T147, X148, removeK_out_gga(T145, T147, X148)) → pI_out_ggga(T145, T146, T147, X148)
U6_ggga(T145, T146, T147, X148, pI_out_ggga(T145, T146, T147, X148)) → removeH_out_ggga(T145, T146, T147, .(T146, X148))
U12_gggaa(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → U13_gggaa(T31, T25, T26, T122, T32, minsortA_in_ga(T122, T32))
U13_gggaa(T31, T25, T26, T122, T32, minsortA_out_ga(T122, T32)) → pL_out_gggaa(T31, T25, T26, T122, T32)
U11_gagaa(T25, T31, T26, X17, T32, pL_out_gggaa(T31, T25, T26, X17, T32)) → pB_out_gagaa(T25, T31, T26, X17, T32)
U1_ga(T25, T26, T27, T28, pB_out_gagaa(T25, T27, T26, X17, T28)) → minsortA_out_ga(.(T25, T26), .(T27, T28))

The argument filtering Pi contains the following mapping:
minsortA_in_ga(x1, x2)  =  minsortA_in_ga(x1)
[]  =  []
minsortA_out_ga(x1, x2)  =  minsortA_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_gagaa(x1, x2, x3, x4, x5)  =  pB_in_gagaa(x1, x3)
U10_gagaa(x1, x2, x3, x4, x5, x6)  =  U10_gagaa(x1, x3, x6)
min2C_in_gag(x1, x2, x3)  =  min2C_in_gag(x1, x3)
min2C_out_gag(x1, x2, x3)  =  min2C_out_gag(x1, x2, x3)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x1, x3, x4, x5)
pD_in_ggaag(x1, x2, x3, x4, x5)  =  pD_in_ggaag(x1, x2, x5)
U14_ggaag(x1, x2, x3, x4, x5, x6)  =  U14_ggaag(x1, x2, x5, x6)
minJ_in_gga(x1, x2, x3)  =  minJ_in_gga(x1, x2)
U7_gga(x1, x2, x3)  =  U7_gga(x1, x2, x3)
leE_in_gg(x1, x2)  =  leE_in_gg(x1, x2)
s(x1)  =  s(x1)
U3_gg(x1, x2, x3)  =  U3_gg(x1, x2, x3)
0  =  0
leE_out_gg(x1, x2)  =  leE_out_gg(x1, x2)
minJ_out_gga(x1, x2, x3)  =  minJ_out_gga(x1, x2, x3)
U8_gga(x1, x2, x3)  =  U8_gga(x1, x2, x3)
gtF_in_gg(x1, x2)  =  gtF_in_gg(x1, x2)
U4_gg(x1, x2, x3)  =  U4_gg(x1, x2, x3)
gtF_out_gg(x1, x2)  =  gtF_out_gg(x1, x2)
U15_ggaag(x1, x2, x3, x4, x5, x6)  =  U15_ggaag(x1, x2, x3, x5, x6)
pD_out_ggaag(x1, x2, x3, x4, x5)  =  pD_out_ggaag(x1, x2, x3, x4, x5)
U11_gagaa(x1, x2, x3, x4, x5, x6)  =  U11_gagaa(x1, x2, x3, x6)
pL_in_gggaa(x1, x2, x3, x4, x5)  =  pL_in_gggaa(x1, x2, x3)
U12_gggaa(x1, x2, x3, x4, x5, x6)  =  U12_gggaa(x1, x2, x3, x6)
removeH_in_ggga(x1, x2, x3, x4)  =  removeH_in_ggga(x1, x2, x3)
removeH_out_ggga(x1, x2, x3, x4)  =  removeH_out_ggga(x1, x2, x3, x4)
U6_ggga(x1, x2, x3, x4, x5)  =  U6_ggga(x1, x2, x3, x5)
pI_in_ggga(x1, x2, x3, x4)  =  pI_in_ggga(x1, x2, x3)
U16_ggga(x1, x2, x3, x4, x5)  =  U16_ggga(x1, x2, x3, x5)
notEqG_in_gg(x1, x2)  =  notEqG_in_gg(x1, x2)
U5_gg(x1, x2, x3)  =  U5_gg(x1, x2, x3)
notEqG_out_gg(x1, x2)  =  notEqG_out_gg(x1, x2)
U17_ggga(x1, x2, x3, x4, x5)  =  U17_ggga(x1, x2, x3, x5)
removeK_in_gga(x1, x2, x3)  =  removeK_in_gga(x1, x2)
removeK_out_gga(x1, x2, x3)  =  removeK_out_gga(x1, x2, x3)
U9_gga(x1, x2, x3, x4, x5)  =  U9_gga(x1, x2, x3, x5)
pI_out_ggga(x1, x2, x3, x4)  =  pI_out_ggga(x1, x2, x3, x4)
U13_gggaa(x1, x2, x3, x4, x5, x6)  =  U13_gggaa(x1, x2, x3, x4, x6)
pL_out_gggaa(x1, x2, x3, x4, x5)  =  pL_out_gggaa(x1, x2, x3, x4, x5)
pB_out_gagaa(x1, x2, x3, x4, x5)  =  pB_out_gagaa(x1, x2, x3, x4, x5)
MINSORTA_IN_GA(x1, x2)  =  MINSORTA_IN_GA(x1)
U1_GA(x1, x2, x3, x4, x5)  =  U1_GA(x1, x2, x5)
PB_IN_GAGAA(x1, x2, x3, x4, x5)  =  PB_IN_GAGAA(x1, x3)
U10_GAGAA(x1, x2, x3, x4, x5, x6)  =  U10_GAGAA(x1, x3, x6)
MIN2C_IN_GAG(x1, x2, x3)  =  MIN2C_IN_GAG(x1, x3)
U2_GAG(x1, x2, x3, x4, x5)  =  U2_GAG(x1, x3, x4, x5)
PD_IN_GGAAG(x1, x2, x3, x4, x5)  =  PD_IN_GGAAG(x1, x2, x5)
U14_GGAAG(x1, x2, x3, x4, x5, x6)  =  U14_GGAAG(x1, x2, x5, x6)
MINJ_IN_GGA(x1, x2, x3)  =  MINJ_IN_GGA(x1, x2)
U7_GGA(x1, x2, x3)  =  U7_GGA(x1, x2, x3)
LEE_IN_GG(x1, x2)  =  LEE_IN_GG(x1, x2)
U3_GG(x1, x2, x3)  =  U3_GG(x1, x2, x3)
U8_GGA(x1, x2, x3)  =  U8_GGA(x1, x2, x3)
GTF_IN_GG(x1, x2)  =  GTF_IN_GG(x1, x2)
U4_GG(x1, x2, x3)  =  U4_GG(x1, x2, x3)
U15_GGAAG(x1, x2, x3, x4, x5, x6)  =  U15_GGAAG(x1, x2, x3, x5, x6)
U11_GAGAA(x1, x2, x3, x4, x5, x6)  =  U11_GAGAA(x1, x2, x3, x6)
PL_IN_GGGAA(x1, x2, x3, x4, x5)  =  PL_IN_GGGAA(x1, x2, x3)
U12_GGGAA(x1, x2, x3, x4, x5, x6)  =  U12_GGGAA(x1, x2, x3, x6)
REMOVEH_IN_GGGA(x1, x2, x3, x4)  =  REMOVEH_IN_GGGA(x1, x2, x3)
U6_GGGA(x1, x2, x3, x4, x5)  =  U6_GGGA(x1, x2, x3, x5)
PI_IN_GGGA(x1, x2, x3, x4)  =  PI_IN_GGGA(x1, x2, x3)
U16_GGGA(x1, x2, x3, x4, x5)  =  U16_GGGA(x1, x2, x3, x5)
NOTEQG_IN_GG(x1, x2)  =  NOTEQG_IN_GG(x1, x2)
U5_GG(x1, x2, x3)  =  U5_GG(x1, x2, x3)
U17_GGGA(x1, x2, x3, x4, x5)  =  U17_GGGA(x1, x2, x3, x5)
REMOVEK_IN_GGA(x1, x2, x3)  =  REMOVEK_IN_GGA(x1, x2)
U9_GGA(x1, x2, x3, x4, x5)  =  U9_GGA(x1, x2, x3, x5)
U13_GGGAA(x1, x2, x3, x4, x5, x6)  =  U13_GGGAA(x1, x2, x3, x4, x6)

We have to consider all (P,R,Pi)-chains

(5) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 6 SCCs with 20 less nodes.

(6) Complex Obligation (AND)

(7) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

NOTEQG_IN_GG(s(T160), s(T161)) → NOTEQG_IN_GG(T160, T161)

The TRS R consists of the following rules:

minsortA_in_ga([], []) → minsortA_out_ga([], [])
minsortA_in_ga(.(T25, T26), .(T27, T28)) → U1_ga(T25, T26, T27, T28, pB_in_gagaa(T25, T27, T26, X17, T28))
pB_in_gagaa(T25, T31, T26, X17, T32) → U10_gagaa(T25, T31, T26, X17, T32, min2C_in_gag(T25, T31, T26))
min2C_in_gag(T39, T39, []) → min2C_out_gag(T39, T39, [])
min2C_in_gag(T48, T52, .(T50, T51)) → U2_gag(T48, T52, T50, T51, pD_in_ggaag(T48, T50, X49, T52, T51))
pD_in_ggaag(T48, T50, T55, T52, T51) → U14_ggaag(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
minJ_in_gga(T70, T71, T70) → U7_gga(T70, T71, leE_in_gg(T70, T71))
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
minJ_in_gga(T97, T98, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
U14_ggaag(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → U15_ggaag(T48, T50, T55, T52, T51, min2C_in_gag(T55, T52, T51))
U15_ggaag(T48, T50, T55, T52, T51, min2C_out_gag(T55, T52, T51)) → pD_out_ggaag(T48, T50, T55, T52, T51)
U2_gag(T48, T52, T50, T51, pD_out_ggaag(T48, T50, X49, T52, T51)) → min2C_out_gag(T48, T52, .(T50, T51))
U10_gagaa(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → U11_gagaa(T25, T31, T26, X17, T32, pL_in_gggaa(T31, T25, T26, X17, T32))
pL_in_gggaa(T31, T25, T26, T122, T32) → U12_gggaa(T31, T25, T26, T122, T32, removeH_in_ggga(T31, T25, T26, T122))
removeH_in_ggga(T135, T135, T136, T136) → removeH_out_ggga(T135, T135, T136, T136)
removeH_in_ggga(T145, T146, T147, .(T146, X148)) → U6_ggga(T145, T146, T147, X148, pI_in_ggga(T145, T146, T147, X148))
pI_in_ggga(T145, T146, T147, X148) → U16_ggga(T145, T146, T147, X148, notEqG_in_gg(T145, T146))
notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))
U16_ggga(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → U17_ggga(T145, T146, T147, X148, removeK_in_gga(T145, T147, X148))
removeK_in_gga(T184, .(T184, T185), T185) → removeK_out_gga(T184, .(T184, T185), T185)
removeK_in_gga(T192, .(T193, T194), .(T193, X201)) → U9_gga(T192, T193, T194, X201, pI_in_ggga(T192, T193, T194, X201))
U9_gga(T192, T193, T194, X201, pI_out_ggga(T192, T193, T194, X201)) → removeK_out_gga(T192, .(T193, T194), .(T193, X201))
U17_ggga(T145, T146, T147, X148, removeK_out_gga(T145, T147, X148)) → pI_out_ggga(T145, T146, T147, X148)
U6_ggga(T145, T146, T147, X148, pI_out_ggga(T145, T146, T147, X148)) → removeH_out_ggga(T145, T146, T147, .(T146, X148))
U12_gggaa(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → U13_gggaa(T31, T25, T26, T122, T32, minsortA_in_ga(T122, T32))
U13_gggaa(T31, T25, T26, T122, T32, minsortA_out_ga(T122, T32)) → pL_out_gggaa(T31, T25, T26, T122, T32)
U11_gagaa(T25, T31, T26, X17, T32, pL_out_gggaa(T31, T25, T26, X17, T32)) → pB_out_gagaa(T25, T31, T26, X17, T32)
U1_ga(T25, T26, T27, T28, pB_out_gagaa(T25, T27, T26, X17, T28)) → minsortA_out_ga(.(T25, T26), .(T27, T28))

The argument filtering Pi contains the following mapping:
minsortA_in_ga(x1, x2)  =  minsortA_in_ga(x1)
[]  =  []
minsortA_out_ga(x1, x2)  =  minsortA_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_gagaa(x1, x2, x3, x4, x5)  =  pB_in_gagaa(x1, x3)
U10_gagaa(x1, x2, x3, x4, x5, x6)  =  U10_gagaa(x1, x3, x6)
min2C_in_gag(x1, x2, x3)  =  min2C_in_gag(x1, x3)
min2C_out_gag(x1, x2, x3)  =  min2C_out_gag(x1, x2, x3)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x1, x3, x4, x5)
pD_in_ggaag(x1, x2, x3, x4, x5)  =  pD_in_ggaag(x1, x2, x5)
U14_ggaag(x1, x2, x3, x4, x5, x6)  =  U14_ggaag(x1, x2, x5, x6)
minJ_in_gga(x1, x2, x3)  =  minJ_in_gga(x1, x2)
U7_gga(x1, x2, x3)  =  U7_gga(x1, x2, x3)
leE_in_gg(x1, x2)  =  leE_in_gg(x1, x2)
s(x1)  =  s(x1)
U3_gg(x1, x2, x3)  =  U3_gg(x1, x2, x3)
0  =  0
leE_out_gg(x1, x2)  =  leE_out_gg(x1, x2)
minJ_out_gga(x1, x2, x3)  =  minJ_out_gga(x1, x2, x3)
U8_gga(x1, x2, x3)  =  U8_gga(x1, x2, x3)
gtF_in_gg(x1, x2)  =  gtF_in_gg(x1, x2)
U4_gg(x1, x2, x3)  =  U4_gg(x1, x2, x3)
gtF_out_gg(x1, x2)  =  gtF_out_gg(x1, x2)
U15_ggaag(x1, x2, x3, x4, x5, x6)  =  U15_ggaag(x1, x2, x3, x5, x6)
pD_out_ggaag(x1, x2, x3, x4, x5)  =  pD_out_ggaag(x1, x2, x3, x4, x5)
U11_gagaa(x1, x2, x3, x4, x5, x6)  =  U11_gagaa(x1, x2, x3, x6)
pL_in_gggaa(x1, x2, x3, x4, x5)  =  pL_in_gggaa(x1, x2, x3)
U12_gggaa(x1, x2, x3, x4, x5, x6)  =  U12_gggaa(x1, x2, x3, x6)
removeH_in_ggga(x1, x2, x3, x4)  =  removeH_in_ggga(x1, x2, x3)
removeH_out_ggga(x1, x2, x3, x4)  =  removeH_out_ggga(x1, x2, x3, x4)
U6_ggga(x1, x2, x3, x4, x5)  =  U6_ggga(x1, x2, x3, x5)
pI_in_ggga(x1, x2, x3, x4)  =  pI_in_ggga(x1, x2, x3)
U16_ggga(x1, x2, x3, x4, x5)  =  U16_ggga(x1, x2, x3, x5)
notEqG_in_gg(x1, x2)  =  notEqG_in_gg(x1, x2)
U5_gg(x1, x2, x3)  =  U5_gg(x1, x2, x3)
notEqG_out_gg(x1, x2)  =  notEqG_out_gg(x1, x2)
U17_ggga(x1, x2, x3, x4, x5)  =  U17_ggga(x1, x2, x3, x5)
removeK_in_gga(x1, x2, x3)  =  removeK_in_gga(x1, x2)
removeK_out_gga(x1, x2, x3)  =  removeK_out_gga(x1, x2, x3)
U9_gga(x1, x2, x3, x4, x5)  =  U9_gga(x1, x2, x3, x5)
pI_out_ggga(x1, x2, x3, x4)  =  pI_out_ggga(x1, x2, x3, x4)
U13_gggaa(x1, x2, x3, x4, x5, x6)  =  U13_gggaa(x1, x2, x3, x4, x6)
pL_out_gggaa(x1, x2, x3, x4, x5)  =  pL_out_gggaa(x1, x2, x3, x4, x5)
pB_out_gagaa(x1, x2, x3, x4, x5)  =  pB_out_gagaa(x1, x2, x3, x4, x5)
NOTEQG_IN_GG(x1, x2)  =  NOTEQG_IN_GG(x1, x2)

We have to consider all (P,R,Pi)-chains

(8) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(9) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

NOTEQG_IN_GG(s(T160), s(T161)) → NOTEQG_IN_GG(T160, T161)

R is empty.
Pi is empty.
We have to consider all (P,R,Pi)-chains

(10) PiDPToQDPProof (EQUIVALENT transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(11) Obligation:

Q DP problem:
The TRS P consists of the following rules:

NOTEQG_IN_GG(s(T160), s(T161)) → NOTEQG_IN_GG(T160, T161)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(12) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • NOTEQG_IN_GG(s(T160), s(T161)) → NOTEQG_IN_GG(T160, T161)
    The graph contains the following edges 1 > 1, 2 > 2

(13) YES

(14) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

U16_GGGA(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → REMOVEK_IN_GGA(T145, T147, X148)
REMOVEK_IN_GGA(T192, .(T193, T194), .(T193, X201)) → PI_IN_GGGA(T192, T193, T194, X201)
PI_IN_GGGA(T145, T146, T147, X148) → U16_GGGA(T145, T146, T147, X148, notEqG_in_gg(T145, T146))

The TRS R consists of the following rules:

minsortA_in_ga([], []) → minsortA_out_ga([], [])
minsortA_in_ga(.(T25, T26), .(T27, T28)) → U1_ga(T25, T26, T27, T28, pB_in_gagaa(T25, T27, T26, X17, T28))
pB_in_gagaa(T25, T31, T26, X17, T32) → U10_gagaa(T25, T31, T26, X17, T32, min2C_in_gag(T25, T31, T26))
min2C_in_gag(T39, T39, []) → min2C_out_gag(T39, T39, [])
min2C_in_gag(T48, T52, .(T50, T51)) → U2_gag(T48, T52, T50, T51, pD_in_ggaag(T48, T50, X49, T52, T51))
pD_in_ggaag(T48, T50, T55, T52, T51) → U14_ggaag(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
minJ_in_gga(T70, T71, T70) → U7_gga(T70, T71, leE_in_gg(T70, T71))
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
minJ_in_gga(T97, T98, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
U14_ggaag(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → U15_ggaag(T48, T50, T55, T52, T51, min2C_in_gag(T55, T52, T51))
U15_ggaag(T48, T50, T55, T52, T51, min2C_out_gag(T55, T52, T51)) → pD_out_ggaag(T48, T50, T55, T52, T51)
U2_gag(T48, T52, T50, T51, pD_out_ggaag(T48, T50, X49, T52, T51)) → min2C_out_gag(T48, T52, .(T50, T51))
U10_gagaa(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → U11_gagaa(T25, T31, T26, X17, T32, pL_in_gggaa(T31, T25, T26, X17, T32))
pL_in_gggaa(T31, T25, T26, T122, T32) → U12_gggaa(T31, T25, T26, T122, T32, removeH_in_ggga(T31, T25, T26, T122))
removeH_in_ggga(T135, T135, T136, T136) → removeH_out_ggga(T135, T135, T136, T136)
removeH_in_ggga(T145, T146, T147, .(T146, X148)) → U6_ggga(T145, T146, T147, X148, pI_in_ggga(T145, T146, T147, X148))
pI_in_ggga(T145, T146, T147, X148) → U16_ggga(T145, T146, T147, X148, notEqG_in_gg(T145, T146))
notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))
U16_ggga(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → U17_ggga(T145, T146, T147, X148, removeK_in_gga(T145, T147, X148))
removeK_in_gga(T184, .(T184, T185), T185) → removeK_out_gga(T184, .(T184, T185), T185)
removeK_in_gga(T192, .(T193, T194), .(T193, X201)) → U9_gga(T192, T193, T194, X201, pI_in_ggga(T192, T193, T194, X201))
U9_gga(T192, T193, T194, X201, pI_out_ggga(T192, T193, T194, X201)) → removeK_out_gga(T192, .(T193, T194), .(T193, X201))
U17_ggga(T145, T146, T147, X148, removeK_out_gga(T145, T147, X148)) → pI_out_ggga(T145, T146, T147, X148)
U6_ggga(T145, T146, T147, X148, pI_out_ggga(T145, T146, T147, X148)) → removeH_out_ggga(T145, T146, T147, .(T146, X148))
U12_gggaa(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → U13_gggaa(T31, T25, T26, T122, T32, minsortA_in_ga(T122, T32))
U13_gggaa(T31, T25, T26, T122, T32, minsortA_out_ga(T122, T32)) → pL_out_gggaa(T31, T25, T26, T122, T32)
U11_gagaa(T25, T31, T26, X17, T32, pL_out_gggaa(T31, T25, T26, X17, T32)) → pB_out_gagaa(T25, T31, T26, X17, T32)
U1_ga(T25, T26, T27, T28, pB_out_gagaa(T25, T27, T26, X17, T28)) → minsortA_out_ga(.(T25, T26), .(T27, T28))

The argument filtering Pi contains the following mapping:
minsortA_in_ga(x1, x2)  =  minsortA_in_ga(x1)
[]  =  []
minsortA_out_ga(x1, x2)  =  minsortA_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_gagaa(x1, x2, x3, x4, x5)  =  pB_in_gagaa(x1, x3)
U10_gagaa(x1, x2, x3, x4, x5, x6)  =  U10_gagaa(x1, x3, x6)
min2C_in_gag(x1, x2, x3)  =  min2C_in_gag(x1, x3)
min2C_out_gag(x1, x2, x3)  =  min2C_out_gag(x1, x2, x3)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x1, x3, x4, x5)
pD_in_ggaag(x1, x2, x3, x4, x5)  =  pD_in_ggaag(x1, x2, x5)
U14_ggaag(x1, x2, x3, x4, x5, x6)  =  U14_ggaag(x1, x2, x5, x6)
minJ_in_gga(x1, x2, x3)  =  minJ_in_gga(x1, x2)
U7_gga(x1, x2, x3)  =  U7_gga(x1, x2, x3)
leE_in_gg(x1, x2)  =  leE_in_gg(x1, x2)
s(x1)  =  s(x1)
U3_gg(x1, x2, x3)  =  U3_gg(x1, x2, x3)
0  =  0
leE_out_gg(x1, x2)  =  leE_out_gg(x1, x2)
minJ_out_gga(x1, x2, x3)  =  minJ_out_gga(x1, x2, x3)
U8_gga(x1, x2, x3)  =  U8_gga(x1, x2, x3)
gtF_in_gg(x1, x2)  =  gtF_in_gg(x1, x2)
U4_gg(x1, x2, x3)  =  U4_gg(x1, x2, x3)
gtF_out_gg(x1, x2)  =  gtF_out_gg(x1, x2)
U15_ggaag(x1, x2, x3, x4, x5, x6)  =  U15_ggaag(x1, x2, x3, x5, x6)
pD_out_ggaag(x1, x2, x3, x4, x5)  =  pD_out_ggaag(x1, x2, x3, x4, x5)
U11_gagaa(x1, x2, x3, x4, x5, x6)  =  U11_gagaa(x1, x2, x3, x6)
pL_in_gggaa(x1, x2, x3, x4, x5)  =  pL_in_gggaa(x1, x2, x3)
U12_gggaa(x1, x2, x3, x4, x5, x6)  =  U12_gggaa(x1, x2, x3, x6)
removeH_in_ggga(x1, x2, x3, x4)  =  removeH_in_ggga(x1, x2, x3)
removeH_out_ggga(x1, x2, x3, x4)  =  removeH_out_ggga(x1, x2, x3, x4)
U6_ggga(x1, x2, x3, x4, x5)  =  U6_ggga(x1, x2, x3, x5)
pI_in_ggga(x1, x2, x3, x4)  =  pI_in_ggga(x1, x2, x3)
U16_ggga(x1, x2, x3, x4, x5)  =  U16_ggga(x1, x2, x3, x5)
notEqG_in_gg(x1, x2)  =  notEqG_in_gg(x1, x2)
U5_gg(x1, x2, x3)  =  U5_gg(x1, x2, x3)
notEqG_out_gg(x1, x2)  =  notEqG_out_gg(x1, x2)
U17_ggga(x1, x2, x3, x4, x5)  =  U17_ggga(x1, x2, x3, x5)
removeK_in_gga(x1, x2, x3)  =  removeK_in_gga(x1, x2)
removeK_out_gga(x1, x2, x3)  =  removeK_out_gga(x1, x2, x3)
U9_gga(x1, x2, x3, x4, x5)  =  U9_gga(x1, x2, x3, x5)
pI_out_ggga(x1, x2, x3, x4)  =  pI_out_ggga(x1, x2, x3, x4)
U13_gggaa(x1, x2, x3, x4, x5, x6)  =  U13_gggaa(x1, x2, x3, x4, x6)
pL_out_gggaa(x1, x2, x3, x4, x5)  =  pL_out_gggaa(x1, x2, x3, x4, x5)
pB_out_gagaa(x1, x2, x3, x4, x5)  =  pB_out_gagaa(x1, x2, x3, x4, x5)
PI_IN_GGGA(x1, x2, x3, x4)  =  PI_IN_GGGA(x1, x2, x3)
U16_GGGA(x1, x2, x3, x4, x5)  =  U16_GGGA(x1, x2, x3, x5)
REMOVEK_IN_GGA(x1, x2, x3)  =  REMOVEK_IN_GGA(x1, x2)

We have to consider all (P,R,Pi)-chains

(15) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(16) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

U16_GGGA(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → REMOVEK_IN_GGA(T145, T147, X148)
REMOVEK_IN_GGA(T192, .(T193, T194), .(T193, X201)) → PI_IN_GGGA(T192, T193, T194, X201)
PI_IN_GGGA(T145, T146, T147, X148) → U16_GGGA(T145, T146, T147, X148, notEqG_in_gg(T145, T146))

The TRS R consists of the following rules:

notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
s(x1)  =  s(x1)
0  =  0
notEqG_in_gg(x1, x2)  =  notEqG_in_gg(x1, x2)
U5_gg(x1, x2, x3)  =  U5_gg(x1, x2, x3)
notEqG_out_gg(x1, x2)  =  notEqG_out_gg(x1, x2)
PI_IN_GGGA(x1, x2, x3, x4)  =  PI_IN_GGGA(x1, x2, x3)
U16_GGGA(x1, x2, x3, x4, x5)  =  U16_GGGA(x1, x2, x3, x5)
REMOVEK_IN_GGA(x1, x2, x3)  =  REMOVEK_IN_GGA(x1, x2)

We have to consider all (P,R,Pi)-chains

(17) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(18) Obligation:

Q DP problem:
The TRS P consists of the following rules:

U16_GGGA(T145, T146, T147, notEqG_out_gg(T145, T146)) → REMOVEK_IN_GGA(T145, T147)
REMOVEK_IN_GGA(T192, .(T193, T194)) → PI_IN_GGGA(T192, T193, T194)
PI_IN_GGGA(T145, T146, T147) → U16_GGGA(T145, T146, T147, notEqG_in_gg(T145, T146))

The TRS R consists of the following rules:

notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))

The set Q consists of the following terms:

notEqG_in_gg(x0, x1)
U5_gg(x0, x1, x2)

We have to consider all (P,Q,R)-chains.

(19) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • REMOVEK_IN_GGA(T192, .(T193, T194)) → PI_IN_GGGA(T192, T193, T194)
    The graph contains the following edges 1 >= 1, 2 > 2, 2 > 3

  • PI_IN_GGGA(T145, T146, T147) → U16_GGGA(T145, T146, T147, notEqG_in_gg(T145, T146))
    The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3

  • U16_GGGA(T145, T146, T147, notEqG_out_gg(T145, T146)) → REMOVEK_IN_GGA(T145, T147)
    The graph contains the following edges 1 >= 1, 4 > 1, 3 >= 2

(20) YES

(21) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

GTF_IN_GG(s(T109), s(T110)) → GTF_IN_GG(T109, T110)

The TRS R consists of the following rules:

minsortA_in_ga([], []) → minsortA_out_ga([], [])
minsortA_in_ga(.(T25, T26), .(T27, T28)) → U1_ga(T25, T26, T27, T28, pB_in_gagaa(T25, T27, T26, X17, T28))
pB_in_gagaa(T25, T31, T26, X17, T32) → U10_gagaa(T25, T31, T26, X17, T32, min2C_in_gag(T25, T31, T26))
min2C_in_gag(T39, T39, []) → min2C_out_gag(T39, T39, [])
min2C_in_gag(T48, T52, .(T50, T51)) → U2_gag(T48, T52, T50, T51, pD_in_ggaag(T48, T50, X49, T52, T51))
pD_in_ggaag(T48, T50, T55, T52, T51) → U14_ggaag(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
minJ_in_gga(T70, T71, T70) → U7_gga(T70, T71, leE_in_gg(T70, T71))
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
minJ_in_gga(T97, T98, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
U14_ggaag(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → U15_ggaag(T48, T50, T55, T52, T51, min2C_in_gag(T55, T52, T51))
U15_ggaag(T48, T50, T55, T52, T51, min2C_out_gag(T55, T52, T51)) → pD_out_ggaag(T48, T50, T55, T52, T51)
U2_gag(T48, T52, T50, T51, pD_out_ggaag(T48, T50, X49, T52, T51)) → min2C_out_gag(T48, T52, .(T50, T51))
U10_gagaa(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → U11_gagaa(T25, T31, T26, X17, T32, pL_in_gggaa(T31, T25, T26, X17, T32))
pL_in_gggaa(T31, T25, T26, T122, T32) → U12_gggaa(T31, T25, T26, T122, T32, removeH_in_ggga(T31, T25, T26, T122))
removeH_in_ggga(T135, T135, T136, T136) → removeH_out_ggga(T135, T135, T136, T136)
removeH_in_ggga(T145, T146, T147, .(T146, X148)) → U6_ggga(T145, T146, T147, X148, pI_in_ggga(T145, T146, T147, X148))
pI_in_ggga(T145, T146, T147, X148) → U16_ggga(T145, T146, T147, X148, notEqG_in_gg(T145, T146))
notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))
U16_ggga(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → U17_ggga(T145, T146, T147, X148, removeK_in_gga(T145, T147, X148))
removeK_in_gga(T184, .(T184, T185), T185) → removeK_out_gga(T184, .(T184, T185), T185)
removeK_in_gga(T192, .(T193, T194), .(T193, X201)) → U9_gga(T192, T193, T194, X201, pI_in_ggga(T192, T193, T194, X201))
U9_gga(T192, T193, T194, X201, pI_out_ggga(T192, T193, T194, X201)) → removeK_out_gga(T192, .(T193, T194), .(T193, X201))
U17_ggga(T145, T146, T147, X148, removeK_out_gga(T145, T147, X148)) → pI_out_ggga(T145, T146, T147, X148)
U6_ggga(T145, T146, T147, X148, pI_out_ggga(T145, T146, T147, X148)) → removeH_out_ggga(T145, T146, T147, .(T146, X148))
U12_gggaa(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → U13_gggaa(T31, T25, T26, T122, T32, minsortA_in_ga(T122, T32))
U13_gggaa(T31, T25, T26, T122, T32, minsortA_out_ga(T122, T32)) → pL_out_gggaa(T31, T25, T26, T122, T32)
U11_gagaa(T25, T31, T26, X17, T32, pL_out_gggaa(T31, T25, T26, X17, T32)) → pB_out_gagaa(T25, T31, T26, X17, T32)
U1_ga(T25, T26, T27, T28, pB_out_gagaa(T25, T27, T26, X17, T28)) → minsortA_out_ga(.(T25, T26), .(T27, T28))

The argument filtering Pi contains the following mapping:
minsortA_in_ga(x1, x2)  =  minsortA_in_ga(x1)
[]  =  []
minsortA_out_ga(x1, x2)  =  minsortA_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_gagaa(x1, x2, x3, x4, x5)  =  pB_in_gagaa(x1, x3)
U10_gagaa(x1, x2, x3, x4, x5, x6)  =  U10_gagaa(x1, x3, x6)
min2C_in_gag(x1, x2, x3)  =  min2C_in_gag(x1, x3)
min2C_out_gag(x1, x2, x3)  =  min2C_out_gag(x1, x2, x3)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x1, x3, x4, x5)
pD_in_ggaag(x1, x2, x3, x4, x5)  =  pD_in_ggaag(x1, x2, x5)
U14_ggaag(x1, x2, x3, x4, x5, x6)  =  U14_ggaag(x1, x2, x5, x6)
minJ_in_gga(x1, x2, x3)  =  minJ_in_gga(x1, x2)
U7_gga(x1, x2, x3)  =  U7_gga(x1, x2, x3)
leE_in_gg(x1, x2)  =  leE_in_gg(x1, x2)
s(x1)  =  s(x1)
U3_gg(x1, x2, x3)  =  U3_gg(x1, x2, x3)
0  =  0
leE_out_gg(x1, x2)  =  leE_out_gg(x1, x2)
minJ_out_gga(x1, x2, x3)  =  minJ_out_gga(x1, x2, x3)
U8_gga(x1, x2, x3)  =  U8_gga(x1, x2, x3)
gtF_in_gg(x1, x2)  =  gtF_in_gg(x1, x2)
U4_gg(x1, x2, x3)  =  U4_gg(x1, x2, x3)
gtF_out_gg(x1, x2)  =  gtF_out_gg(x1, x2)
U15_ggaag(x1, x2, x3, x4, x5, x6)  =  U15_ggaag(x1, x2, x3, x5, x6)
pD_out_ggaag(x1, x2, x3, x4, x5)  =  pD_out_ggaag(x1, x2, x3, x4, x5)
U11_gagaa(x1, x2, x3, x4, x5, x6)  =  U11_gagaa(x1, x2, x3, x6)
pL_in_gggaa(x1, x2, x3, x4, x5)  =  pL_in_gggaa(x1, x2, x3)
U12_gggaa(x1, x2, x3, x4, x5, x6)  =  U12_gggaa(x1, x2, x3, x6)
removeH_in_ggga(x1, x2, x3, x4)  =  removeH_in_ggga(x1, x2, x3)
removeH_out_ggga(x1, x2, x3, x4)  =  removeH_out_ggga(x1, x2, x3, x4)
U6_ggga(x1, x2, x3, x4, x5)  =  U6_ggga(x1, x2, x3, x5)
pI_in_ggga(x1, x2, x3, x4)  =  pI_in_ggga(x1, x2, x3)
U16_ggga(x1, x2, x3, x4, x5)  =  U16_ggga(x1, x2, x3, x5)
notEqG_in_gg(x1, x2)  =  notEqG_in_gg(x1, x2)
U5_gg(x1, x2, x3)  =  U5_gg(x1, x2, x3)
notEqG_out_gg(x1, x2)  =  notEqG_out_gg(x1, x2)
U17_ggga(x1, x2, x3, x4, x5)  =  U17_ggga(x1, x2, x3, x5)
removeK_in_gga(x1, x2, x3)  =  removeK_in_gga(x1, x2)
removeK_out_gga(x1, x2, x3)  =  removeK_out_gga(x1, x2, x3)
U9_gga(x1, x2, x3, x4, x5)  =  U9_gga(x1, x2, x3, x5)
pI_out_ggga(x1, x2, x3, x4)  =  pI_out_ggga(x1, x2, x3, x4)
U13_gggaa(x1, x2, x3, x4, x5, x6)  =  U13_gggaa(x1, x2, x3, x4, x6)
pL_out_gggaa(x1, x2, x3, x4, x5)  =  pL_out_gggaa(x1, x2, x3, x4, x5)
pB_out_gagaa(x1, x2, x3, x4, x5)  =  pB_out_gagaa(x1, x2, x3, x4, x5)
GTF_IN_GG(x1, x2)  =  GTF_IN_GG(x1, x2)

We have to consider all (P,R,Pi)-chains

(22) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(23) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

GTF_IN_GG(s(T109), s(T110)) → GTF_IN_GG(T109, T110)

R is empty.
Pi is empty.
We have to consider all (P,R,Pi)-chains

(24) PiDPToQDPProof (EQUIVALENT transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(25) Obligation:

Q DP problem:
The TRS P consists of the following rules:

GTF_IN_GG(s(T109), s(T110)) → GTF_IN_GG(T109, T110)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(26) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • GTF_IN_GG(s(T109), s(T110)) → GTF_IN_GG(T109, T110)
    The graph contains the following edges 1 > 1, 2 > 2

(27) YES

(28) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LEE_IN_GG(s(T82), s(T83)) → LEE_IN_GG(T82, T83)

The TRS R consists of the following rules:

minsortA_in_ga([], []) → minsortA_out_ga([], [])
minsortA_in_ga(.(T25, T26), .(T27, T28)) → U1_ga(T25, T26, T27, T28, pB_in_gagaa(T25, T27, T26, X17, T28))
pB_in_gagaa(T25, T31, T26, X17, T32) → U10_gagaa(T25, T31, T26, X17, T32, min2C_in_gag(T25, T31, T26))
min2C_in_gag(T39, T39, []) → min2C_out_gag(T39, T39, [])
min2C_in_gag(T48, T52, .(T50, T51)) → U2_gag(T48, T52, T50, T51, pD_in_ggaag(T48, T50, X49, T52, T51))
pD_in_ggaag(T48, T50, T55, T52, T51) → U14_ggaag(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
minJ_in_gga(T70, T71, T70) → U7_gga(T70, T71, leE_in_gg(T70, T71))
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
minJ_in_gga(T97, T98, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
U14_ggaag(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → U15_ggaag(T48, T50, T55, T52, T51, min2C_in_gag(T55, T52, T51))
U15_ggaag(T48, T50, T55, T52, T51, min2C_out_gag(T55, T52, T51)) → pD_out_ggaag(T48, T50, T55, T52, T51)
U2_gag(T48, T52, T50, T51, pD_out_ggaag(T48, T50, X49, T52, T51)) → min2C_out_gag(T48, T52, .(T50, T51))
U10_gagaa(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → U11_gagaa(T25, T31, T26, X17, T32, pL_in_gggaa(T31, T25, T26, X17, T32))
pL_in_gggaa(T31, T25, T26, T122, T32) → U12_gggaa(T31, T25, T26, T122, T32, removeH_in_ggga(T31, T25, T26, T122))
removeH_in_ggga(T135, T135, T136, T136) → removeH_out_ggga(T135, T135, T136, T136)
removeH_in_ggga(T145, T146, T147, .(T146, X148)) → U6_ggga(T145, T146, T147, X148, pI_in_ggga(T145, T146, T147, X148))
pI_in_ggga(T145, T146, T147, X148) → U16_ggga(T145, T146, T147, X148, notEqG_in_gg(T145, T146))
notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))
U16_ggga(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → U17_ggga(T145, T146, T147, X148, removeK_in_gga(T145, T147, X148))
removeK_in_gga(T184, .(T184, T185), T185) → removeK_out_gga(T184, .(T184, T185), T185)
removeK_in_gga(T192, .(T193, T194), .(T193, X201)) → U9_gga(T192, T193, T194, X201, pI_in_ggga(T192, T193, T194, X201))
U9_gga(T192, T193, T194, X201, pI_out_ggga(T192, T193, T194, X201)) → removeK_out_gga(T192, .(T193, T194), .(T193, X201))
U17_ggga(T145, T146, T147, X148, removeK_out_gga(T145, T147, X148)) → pI_out_ggga(T145, T146, T147, X148)
U6_ggga(T145, T146, T147, X148, pI_out_ggga(T145, T146, T147, X148)) → removeH_out_ggga(T145, T146, T147, .(T146, X148))
U12_gggaa(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → U13_gggaa(T31, T25, T26, T122, T32, minsortA_in_ga(T122, T32))
U13_gggaa(T31, T25, T26, T122, T32, minsortA_out_ga(T122, T32)) → pL_out_gggaa(T31, T25, T26, T122, T32)
U11_gagaa(T25, T31, T26, X17, T32, pL_out_gggaa(T31, T25, T26, X17, T32)) → pB_out_gagaa(T25, T31, T26, X17, T32)
U1_ga(T25, T26, T27, T28, pB_out_gagaa(T25, T27, T26, X17, T28)) → minsortA_out_ga(.(T25, T26), .(T27, T28))

The argument filtering Pi contains the following mapping:
minsortA_in_ga(x1, x2)  =  minsortA_in_ga(x1)
[]  =  []
minsortA_out_ga(x1, x2)  =  minsortA_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_gagaa(x1, x2, x3, x4, x5)  =  pB_in_gagaa(x1, x3)
U10_gagaa(x1, x2, x3, x4, x5, x6)  =  U10_gagaa(x1, x3, x6)
min2C_in_gag(x1, x2, x3)  =  min2C_in_gag(x1, x3)
min2C_out_gag(x1, x2, x3)  =  min2C_out_gag(x1, x2, x3)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x1, x3, x4, x5)
pD_in_ggaag(x1, x2, x3, x4, x5)  =  pD_in_ggaag(x1, x2, x5)
U14_ggaag(x1, x2, x3, x4, x5, x6)  =  U14_ggaag(x1, x2, x5, x6)
minJ_in_gga(x1, x2, x3)  =  minJ_in_gga(x1, x2)
U7_gga(x1, x2, x3)  =  U7_gga(x1, x2, x3)
leE_in_gg(x1, x2)  =  leE_in_gg(x1, x2)
s(x1)  =  s(x1)
U3_gg(x1, x2, x3)  =  U3_gg(x1, x2, x3)
0  =  0
leE_out_gg(x1, x2)  =  leE_out_gg(x1, x2)
minJ_out_gga(x1, x2, x3)  =  minJ_out_gga(x1, x2, x3)
U8_gga(x1, x2, x3)  =  U8_gga(x1, x2, x3)
gtF_in_gg(x1, x2)  =  gtF_in_gg(x1, x2)
U4_gg(x1, x2, x3)  =  U4_gg(x1, x2, x3)
gtF_out_gg(x1, x2)  =  gtF_out_gg(x1, x2)
U15_ggaag(x1, x2, x3, x4, x5, x6)  =  U15_ggaag(x1, x2, x3, x5, x6)
pD_out_ggaag(x1, x2, x3, x4, x5)  =  pD_out_ggaag(x1, x2, x3, x4, x5)
U11_gagaa(x1, x2, x3, x4, x5, x6)  =  U11_gagaa(x1, x2, x3, x6)
pL_in_gggaa(x1, x2, x3, x4, x5)  =  pL_in_gggaa(x1, x2, x3)
U12_gggaa(x1, x2, x3, x4, x5, x6)  =  U12_gggaa(x1, x2, x3, x6)
removeH_in_ggga(x1, x2, x3, x4)  =  removeH_in_ggga(x1, x2, x3)
removeH_out_ggga(x1, x2, x3, x4)  =  removeH_out_ggga(x1, x2, x3, x4)
U6_ggga(x1, x2, x3, x4, x5)  =  U6_ggga(x1, x2, x3, x5)
pI_in_ggga(x1, x2, x3, x4)  =  pI_in_ggga(x1, x2, x3)
U16_ggga(x1, x2, x3, x4, x5)  =  U16_ggga(x1, x2, x3, x5)
notEqG_in_gg(x1, x2)  =  notEqG_in_gg(x1, x2)
U5_gg(x1, x2, x3)  =  U5_gg(x1, x2, x3)
notEqG_out_gg(x1, x2)  =  notEqG_out_gg(x1, x2)
U17_ggga(x1, x2, x3, x4, x5)  =  U17_ggga(x1, x2, x3, x5)
removeK_in_gga(x1, x2, x3)  =  removeK_in_gga(x1, x2)
removeK_out_gga(x1, x2, x3)  =  removeK_out_gga(x1, x2, x3)
U9_gga(x1, x2, x3, x4, x5)  =  U9_gga(x1, x2, x3, x5)
pI_out_ggga(x1, x2, x3, x4)  =  pI_out_ggga(x1, x2, x3, x4)
U13_gggaa(x1, x2, x3, x4, x5, x6)  =  U13_gggaa(x1, x2, x3, x4, x6)
pL_out_gggaa(x1, x2, x3, x4, x5)  =  pL_out_gggaa(x1, x2, x3, x4, x5)
pB_out_gagaa(x1, x2, x3, x4, x5)  =  pB_out_gagaa(x1, x2, x3, x4, x5)
LEE_IN_GG(x1, x2)  =  LEE_IN_GG(x1, x2)

We have to consider all (P,R,Pi)-chains

(29) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(30) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

LEE_IN_GG(s(T82), s(T83)) → LEE_IN_GG(T82, T83)

R is empty.
Pi is empty.
We have to consider all (P,R,Pi)-chains

(31) PiDPToQDPProof (EQUIVALENT transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(32) Obligation:

Q DP problem:
The TRS P consists of the following rules:

LEE_IN_GG(s(T82), s(T83)) → LEE_IN_GG(T82, T83)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(33) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • LEE_IN_GG(s(T82), s(T83)) → LEE_IN_GG(T82, T83)
    The graph contains the following edges 1 > 1, 2 > 2

(34) YES

(35) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

MIN2C_IN_GAG(T48, T52, .(T50, T51)) → PD_IN_GGAAG(T48, T50, X49, T52, T51)
PD_IN_GGAAG(T48, T50, T55, T52, T51) → U14_GGAAG(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
U14_GGAAG(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → MIN2C_IN_GAG(T55, T52, T51)

The TRS R consists of the following rules:

minsortA_in_ga([], []) → minsortA_out_ga([], [])
minsortA_in_ga(.(T25, T26), .(T27, T28)) → U1_ga(T25, T26, T27, T28, pB_in_gagaa(T25, T27, T26, X17, T28))
pB_in_gagaa(T25, T31, T26, X17, T32) → U10_gagaa(T25, T31, T26, X17, T32, min2C_in_gag(T25, T31, T26))
min2C_in_gag(T39, T39, []) → min2C_out_gag(T39, T39, [])
min2C_in_gag(T48, T52, .(T50, T51)) → U2_gag(T48, T52, T50, T51, pD_in_ggaag(T48, T50, X49, T52, T51))
pD_in_ggaag(T48, T50, T55, T52, T51) → U14_ggaag(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
minJ_in_gga(T70, T71, T70) → U7_gga(T70, T71, leE_in_gg(T70, T71))
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
minJ_in_gga(T97, T98, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
U14_ggaag(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → U15_ggaag(T48, T50, T55, T52, T51, min2C_in_gag(T55, T52, T51))
U15_ggaag(T48, T50, T55, T52, T51, min2C_out_gag(T55, T52, T51)) → pD_out_ggaag(T48, T50, T55, T52, T51)
U2_gag(T48, T52, T50, T51, pD_out_ggaag(T48, T50, X49, T52, T51)) → min2C_out_gag(T48, T52, .(T50, T51))
U10_gagaa(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → U11_gagaa(T25, T31, T26, X17, T32, pL_in_gggaa(T31, T25, T26, X17, T32))
pL_in_gggaa(T31, T25, T26, T122, T32) → U12_gggaa(T31, T25, T26, T122, T32, removeH_in_ggga(T31, T25, T26, T122))
removeH_in_ggga(T135, T135, T136, T136) → removeH_out_ggga(T135, T135, T136, T136)
removeH_in_ggga(T145, T146, T147, .(T146, X148)) → U6_ggga(T145, T146, T147, X148, pI_in_ggga(T145, T146, T147, X148))
pI_in_ggga(T145, T146, T147, X148) → U16_ggga(T145, T146, T147, X148, notEqG_in_gg(T145, T146))
notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))
U16_ggga(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → U17_ggga(T145, T146, T147, X148, removeK_in_gga(T145, T147, X148))
removeK_in_gga(T184, .(T184, T185), T185) → removeK_out_gga(T184, .(T184, T185), T185)
removeK_in_gga(T192, .(T193, T194), .(T193, X201)) → U9_gga(T192, T193, T194, X201, pI_in_ggga(T192, T193, T194, X201))
U9_gga(T192, T193, T194, X201, pI_out_ggga(T192, T193, T194, X201)) → removeK_out_gga(T192, .(T193, T194), .(T193, X201))
U17_ggga(T145, T146, T147, X148, removeK_out_gga(T145, T147, X148)) → pI_out_ggga(T145, T146, T147, X148)
U6_ggga(T145, T146, T147, X148, pI_out_ggga(T145, T146, T147, X148)) → removeH_out_ggga(T145, T146, T147, .(T146, X148))
U12_gggaa(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → U13_gggaa(T31, T25, T26, T122, T32, minsortA_in_ga(T122, T32))
U13_gggaa(T31, T25, T26, T122, T32, minsortA_out_ga(T122, T32)) → pL_out_gggaa(T31, T25, T26, T122, T32)
U11_gagaa(T25, T31, T26, X17, T32, pL_out_gggaa(T31, T25, T26, X17, T32)) → pB_out_gagaa(T25, T31, T26, X17, T32)
U1_ga(T25, T26, T27, T28, pB_out_gagaa(T25, T27, T26, X17, T28)) → minsortA_out_ga(.(T25, T26), .(T27, T28))

The argument filtering Pi contains the following mapping:
minsortA_in_ga(x1, x2)  =  minsortA_in_ga(x1)
[]  =  []
minsortA_out_ga(x1, x2)  =  minsortA_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_gagaa(x1, x2, x3, x4, x5)  =  pB_in_gagaa(x1, x3)
U10_gagaa(x1, x2, x3, x4, x5, x6)  =  U10_gagaa(x1, x3, x6)
min2C_in_gag(x1, x2, x3)  =  min2C_in_gag(x1, x3)
min2C_out_gag(x1, x2, x3)  =  min2C_out_gag(x1, x2, x3)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x1, x3, x4, x5)
pD_in_ggaag(x1, x2, x3, x4, x5)  =  pD_in_ggaag(x1, x2, x5)
U14_ggaag(x1, x2, x3, x4, x5, x6)  =  U14_ggaag(x1, x2, x5, x6)
minJ_in_gga(x1, x2, x3)  =  minJ_in_gga(x1, x2)
U7_gga(x1, x2, x3)  =  U7_gga(x1, x2, x3)
leE_in_gg(x1, x2)  =  leE_in_gg(x1, x2)
s(x1)  =  s(x1)
U3_gg(x1, x2, x3)  =  U3_gg(x1, x2, x3)
0  =  0
leE_out_gg(x1, x2)  =  leE_out_gg(x1, x2)
minJ_out_gga(x1, x2, x3)  =  minJ_out_gga(x1, x2, x3)
U8_gga(x1, x2, x3)  =  U8_gga(x1, x2, x3)
gtF_in_gg(x1, x2)  =  gtF_in_gg(x1, x2)
U4_gg(x1, x2, x3)  =  U4_gg(x1, x2, x3)
gtF_out_gg(x1, x2)  =  gtF_out_gg(x1, x2)
U15_ggaag(x1, x2, x3, x4, x5, x6)  =  U15_ggaag(x1, x2, x3, x5, x6)
pD_out_ggaag(x1, x2, x3, x4, x5)  =  pD_out_ggaag(x1, x2, x3, x4, x5)
U11_gagaa(x1, x2, x3, x4, x5, x6)  =  U11_gagaa(x1, x2, x3, x6)
pL_in_gggaa(x1, x2, x3, x4, x5)  =  pL_in_gggaa(x1, x2, x3)
U12_gggaa(x1, x2, x3, x4, x5, x6)  =  U12_gggaa(x1, x2, x3, x6)
removeH_in_ggga(x1, x2, x3, x4)  =  removeH_in_ggga(x1, x2, x3)
removeH_out_ggga(x1, x2, x3, x4)  =  removeH_out_ggga(x1, x2, x3, x4)
U6_ggga(x1, x2, x3, x4, x5)  =  U6_ggga(x1, x2, x3, x5)
pI_in_ggga(x1, x2, x3, x4)  =  pI_in_ggga(x1, x2, x3)
U16_ggga(x1, x2, x3, x4, x5)  =  U16_ggga(x1, x2, x3, x5)
notEqG_in_gg(x1, x2)  =  notEqG_in_gg(x1, x2)
U5_gg(x1, x2, x3)  =  U5_gg(x1, x2, x3)
notEqG_out_gg(x1, x2)  =  notEqG_out_gg(x1, x2)
U17_ggga(x1, x2, x3, x4, x5)  =  U17_ggga(x1, x2, x3, x5)
removeK_in_gga(x1, x2, x3)  =  removeK_in_gga(x1, x2)
removeK_out_gga(x1, x2, x3)  =  removeK_out_gga(x1, x2, x3)
U9_gga(x1, x2, x3, x4, x5)  =  U9_gga(x1, x2, x3, x5)
pI_out_ggga(x1, x2, x3, x4)  =  pI_out_ggga(x1, x2, x3, x4)
U13_gggaa(x1, x2, x3, x4, x5, x6)  =  U13_gggaa(x1, x2, x3, x4, x6)
pL_out_gggaa(x1, x2, x3, x4, x5)  =  pL_out_gggaa(x1, x2, x3, x4, x5)
pB_out_gagaa(x1, x2, x3, x4, x5)  =  pB_out_gagaa(x1, x2, x3, x4, x5)
MIN2C_IN_GAG(x1, x2, x3)  =  MIN2C_IN_GAG(x1, x3)
PD_IN_GGAAG(x1, x2, x3, x4, x5)  =  PD_IN_GGAAG(x1, x2, x5)
U14_GGAAG(x1, x2, x3, x4, x5, x6)  =  U14_GGAAG(x1, x2, x5, x6)

We have to consider all (P,R,Pi)-chains

(36) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(37) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

MIN2C_IN_GAG(T48, T52, .(T50, T51)) → PD_IN_GGAAG(T48, T50, X49, T52, T51)
PD_IN_GGAAG(T48, T50, T55, T52, T51) → U14_GGAAG(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
U14_GGAAG(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → MIN2C_IN_GAG(T55, T52, T51)

The TRS R consists of the following rules:

minJ_in_gga(T70, T71, T70) → U7_gga(T70, T71, leE_in_gg(T70, T71))
minJ_in_gga(T97, T98, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
minJ_in_gga(x1, x2, x3)  =  minJ_in_gga(x1, x2)
U7_gga(x1, x2, x3)  =  U7_gga(x1, x2, x3)
leE_in_gg(x1, x2)  =  leE_in_gg(x1, x2)
s(x1)  =  s(x1)
U3_gg(x1, x2, x3)  =  U3_gg(x1, x2, x3)
0  =  0
leE_out_gg(x1, x2)  =  leE_out_gg(x1, x2)
minJ_out_gga(x1, x2, x3)  =  minJ_out_gga(x1, x2, x3)
U8_gga(x1, x2, x3)  =  U8_gga(x1, x2, x3)
gtF_in_gg(x1, x2)  =  gtF_in_gg(x1, x2)
U4_gg(x1, x2, x3)  =  U4_gg(x1, x2, x3)
gtF_out_gg(x1, x2)  =  gtF_out_gg(x1, x2)
MIN2C_IN_GAG(x1, x2, x3)  =  MIN2C_IN_GAG(x1, x3)
PD_IN_GGAAG(x1, x2, x3, x4, x5)  =  PD_IN_GGAAG(x1, x2, x5)
U14_GGAAG(x1, x2, x3, x4, x5, x6)  =  U14_GGAAG(x1, x2, x5, x6)

We have to consider all (P,R,Pi)-chains

(38) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(39) Obligation:

Q DP problem:
The TRS P consists of the following rules:

MIN2C_IN_GAG(T48, .(T50, T51)) → PD_IN_GGAAG(T48, T50, T51)
PD_IN_GGAAG(T48, T50, T51) → U14_GGAAG(T48, T50, T51, minJ_in_gga(T48, T50))
U14_GGAAG(T48, T50, T51, minJ_out_gga(T48, T50, T55)) → MIN2C_IN_GAG(T55, T51)

The TRS R consists of the following rules:

minJ_in_gga(T70, T71) → U7_gga(T70, T71, leE_in_gg(T70, T71))
minJ_in_gga(T97, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))

The set Q consists of the following terms:

minJ_in_gga(x0, x1)
U7_gga(x0, x1, x2)
U8_gga(x0, x1, x2)
leE_in_gg(x0, x1)
gtF_in_gg(x0, x1)
U3_gg(x0, x1, x2)
U4_gg(x0, x1, x2)

We have to consider all (P,Q,R)-chains.

(40) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • PD_IN_GGAAG(T48, T50, T51) → U14_GGAAG(T48, T50, T51, minJ_in_gga(T48, T50))
    The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3

  • U14_GGAAG(T48, T50, T51, minJ_out_gga(T48, T50, T55)) → MIN2C_IN_GAG(T55, T51)
    The graph contains the following edges 4 > 1, 3 >= 2

  • MIN2C_IN_GAG(T48, .(T50, T51)) → PD_IN_GGAAG(T48, T50, T51)
    The graph contains the following edges 1 >= 1, 2 > 2, 2 > 3

(41) YES

(42) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

MINSORTA_IN_GA(.(T25, T26), .(T27, T28)) → PB_IN_GAGAA(T25, T27, T26, X17, T28)
PB_IN_GAGAA(T25, T31, T26, X17, T32) → U10_GAGAA(T25, T31, T26, X17, T32, min2C_in_gag(T25, T31, T26))
U10_GAGAA(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → PL_IN_GGGAA(T31, T25, T26, X17, T32)
PL_IN_GGGAA(T31, T25, T26, T122, T32) → U12_GGGAA(T31, T25, T26, T122, T32, removeH_in_ggga(T31, T25, T26, T122))
U12_GGGAA(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → MINSORTA_IN_GA(T122, T32)

The TRS R consists of the following rules:

minsortA_in_ga([], []) → minsortA_out_ga([], [])
minsortA_in_ga(.(T25, T26), .(T27, T28)) → U1_ga(T25, T26, T27, T28, pB_in_gagaa(T25, T27, T26, X17, T28))
pB_in_gagaa(T25, T31, T26, X17, T32) → U10_gagaa(T25, T31, T26, X17, T32, min2C_in_gag(T25, T31, T26))
min2C_in_gag(T39, T39, []) → min2C_out_gag(T39, T39, [])
min2C_in_gag(T48, T52, .(T50, T51)) → U2_gag(T48, T52, T50, T51, pD_in_ggaag(T48, T50, X49, T52, T51))
pD_in_ggaag(T48, T50, T55, T52, T51) → U14_ggaag(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
minJ_in_gga(T70, T71, T70) → U7_gga(T70, T71, leE_in_gg(T70, T71))
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
minJ_in_gga(T97, T98, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
U14_ggaag(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → U15_ggaag(T48, T50, T55, T52, T51, min2C_in_gag(T55, T52, T51))
U15_ggaag(T48, T50, T55, T52, T51, min2C_out_gag(T55, T52, T51)) → pD_out_ggaag(T48, T50, T55, T52, T51)
U2_gag(T48, T52, T50, T51, pD_out_ggaag(T48, T50, X49, T52, T51)) → min2C_out_gag(T48, T52, .(T50, T51))
U10_gagaa(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → U11_gagaa(T25, T31, T26, X17, T32, pL_in_gggaa(T31, T25, T26, X17, T32))
pL_in_gggaa(T31, T25, T26, T122, T32) → U12_gggaa(T31, T25, T26, T122, T32, removeH_in_ggga(T31, T25, T26, T122))
removeH_in_ggga(T135, T135, T136, T136) → removeH_out_ggga(T135, T135, T136, T136)
removeH_in_ggga(T145, T146, T147, .(T146, X148)) → U6_ggga(T145, T146, T147, X148, pI_in_ggga(T145, T146, T147, X148))
pI_in_ggga(T145, T146, T147, X148) → U16_ggga(T145, T146, T147, X148, notEqG_in_gg(T145, T146))
notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))
U16_ggga(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → U17_ggga(T145, T146, T147, X148, removeK_in_gga(T145, T147, X148))
removeK_in_gga(T184, .(T184, T185), T185) → removeK_out_gga(T184, .(T184, T185), T185)
removeK_in_gga(T192, .(T193, T194), .(T193, X201)) → U9_gga(T192, T193, T194, X201, pI_in_ggga(T192, T193, T194, X201))
U9_gga(T192, T193, T194, X201, pI_out_ggga(T192, T193, T194, X201)) → removeK_out_gga(T192, .(T193, T194), .(T193, X201))
U17_ggga(T145, T146, T147, X148, removeK_out_gga(T145, T147, X148)) → pI_out_ggga(T145, T146, T147, X148)
U6_ggga(T145, T146, T147, X148, pI_out_ggga(T145, T146, T147, X148)) → removeH_out_ggga(T145, T146, T147, .(T146, X148))
U12_gggaa(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → U13_gggaa(T31, T25, T26, T122, T32, minsortA_in_ga(T122, T32))
U13_gggaa(T31, T25, T26, T122, T32, minsortA_out_ga(T122, T32)) → pL_out_gggaa(T31, T25, T26, T122, T32)
U11_gagaa(T25, T31, T26, X17, T32, pL_out_gggaa(T31, T25, T26, X17, T32)) → pB_out_gagaa(T25, T31, T26, X17, T32)
U1_ga(T25, T26, T27, T28, pB_out_gagaa(T25, T27, T26, X17, T28)) → minsortA_out_ga(.(T25, T26), .(T27, T28))

The argument filtering Pi contains the following mapping:
minsortA_in_ga(x1, x2)  =  minsortA_in_ga(x1)
[]  =  []
minsortA_out_ga(x1, x2)  =  minsortA_out_ga(x1, x2)
.(x1, x2)  =  .(x1, x2)
U1_ga(x1, x2, x3, x4, x5)  =  U1_ga(x1, x2, x5)
pB_in_gagaa(x1, x2, x3, x4, x5)  =  pB_in_gagaa(x1, x3)
U10_gagaa(x1, x2, x3, x4, x5, x6)  =  U10_gagaa(x1, x3, x6)
min2C_in_gag(x1, x2, x3)  =  min2C_in_gag(x1, x3)
min2C_out_gag(x1, x2, x3)  =  min2C_out_gag(x1, x2, x3)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x1, x3, x4, x5)
pD_in_ggaag(x1, x2, x3, x4, x5)  =  pD_in_ggaag(x1, x2, x5)
U14_ggaag(x1, x2, x3, x4, x5, x6)  =  U14_ggaag(x1, x2, x5, x6)
minJ_in_gga(x1, x2, x3)  =  minJ_in_gga(x1, x2)
U7_gga(x1, x2, x3)  =  U7_gga(x1, x2, x3)
leE_in_gg(x1, x2)  =  leE_in_gg(x1, x2)
s(x1)  =  s(x1)
U3_gg(x1, x2, x3)  =  U3_gg(x1, x2, x3)
0  =  0
leE_out_gg(x1, x2)  =  leE_out_gg(x1, x2)
minJ_out_gga(x1, x2, x3)  =  minJ_out_gga(x1, x2, x3)
U8_gga(x1, x2, x3)  =  U8_gga(x1, x2, x3)
gtF_in_gg(x1, x2)  =  gtF_in_gg(x1, x2)
U4_gg(x1, x2, x3)  =  U4_gg(x1, x2, x3)
gtF_out_gg(x1, x2)  =  gtF_out_gg(x1, x2)
U15_ggaag(x1, x2, x3, x4, x5, x6)  =  U15_ggaag(x1, x2, x3, x5, x6)
pD_out_ggaag(x1, x2, x3, x4, x5)  =  pD_out_ggaag(x1, x2, x3, x4, x5)
U11_gagaa(x1, x2, x3, x4, x5, x6)  =  U11_gagaa(x1, x2, x3, x6)
pL_in_gggaa(x1, x2, x3, x4, x5)  =  pL_in_gggaa(x1, x2, x3)
U12_gggaa(x1, x2, x3, x4, x5, x6)  =  U12_gggaa(x1, x2, x3, x6)
removeH_in_ggga(x1, x2, x3, x4)  =  removeH_in_ggga(x1, x2, x3)
removeH_out_ggga(x1, x2, x3, x4)  =  removeH_out_ggga(x1, x2, x3, x4)
U6_ggga(x1, x2, x3, x4, x5)  =  U6_ggga(x1, x2, x3, x5)
pI_in_ggga(x1, x2, x3, x4)  =  pI_in_ggga(x1, x2, x3)
U16_ggga(x1, x2, x3, x4, x5)  =  U16_ggga(x1, x2, x3, x5)
notEqG_in_gg(x1, x2)  =  notEqG_in_gg(x1, x2)
U5_gg(x1, x2, x3)  =  U5_gg(x1, x2, x3)
notEqG_out_gg(x1, x2)  =  notEqG_out_gg(x1, x2)
U17_ggga(x1, x2, x3, x4, x5)  =  U17_ggga(x1, x2, x3, x5)
removeK_in_gga(x1, x2, x3)  =  removeK_in_gga(x1, x2)
removeK_out_gga(x1, x2, x3)  =  removeK_out_gga(x1, x2, x3)
U9_gga(x1, x2, x3, x4, x5)  =  U9_gga(x1, x2, x3, x5)
pI_out_ggga(x1, x2, x3, x4)  =  pI_out_ggga(x1, x2, x3, x4)
U13_gggaa(x1, x2, x3, x4, x5, x6)  =  U13_gggaa(x1, x2, x3, x4, x6)
pL_out_gggaa(x1, x2, x3, x4, x5)  =  pL_out_gggaa(x1, x2, x3, x4, x5)
pB_out_gagaa(x1, x2, x3, x4, x5)  =  pB_out_gagaa(x1, x2, x3, x4, x5)
MINSORTA_IN_GA(x1, x2)  =  MINSORTA_IN_GA(x1)
PB_IN_GAGAA(x1, x2, x3, x4, x5)  =  PB_IN_GAGAA(x1, x3)
U10_GAGAA(x1, x2, x3, x4, x5, x6)  =  U10_GAGAA(x1, x3, x6)
PL_IN_GGGAA(x1, x2, x3, x4, x5)  =  PL_IN_GGGAA(x1, x2, x3)
U12_GGGAA(x1, x2, x3, x4, x5, x6)  =  U12_GGGAA(x1, x2, x3, x6)

We have to consider all (P,R,Pi)-chains

(43) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(44) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

MINSORTA_IN_GA(.(T25, T26), .(T27, T28)) → PB_IN_GAGAA(T25, T27, T26, X17, T28)
PB_IN_GAGAA(T25, T31, T26, X17, T32) → U10_GAGAA(T25, T31, T26, X17, T32, min2C_in_gag(T25, T31, T26))
U10_GAGAA(T25, T31, T26, X17, T32, min2C_out_gag(T25, T31, T26)) → PL_IN_GGGAA(T31, T25, T26, X17, T32)
PL_IN_GGGAA(T31, T25, T26, T122, T32) → U12_GGGAA(T31, T25, T26, T122, T32, removeH_in_ggga(T31, T25, T26, T122))
U12_GGGAA(T31, T25, T26, T122, T32, removeH_out_ggga(T31, T25, T26, T122)) → MINSORTA_IN_GA(T122, T32)

The TRS R consists of the following rules:

min2C_in_gag(T39, T39, []) → min2C_out_gag(T39, T39, [])
min2C_in_gag(T48, T52, .(T50, T51)) → U2_gag(T48, T52, T50, T51, pD_in_ggaag(T48, T50, X49, T52, T51))
removeH_in_ggga(T135, T135, T136, T136) → removeH_out_ggga(T135, T135, T136, T136)
removeH_in_ggga(T145, T146, T147, .(T146, X148)) → U6_ggga(T145, T146, T147, X148, pI_in_ggga(T145, T146, T147, X148))
U2_gag(T48, T52, T50, T51, pD_out_ggaag(T48, T50, X49, T52, T51)) → min2C_out_gag(T48, T52, .(T50, T51))
U6_ggga(T145, T146, T147, X148, pI_out_ggga(T145, T146, T147, X148)) → removeH_out_ggga(T145, T146, T147, .(T146, X148))
pD_in_ggaag(T48, T50, T55, T52, T51) → U14_ggaag(T48, T50, T55, T52, T51, minJ_in_gga(T48, T50, T55))
pI_in_ggga(T145, T146, T147, X148) → U16_ggga(T145, T146, T147, X148, notEqG_in_gg(T145, T146))
U14_ggaag(T48, T50, T55, T52, T51, minJ_out_gga(T48, T50, T55)) → U15_ggaag(T48, T50, T55, T52, T51, min2C_in_gag(T55, T52, T51))
U16_ggga(T145, T146, T147, X148, notEqG_out_gg(T145, T146)) → U17_ggga(T145, T146, T147, X148, removeK_in_gga(T145, T147, X148))
minJ_in_gga(T70, T71, T70) → U7_gga(T70, T71, leE_in_gg(T70, T71))
minJ_in_gga(T97, T98, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
U15_ggaag(T48, T50, T55, T52, T51, min2C_out_gag(T55, T52, T51)) → pD_out_ggaag(T48, T50, T55, T52, T51)
notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U17_ggga(T145, T146, T147, X148, removeK_out_gga(T145, T147, X148)) → pI_out_ggga(T145, T146, T147, X148)
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))
removeK_in_gga(T184, .(T184, T185), T185) → removeK_out_gga(T184, .(T184, T185), T185)
removeK_in_gga(T192, .(T193, T194), .(T193, X201)) → U9_gga(T192, T193, T194, X201, pI_in_ggga(T192, T193, T194, X201))
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U9_gga(T192, T193, T194, X201, pI_out_ggga(T192, T193, T194, X201)) → removeK_out_gga(T192, .(T193, T194), .(T193, X201))
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))

The argument filtering Pi contains the following mapping:
[]  =  []
.(x1, x2)  =  .(x1, x2)
min2C_in_gag(x1, x2, x3)  =  min2C_in_gag(x1, x3)
min2C_out_gag(x1, x2, x3)  =  min2C_out_gag(x1, x2, x3)
U2_gag(x1, x2, x3, x4, x5)  =  U2_gag(x1, x3, x4, x5)
pD_in_ggaag(x1, x2, x3, x4, x5)  =  pD_in_ggaag(x1, x2, x5)
U14_ggaag(x1, x2, x3, x4, x5, x6)  =  U14_ggaag(x1, x2, x5, x6)
minJ_in_gga(x1, x2, x3)  =  minJ_in_gga(x1, x2)
U7_gga(x1, x2, x3)  =  U7_gga(x1, x2, x3)
leE_in_gg(x1, x2)  =  leE_in_gg(x1, x2)
s(x1)  =  s(x1)
U3_gg(x1, x2, x3)  =  U3_gg(x1, x2, x3)
0  =  0
leE_out_gg(x1, x2)  =  leE_out_gg(x1, x2)
minJ_out_gga(x1, x2, x3)  =  minJ_out_gga(x1, x2, x3)
U8_gga(x1, x2, x3)  =  U8_gga(x1, x2, x3)
gtF_in_gg(x1, x2)  =  gtF_in_gg(x1, x2)
U4_gg(x1, x2, x3)  =  U4_gg(x1, x2, x3)
gtF_out_gg(x1, x2)  =  gtF_out_gg(x1, x2)
U15_ggaag(x1, x2, x3, x4, x5, x6)  =  U15_ggaag(x1, x2, x3, x5, x6)
pD_out_ggaag(x1, x2, x3, x4, x5)  =  pD_out_ggaag(x1, x2, x3, x4, x5)
removeH_in_ggga(x1, x2, x3, x4)  =  removeH_in_ggga(x1, x2, x3)
removeH_out_ggga(x1, x2, x3, x4)  =  removeH_out_ggga(x1, x2, x3, x4)
U6_ggga(x1, x2, x3, x4, x5)  =  U6_ggga(x1, x2, x3, x5)
pI_in_ggga(x1, x2, x3, x4)  =  pI_in_ggga(x1, x2, x3)
U16_ggga(x1, x2, x3, x4, x5)  =  U16_ggga(x1, x2, x3, x5)
notEqG_in_gg(x1, x2)  =  notEqG_in_gg(x1, x2)
U5_gg(x1, x2, x3)  =  U5_gg(x1, x2, x3)
notEqG_out_gg(x1, x2)  =  notEqG_out_gg(x1, x2)
U17_ggga(x1, x2, x3, x4, x5)  =  U17_ggga(x1, x2, x3, x5)
removeK_in_gga(x1, x2, x3)  =  removeK_in_gga(x1, x2)
removeK_out_gga(x1, x2, x3)  =  removeK_out_gga(x1, x2, x3)
U9_gga(x1, x2, x3, x4, x5)  =  U9_gga(x1, x2, x3, x5)
pI_out_ggga(x1, x2, x3, x4)  =  pI_out_ggga(x1, x2, x3, x4)
MINSORTA_IN_GA(x1, x2)  =  MINSORTA_IN_GA(x1)
PB_IN_GAGAA(x1, x2, x3, x4, x5)  =  PB_IN_GAGAA(x1, x3)
U10_GAGAA(x1, x2, x3, x4, x5, x6)  =  U10_GAGAA(x1, x3, x6)
PL_IN_GGGAA(x1, x2, x3, x4, x5)  =  PL_IN_GGGAA(x1, x2, x3)
U12_GGGAA(x1, x2, x3, x4, x5, x6)  =  U12_GGGAA(x1, x2, x3, x6)

We have to consider all (P,R,Pi)-chains

(45) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(46) Obligation:

Q DP problem:
The TRS P consists of the following rules:

MINSORTA_IN_GA(.(T25, T26)) → PB_IN_GAGAA(T25, T26)
PB_IN_GAGAA(T25, T26) → U10_GAGAA(T25, T26, min2C_in_gag(T25, T26))
U10_GAGAA(T25, T26, min2C_out_gag(T25, T31, T26)) → PL_IN_GGGAA(T31, T25, T26)
PL_IN_GGGAA(T31, T25, T26) → U12_GGGAA(T31, T25, T26, removeH_in_ggga(T31, T25, T26))
U12_GGGAA(T31, T25, T26, removeH_out_ggga(T31, T25, T26, T122)) → MINSORTA_IN_GA(T122)

The TRS R consists of the following rules:

min2C_in_gag(T39, []) → min2C_out_gag(T39, T39, [])
min2C_in_gag(T48, .(T50, T51)) → U2_gag(T48, T50, T51, pD_in_ggaag(T48, T50, T51))
removeH_in_ggga(T135, T135, T136) → removeH_out_ggga(T135, T135, T136, T136)
removeH_in_ggga(T145, T146, T147) → U6_ggga(T145, T146, T147, pI_in_ggga(T145, T146, T147))
U2_gag(T48, T50, T51, pD_out_ggaag(T48, T50, X49, T52, T51)) → min2C_out_gag(T48, T52, .(T50, T51))
U6_ggga(T145, T146, T147, pI_out_ggga(T145, T146, T147, X148)) → removeH_out_ggga(T145, T146, T147, .(T146, X148))
pD_in_ggaag(T48, T50, T51) → U14_ggaag(T48, T50, T51, minJ_in_gga(T48, T50))
pI_in_ggga(T145, T146, T147) → U16_ggga(T145, T146, T147, notEqG_in_gg(T145, T146))
U14_ggaag(T48, T50, T51, minJ_out_gga(T48, T50, T55)) → U15_ggaag(T48, T50, T55, T51, min2C_in_gag(T55, T51))
U16_ggga(T145, T146, T147, notEqG_out_gg(T145, T146)) → U17_ggga(T145, T146, T147, removeK_in_gga(T145, T147))
minJ_in_gga(T70, T71) → U7_gga(T70, T71, leE_in_gg(T70, T71))
minJ_in_gga(T97, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
U15_ggaag(T48, T50, T55, T51, min2C_out_gag(T55, T52, T51)) → pD_out_ggaag(T48, T50, T55, T52, T51)
notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U17_ggga(T145, T146, T147, removeK_out_gga(T145, T147, X148)) → pI_out_ggga(T145, T146, T147, X148)
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))
removeK_in_gga(T184, .(T184, T185)) → removeK_out_gga(T184, .(T184, T185), T185)
removeK_in_gga(T192, .(T193, T194)) → U9_gga(T192, T193, T194, pI_in_ggga(T192, T193, T194))
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U9_gga(T192, T193, T194, pI_out_ggga(T192, T193, T194, X201)) → removeK_out_gga(T192, .(T193, T194), .(T193, X201))
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))

The set Q consists of the following terms:

min2C_in_gag(x0, x1)
removeH_in_ggga(x0, x1, x2)
U2_gag(x0, x1, x2, x3)
U6_ggga(x0, x1, x2, x3)
pD_in_ggaag(x0, x1, x2)
pI_in_ggga(x0, x1, x2)
U14_ggaag(x0, x1, x2, x3)
U16_ggga(x0, x1, x2, x3)
minJ_in_gga(x0, x1)
U15_ggaag(x0, x1, x2, x3, x4)
notEqG_in_gg(x0, x1)
U17_ggga(x0, x1, x2, x3)
U7_gga(x0, x1, x2)
U8_gga(x0, x1, x2)
U5_gg(x0, x1, x2)
removeK_in_gga(x0, x1)
leE_in_gg(x0, x1)
gtF_in_gg(x0, x1)
U9_gga(x0, x1, x2, x3)
U3_gg(x0, x1, x2)
U4_gg(x0, x1, x2)

We have to consider all (P,Q,R)-chains.

(47) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04,JAR06].


The following pairs can be oriented strictly and are deleted.


PB_IN_GAGAA(T25, T26) → U10_GAGAA(T25, T26, min2C_in_gag(T25, T26))
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(.(x1, x2)) = 1 + x2   
POL(0) = 0   
POL(MINSORTA_IN_GA(x1)) = x1   
POL(PB_IN_GAGAA(x1, x2)) = 1 + x2   
POL(PL_IN_GGGAA(x1, x2, x3)) = x3   
POL(U10_GAGAA(x1, x2, x3)) = x2   
POL(U12_GGGAA(x1, x2, x3, x4)) = x4   
POL(U14_ggaag(x1, x2, x3, x4)) = 0   
POL(U15_ggaag(x1, x2, x3, x4, x5)) = 0   
POL(U16_ggga(x1, x2, x3, x4)) = x3   
POL(U17_ggga(x1, x2, x3, x4)) = x4   
POL(U2_gag(x1, x2, x3, x4)) = 0   
POL(U3_gg(x1, x2, x3)) = 0   
POL(U4_gg(x1, x2, x3)) = 0   
POL(U5_gg(x1, x2, x3)) = 0   
POL(U6_ggga(x1, x2, x3, x4)) = x4   
POL(U7_gga(x1, x2, x3)) = 1 + x1 + x3   
POL(U8_gga(x1, x2, x3)) = x1 + x2 + x3   
POL(U9_gga(x1, x2, x3, x4)) = 1 + x4   
POL([]) = 0   
POL(gtF_in_gg(x1, x2)) = 0   
POL(gtF_out_gg(x1, x2)) = 1 + x1 + x2   
POL(leE_in_gg(x1, x2)) = 0   
POL(leE_out_gg(x1, x2)) = 1 + x1   
POL(min2C_in_gag(x1, x2)) = 0   
POL(min2C_out_gag(x1, x2, x3)) = 0   
POL(minJ_in_gga(x1, x2)) = 1 + x1 + x2   
POL(minJ_out_gga(x1, x2, x3)) = 1 + x1 + x3   
POL(notEqG_in_gg(x1, x2)) = 0   
POL(notEqG_out_gg(x1, x2)) = 0   
POL(pD_in_ggaag(x1, x2, x3)) = 0   
POL(pD_out_ggaag(x1, x2, x3, x4, x5)) = 0   
POL(pI_in_ggga(x1, x2, x3)) = x3   
POL(pI_out_ggga(x1, x2, x3, x4)) = 1 + x4   
POL(removeH_in_ggga(x1, x2, x3)) = x3   
POL(removeH_out_ggga(x1, x2, x3, x4)) = x4   
POL(removeK_in_gga(x1, x2)) = x2   
POL(removeK_out_gga(x1, x2, x3)) = 1 + x3   
POL(s(x1)) = 0   

The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:

removeH_in_ggga(T135, T135, T136) → removeH_out_ggga(T135, T135, T136, T136)
removeH_in_ggga(T145, T146, T147) → U6_ggga(T145, T146, T147, pI_in_ggga(T145, T146, T147))
pI_in_ggga(T145, T146, T147) → U16_ggga(T145, T146, T147, notEqG_in_gg(T145, T146))
U6_ggga(T145, T146, T147, pI_out_ggga(T145, T146, T147, X148)) → removeH_out_ggga(T145, T146, T147, .(T146, X148))
U16_ggga(T145, T146, T147, notEqG_out_gg(T145, T146)) → U17_ggga(T145, T146, T147, removeK_in_gga(T145, T147))
removeK_in_gga(T184, .(T184, T185)) → removeK_out_gga(T184, .(T184, T185), T185)
U17_ggga(T145, T146, T147, removeK_out_gga(T145, T147, X148)) → pI_out_ggga(T145, T146, T147, X148)
removeK_in_gga(T192, .(T193, T194)) → U9_gga(T192, T193, T194, pI_in_ggga(T192, T193, T194))
U9_gga(T192, T193, T194, pI_out_ggga(T192, T193, T194, X201)) → removeK_out_gga(T192, .(T193, T194), .(T193, X201))

(48) Obligation:

Q DP problem:
The TRS P consists of the following rules:

MINSORTA_IN_GA(.(T25, T26)) → PB_IN_GAGAA(T25, T26)
U10_GAGAA(T25, T26, min2C_out_gag(T25, T31, T26)) → PL_IN_GGGAA(T31, T25, T26)
PL_IN_GGGAA(T31, T25, T26) → U12_GGGAA(T31, T25, T26, removeH_in_ggga(T31, T25, T26))
U12_GGGAA(T31, T25, T26, removeH_out_ggga(T31, T25, T26, T122)) → MINSORTA_IN_GA(T122)

The TRS R consists of the following rules:

min2C_in_gag(T39, []) → min2C_out_gag(T39, T39, [])
min2C_in_gag(T48, .(T50, T51)) → U2_gag(T48, T50, T51, pD_in_ggaag(T48, T50, T51))
removeH_in_ggga(T135, T135, T136) → removeH_out_ggga(T135, T135, T136, T136)
removeH_in_ggga(T145, T146, T147) → U6_ggga(T145, T146, T147, pI_in_ggga(T145, T146, T147))
U2_gag(T48, T50, T51, pD_out_ggaag(T48, T50, X49, T52, T51)) → min2C_out_gag(T48, T52, .(T50, T51))
U6_ggga(T145, T146, T147, pI_out_ggga(T145, T146, T147, X148)) → removeH_out_ggga(T145, T146, T147, .(T146, X148))
pD_in_ggaag(T48, T50, T51) → U14_ggaag(T48, T50, T51, minJ_in_gga(T48, T50))
pI_in_ggga(T145, T146, T147) → U16_ggga(T145, T146, T147, notEqG_in_gg(T145, T146))
U14_ggaag(T48, T50, T51, minJ_out_gga(T48, T50, T55)) → U15_ggaag(T48, T50, T55, T51, min2C_in_gag(T55, T51))
U16_ggga(T145, T146, T147, notEqG_out_gg(T145, T146)) → U17_ggga(T145, T146, T147, removeK_in_gga(T145, T147))
minJ_in_gga(T70, T71) → U7_gga(T70, T71, leE_in_gg(T70, T71))
minJ_in_gga(T97, T98) → U8_gga(T97, T98, gtF_in_gg(T97, T98))
U15_ggaag(T48, T50, T55, T51, min2C_out_gag(T55, T52, T51)) → pD_out_ggaag(T48, T50, T55, T52, T51)
notEqG_in_gg(s(T160), s(T161)) → U5_gg(T160, T161, notEqG_in_gg(T160, T161))
notEqG_in_gg(s(T168), 0) → notEqG_out_gg(s(T168), 0)
notEqG_in_gg(0, s(T171)) → notEqG_out_gg(0, s(T171))
U17_ggga(T145, T146, T147, removeK_out_gga(T145, T147, X148)) → pI_out_ggga(T145, T146, T147, X148)
U7_gga(T70, T71, leE_out_gg(T70, T71)) → minJ_out_gga(T70, T71, T70)
U8_gga(T97, T98, gtF_out_gg(T97, T98)) → minJ_out_gga(T97, T98, T98)
U5_gg(T160, T161, notEqG_out_gg(T160, T161)) → notEqG_out_gg(s(T160), s(T161))
removeK_in_gga(T184, .(T184, T185)) → removeK_out_gga(T184, .(T184, T185), T185)
removeK_in_gga(T192, .(T193, T194)) → U9_gga(T192, T193, T194, pI_in_ggga(T192, T193, T194))
leE_in_gg(s(T82), s(T83)) → U3_gg(T82, T83, leE_in_gg(T82, T83))
leE_in_gg(0, s(T90)) → leE_out_gg(0, s(T90))
leE_in_gg(0, 0) → leE_out_gg(0, 0)
gtF_in_gg(s(T109), s(T110)) → U4_gg(T109, T110, gtF_in_gg(T109, T110))
gtF_in_gg(s(T115), 0) → gtF_out_gg(s(T115), 0)
U9_gga(T192, T193, T194, pI_out_ggga(T192, T193, T194, X201)) → removeK_out_gga(T192, .(T193, T194), .(T193, X201))
U3_gg(T82, T83, leE_out_gg(T82, T83)) → leE_out_gg(s(T82), s(T83))
U4_gg(T109, T110, gtF_out_gg(T109, T110)) → gtF_out_gg(s(T109), s(T110))

The set Q consists of the following terms:

min2C_in_gag(x0, x1)
removeH_in_ggga(x0, x1, x2)
U2_gag(x0, x1, x2, x3)
U6_ggga(x0, x1, x2, x3)
pD_in_ggaag(x0, x1, x2)
pI_in_ggga(x0, x1, x2)
U14_ggaag(x0, x1, x2, x3)
U16_ggga(x0, x1, x2, x3)
minJ_in_gga(x0, x1)
U15_ggaag(x0, x1, x2, x3, x4)
notEqG_in_gg(x0, x1)
U17_ggga(x0, x1, x2, x3)
U7_gga(x0, x1, x2)
U8_gga(x0, x1, x2)
U5_gg(x0, x1, x2)
removeK_in_gga(x0, x1)
leE_in_gg(x0, x1)
gtF_in_gg(x0, x1)
U9_gga(x0, x1, x2, x3)
U3_gg(x0, x1, x2)
U4_gg(x0, x1, x2)

We have to consider all (P,Q,R)-chains.

(49) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 4 less nodes.

(50) TRUE