↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
minsort2: (b,f)
min12: (f,b)
min23: (b,f,b)
min3: (b,b,f)
le2: (b,b)
gt2: (b,b)
remove3: (b,b,f)
notEq2: (b,b)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
minsort_2_in_ga2([]_0, []_0) -> minsort_2_out_ga2([]_0, []_0)
minsort_2_in_ga2(L, ._22(X, L1)) -> if_minsort_2_in_1_ga4(L, X, L1, min1_2_in_ag2(X, L))
min1_2_in_ag2(M, ._22(X, L)) -> if_min1_2_in_1_ag4(M, X, L, min2_3_in_gag3(X, M, L))
min2_3_in_gag3(X, X, []_0) -> min2_3_out_gag3(X, X, []_0)
min2_3_in_gag3(X, A, ._22(M, L)) -> if_min2_3_in_1_gag5(X, A, M, L, min_3_in_gga3(X, M, B))
min_3_in_gga3(X, Y, X) -> if_min_3_in_1_gga3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg2(0_0, s_11(Y))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_1_gga3(X, Y, le_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, X)
min_3_in_gga3(X, Y, Y) -> if_min_3_in_2_gga3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg2(s_11(X), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_2_gga3(X, Y, gt_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, Y)
if_min2_3_in_1_gag5(X, A, M, L, min_3_out_gga3(X, M, B)) -> if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_in_gag3(B, A, L))
if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_out_gag3(B, A, L)) -> min2_3_out_gag3(X, A, ._22(M, L))
if_min1_2_in_1_ag4(M, X, L, min2_3_out_gag3(X, M, L)) -> min1_2_out_ag2(M, ._22(X, L))
if_minsort_2_in_1_ga4(L, X, L1, min1_2_out_ag2(X, L)) -> if_minsort_2_in_2_ga4(L, X, L1, remove_3_in_gga3(X, L, L2))
remove_3_in_gga3(N, ._22(N, L), L) -> remove_3_out_gga3(N, ._22(N, L), L)
remove_3_in_gga3(N, ._22(M, L), ._22(M, L1)) -> if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_in_gg2(N, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg3(X, Y, notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg2(s_11(X), 0_0)
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg2(0_0, s_11(X))
if_notEq_2_in_1_gg3(X, Y, notEq_2_out_gg2(X, Y)) -> notEq_2_out_gg2(s_11(X), s_11(Y))
if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> if_remove_3_in_2_gga5(N, M, L, L1, remove_3_in_gga3(N, L, L1))
if_remove_3_in_2_gga5(N, M, L, L1, remove_3_out_gga3(N, L, L1)) -> remove_3_out_gga3(N, ._22(M, L), ._22(M, L1))
if_minsort_2_in_2_ga4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_in_ga2(L2, L1))
if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_out_ga2(L2, L1)) -> minsort_2_out_ga2(L, ._22(X, L1))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
minsort_2_in_ga2([]_0, []_0) -> minsort_2_out_ga2([]_0, []_0)
minsort_2_in_ga2(L, ._22(X, L1)) -> if_minsort_2_in_1_ga4(L, X, L1, min1_2_in_ag2(X, L))
min1_2_in_ag2(M, ._22(X, L)) -> if_min1_2_in_1_ag4(M, X, L, min2_3_in_gag3(X, M, L))
min2_3_in_gag3(X, X, []_0) -> min2_3_out_gag3(X, X, []_0)
min2_3_in_gag3(X, A, ._22(M, L)) -> if_min2_3_in_1_gag5(X, A, M, L, min_3_in_gga3(X, M, B))
min_3_in_gga3(X, Y, X) -> if_min_3_in_1_gga3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg2(0_0, s_11(Y))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_1_gga3(X, Y, le_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, X)
min_3_in_gga3(X, Y, Y) -> if_min_3_in_2_gga3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg2(s_11(X), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_2_gga3(X, Y, gt_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, Y)
if_min2_3_in_1_gag5(X, A, M, L, min_3_out_gga3(X, M, B)) -> if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_in_gag3(B, A, L))
if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_out_gag3(B, A, L)) -> min2_3_out_gag3(X, A, ._22(M, L))
if_min1_2_in_1_ag4(M, X, L, min2_3_out_gag3(X, M, L)) -> min1_2_out_ag2(M, ._22(X, L))
if_minsort_2_in_1_ga4(L, X, L1, min1_2_out_ag2(X, L)) -> if_minsort_2_in_2_ga4(L, X, L1, remove_3_in_gga3(X, L, L2))
remove_3_in_gga3(N, ._22(N, L), L) -> remove_3_out_gga3(N, ._22(N, L), L)
remove_3_in_gga3(N, ._22(M, L), ._22(M, L1)) -> if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_in_gg2(N, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg3(X, Y, notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg2(s_11(X), 0_0)
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg2(0_0, s_11(X))
if_notEq_2_in_1_gg3(X, Y, notEq_2_out_gg2(X, Y)) -> notEq_2_out_gg2(s_11(X), s_11(Y))
if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> if_remove_3_in_2_gga5(N, M, L, L1, remove_3_in_gga3(N, L, L1))
if_remove_3_in_2_gga5(N, M, L, L1, remove_3_out_gga3(N, L, L1)) -> remove_3_out_gga3(N, ._22(M, L), ._22(M, L1))
if_minsort_2_in_2_ga4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_in_ga2(L2, L1))
if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_out_ga2(L2, L1)) -> minsort_2_out_ga2(L, ._22(X, L1))
MINSORT_2_IN_GA2(L, ._22(X, L1)) -> IF_MINSORT_2_IN_1_GA4(L, X, L1, min1_2_in_ag2(X, L))
MINSORT_2_IN_GA2(L, ._22(X, L1)) -> MIN1_2_IN_AG2(X, L)
MIN1_2_IN_AG2(M, ._22(X, L)) -> IF_MIN1_2_IN_1_AG4(M, X, L, min2_3_in_gag3(X, M, L))
MIN1_2_IN_AG2(M, ._22(X, L)) -> MIN2_3_IN_GAG3(X, M, L)
MIN2_3_IN_GAG3(X, A, ._22(M, L)) -> IF_MIN2_3_IN_1_GAG5(X, A, M, L, min_3_in_gga3(X, M, B))
MIN2_3_IN_GAG3(X, A, ._22(M, L)) -> MIN_3_IN_GGA3(X, M, B)
MIN_3_IN_GGA3(X, Y, X) -> IF_MIN_3_IN_1_GGA3(X, Y, le_2_in_gg2(X, Y))
MIN_3_IN_GGA3(X, Y, X) -> LE_2_IN_GG2(X, Y)
LE_2_IN_GG2(s_11(X), s_11(Y)) -> IF_LE_2_IN_1_GG3(X, Y, le_2_in_gg2(X, Y))
LE_2_IN_GG2(s_11(X), s_11(Y)) -> LE_2_IN_GG2(X, Y)
MIN_3_IN_GGA3(X, Y, Y) -> IF_MIN_3_IN_2_GGA3(X, Y, gt_2_in_gg2(X, Y))
MIN_3_IN_GGA3(X, Y, Y) -> GT_2_IN_GG2(X, Y)
GT_2_IN_GG2(s_11(X), s_11(Y)) -> IF_GT_2_IN_1_GG3(X, Y, gt_2_in_gg2(X, Y))
GT_2_IN_GG2(s_11(X), s_11(Y)) -> GT_2_IN_GG2(X, Y)
IF_MIN2_3_IN_1_GAG5(X, A, M, L, min_3_out_gga3(X, M, B)) -> IF_MIN2_3_IN_2_GAG6(X, A, M, L, B, min2_3_in_gag3(B, A, L))
IF_MIN2_3_IN_1_GAG5(X, A, M, L, min_3_out_gga3(X, M, B)) -> MIN2_3_IN_GAG3(B, A, L)
IF_MINSORT_2_IN_1_GA4(L, X, L1, min1_2_out_ag2(X, L)) -> IF_MINSORT_2_IN_2_GA4(L, X, L1, remove_3_in_gga3(X, L, L2))
IF_MINSORT_2_IN_1_GA4(L, X, L1, min1_2_out_ag2(X, L)) -> REMOVE_3_IN_GGA3(X, L, L2)
REMOVE_3_IN_GGA3(N, ._22(M, L), ._22(M, L1)) -> IF_REMOVE_3_IN_1_GGA5(N, M, L, L1, notEq_2_in_gg2(N, M))
REMOVE_3_IN_GGA3(N, ._22(M, L), ._22(M, L1)) -> NOTEQ_2_IN_GG2(N, M)
NOTEQ_2_IN_GG2(s_11(X), s_11(Y)) -> IF_NOTEQ_2_IN_1_GG3(X, Y, notEq_2_in_gg2(X, Y))
NOTEQ_2_IN_GG2(s_11(X), s_11(Y)) -> NOTEQ_2_IN_GG2(X, Y)
IF_REMOVE_3_IN_1_GGA5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> IF_REMOVE_3_IN_2_GGA5(N, M, L, L1, remove_3_in_gga3(N, L, L1))
IF_REMOVE_3_IN_1_GGA5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> REMOVE_3_IN_GGA3(N, L, L1)
IF_MINSORT_2_IN_2_GA4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> IF_MINSORT_2_IN_3_GA5(L, X, L1, L2, minsort_2_in_ga2(L2, L1))
IF_MINSORT_2_IN_2_GA4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> MINSORT_2_IN_GA2(L2, L1)
minsort_2_in_ga2([]_0, []_0) -> minsort_2_out_ga2([]_0, []_0)
minsort_2_in_ga2(L, ._22(X, L1)) -> if_minsort_2_in_1_ga4(L, X, L1, min1_2_in_ag2(X, L))
min1_2_in_ag2(M, ._22(X, L)) -> if_min1_2_in_1_ag4(M, X, L, min2_3_in_gag3(X, M, L))
min2_3_in_gag3(X, X, []_0) -> min2_3_out_gag3(X, X, []_0)
min2_3_in_gag3(X, A, ._22(M, L)) -> if_min2_3_in_1_gag5(X, A, M, L, min_3_in_gga3(X, M, B))
min_3_in_gga3(X, Y, X) -> if_min_3_in_1_gga3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg2(0_0, s_11(Y))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_1_gga3(X, Y, le_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, X)
min_3_in_gga3(X, Y, Y) -> if_min_3_in_2_gga3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg2(s_11(X), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_2_gga3(X, Y, gt_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, Y)
if_min2_3_in_1_gag5(X, A, M, L, min_3_out_gga3(X, M, B)) -> if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_in_gag3(B, A, L))
if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_out_gag3(B, A, L)) -> min2_3_out_gag3(X, A, ._22(M, L))
if_min1_2_in_1_ag4(M, X, L, min2_3_out_gag3(X, M, L)) -> min1_2_out_ag2(M, ._22(X, L))
if_minsort_2_in_1_ga4(L, X, L1, min1_2_out_ag2(X, L)) -> if_minsort_2_in_2_ga4(L, X, L1, remove_3_in_gga3(X, L, L2))
remove_3_in_gga3(N, ._22(N, L), L) -> remove_3_out_gga3(N, ._22(N, L), L)
remove_3_in_gga3(N, ._22(M, L), ._22(M, L1)) -> if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_in_gg2(N, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg3(X, Y, notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg2(s_11(X), 0_0)
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg2(0_0, s_11(X))
if_notEq_2_in_1_gg3(X, Y, notEq_2_out_gg2(X, Y)) -> notEq_2_out_gg2(s_11(X), s_11(Y))
if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> if_remove_3_in_2_gga5(N, M, L, L1, remove_3_in_gga3(N, L, L1))
if_remove_3_in_2_gga5(N, M, L, L1, remove_3_out_gga3(N, L, L1)) -> remove_3_out_gga3(N, ._22(M, L), ._22(M, L1))
if_minsort_2_in_2_ga4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_in_ga2(L2, L1))
if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_out_ga2(L2, L1)) -> minsort_2_out_ga2(L, ._22(X, L1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
MINSORT_2_IN_GA2(L, ._22(X, L1)) -> IF_MINSORT_2_IN_1_GA4(L, X, L1, min1_2_in_ag2(X, L))
MINSORT_2_IN_GA2(L, ._22(X, L1)) -> MIN1_2_IN_AG2(X, L)
MIN1_2_IN_AG2(M, ._22(X, L)) -> IF_MIN1_2_IN_1_AG4(M, X, L, min2_3_in_gag3(X, M, L))
MIN1_2_IN_AG2(M, ._22(X, L)) -> MIN2_3_IN_GAG3(X, M, L)
MIN2_3_IN_GAG3(X, A, ._22(M, L)) -> IF_MIN2_3_IN_1_GAG5(X, A, M, L, min_3_in_gga3(X, M, B))
MIN2_3_IN_GAG3(X, A, ._22(M, L)) -> MIN_3_IN_GGA3(X, M, B)
MIN_3_IN_GGA3(X, Y, X) -> IF_MIN_3_IN_1_GGA3(X, Y, le_2_in_gg2(X, Y))
MIN_3_IN_GGA3(X, Y, X) -> LE_2_IN_GG2(X, Y)
LE_2_IN_GG2(s_11(X), s_11(Y)) -> IF_LE_2_IN_1_GG3(X, Y, le_2_in_gg2(X, Y))
LE_2_IN_GG2(s_11(X), s_11(Y)) -> LE_2_IN_GG2(X, Y)
MIN_3_IN_GGA3(X, Y, Y) -> IF_MIN_3_IN_2_GGA3(X, Y, gt_2_in_gg2(X, Y))
MIN_3_IN_GGA3(X, Y, Y) -> GT_2_IN_GG2(X, Y)
GT_2_IN_GG2(s_11(X), s_11(Y)) -> IF_GT_2_IN_1_GG3(X, Y, gt_2_in_gg2(X, Y))
GT_2_IN_GG2(s_11(X), s_11(Y)) -> GT_2_IN_GG2(X, Y)
IF_MIN2_3_IN_1_GAG5(X, A, M, L, min_3_out_gga3(X, M, B)) -> IF_MIN2_3_IN_2_GAG6(X, A, M, L, B, min2_3_in_gag3(B, A, L))
IF_MIN2_3_IN_1_GAG5(X, A, M, L, min_3_out_gga3(X, M, B)) -> MIN2_3_IN_GAG3(B, A, L)
IF_MINSORT_2_IN_1_GA4(L, X, L1, min1_2_out_ag2(X, L)) -> IF_MINSORT_2_IN_2_GA4(L, X, L1, remove_3_in_gga3(X, L, L2))
IF_MINSORT_2_IN_1_GA4(L, X, L1, min1_2_out_ag2(X, L)) -> REMOVE_3_IN_GGA3(X, L, L2)
REMOVE_3_IN_GGA3(N, ._22(M, L), ._22(M, L1)) -> IF_REMOVE_3_IN_1_GGA5(N, M, L, L1, notEq_2_in_gg2(N, M))
REMOVE_3_IN_GGA3(N, ._22(M, L), ._22(M, L1)) -> NOTEQ_2_IN_GG2(N, M)
NOTEQ_2_IN_GG2(s_11(X), s_11(Y)) -> IF_NOTEQ_2_IN_1_GG3(X, Y, notEq_2_in_gg2(X, Y))
NOTEQ_2_IN_GG2(s_11(X), s_11(Y)) -> NOTEQ_2_IN_GG2(X, Y)
IF_REMOVE_3_IN_1_GGA5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> IF_REMOVE_3_IN_2_GGA5(N, M, L, L1, remove_3_in_gga3(N, L, L1))
IF_REMOVE_3_IN_1_GGA5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> REMOVE_3_IN_GGA3(N, L, L1)
IF_MINSORT_2_IN_2_GA4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> IF_MINSORT_2_IN_3_GA5(L, X, L1, L2, minsort_2_in_ga2(L2, L1))
IF_MINSORT_2_IN_2_GA4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> MINSORT_2_IN_GA2(L2, L1)
minsort_2_in_ga2([]_0, []_0) -> minsort_2_out_ga2([]_0, []_0)
minsort_2_in_ga2(L, ._22(X, L1)) -> if_minsort_2_in_1_ga4(L, X, L1, min1_2_in_ag2(X, L))
min1_2_in_ag2(M, ._22(X, L)) -> if_min1_2_in_1_ag4(M, X, L, min2_3_in_gag3(X, M, L))
min2_3_in_gag3(X, X, []_0) -> min2_3_out_gag3(X, X, []_0)
min2_3_in_gag3(X, A, ._22(M, L)) -> if_min2_3_in_1_gag5(X, A, M, L, min_3_in_gga3(X, M, B))
min_3_in_gga3(X, Y, X) -> if_min_3_in_1_gga3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg2(0_0, s_11(Y))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_1_gga3(X, Y, le_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, X)
min_3_in_gga3(X, Y, Y) -> if_min_3_in_2_gga3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg2(s_11(X), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_2_gga3(X, Y, gt_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, Y)
if_min2_3_in_1_gag5(X, A, M, L, min_3_out_gga3(X, M, B)) -> if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_in_gag3(B, A, L))
if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_out_gag3(B, A, L)) -> min2_3_out_gag3(X, A, ._22(M, L))
if_min1_2_in_1_ag4(M, X, L, min2_3_out_gag3(X, M, L)) -> min1_2_out_ag2(M, ._22(X, L))
if_minsort_2_in_1_ga4(L, X, L1, min1_2_out_ag2(X, L)) -> if_minsort_2_in_2_ga4(L, X, L1, remove_3_in_gga3(X, L, L2))
remove_3_in_gga3(N, ._22(N, L), L) -> remove_3_out_gga3(N, ._22(N, L), L)
remove_3_in_gga3(N, ._22(M, L), ._22(M, L1)) -> if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_in_gg2(N, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg3(X, Y, notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg2(s_11(X), 0_0)
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg2(0_0, s_11(X))
if_notEq_2_in_1_gg3(X, Y, notEq_2_out_gg2(X, Y)) -> notEq_2_out_gg2(s_11(X), s_11(Y))
if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> if_remove_3_in_2_gga5(N, M, L, L1, remove_3_in_gga3(N, L, L1))
if_remove_3_in_2_gga5(N, M, L, L1, remove_3_out_gga3(N, L, L1)) -> remove_3_out_gga3(N, ._22(M, L), ._22(M, L1))
if_minsort_2_in_2_ga4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_in_ga2(L2, L1))
if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_out_ga2(L2, L1)) -> minsort_2_out_ga2(L, ._22(X, L1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
NOTEQ_2_IN_GG2(s_11(X), s_11(Y)) -> NOTEQ_2_IN_GG2(X, Y)
minsort_2_in_ga2([]_0, []_0) -> minsort_2_out_ga2([]_0, []_0)
minsort_2_in_ga2(L, ._22(X, L1)) -> if_minsort_2_in_1_ga4(L, X, L1, min1_2_in_ag2(X, L))
min1_2_in_ag2(M, ._22(X, L)) -> if_min1_2_in_1_ag4(M, X, L, min2_3_in_gag3(X, M, L))
min2_3_in_gag3(X, X, []_0) -> min2_3_out_gag3(X, X, []_0)
min2_3_in_gag3(X, A, ._22(M, L)) -> if_min2_3_in_1_gag5(X, A, M, L, min_3_in_gga3(X, M, B))
min_3_in_gga3(X, Y, X) -> if_min_3_in_1_gga3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg2(0_0, s_11(Y))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_1_gga3(X, Y, le_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, X)
min_3_in_gga3(X, Y, Y) -> if_min_3_in_2_gga3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg2(s_11(X), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_2_gga3(X, Y, gt_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, Y)
if_min2_3_in_1_gag5(X, A, M, L, min_3_out_gga3(X, M, B)) -> if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_in_gag3(B, A, L))
if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_out_gag3(B, A, L)) -> min2_3_out_gag3(X, A, ._22(M, L))
if_min1_2_in_1_ag4(M, X, L, min2_3_out_gag3(X, M, L)) -> min1_2_out_ag2(M, ._22(X, L))
if_minsort_2_in_1_ga4(L, X, L1, min1_2_out_ag2(X, L)) -> if_minsort_2_in_2_ga4(L, X, L1, remove_3_in_gga3(X, L, L2))
remove_3_in_gga3(N, ._22(N, L), L) -> remove_3_out_gga3(N, ._22(N, L), L)
remove_3_in_gga3(N, ._22(M, L), ._22(M, L1)) -> if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_in_gg2(N, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg3(X, Y, notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg2(s_11(X), 0_0)
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg2(0_0, s_11(X))
if_notEq_2_in_1_gg3(X, Y, notEq_2_out_gg2(X, Y)) -> notEq_2_out_gg2(s_11(X), s_11(Y))
if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> if_remove_3_in_2_gga5(N, M, L, L1, remove_3_in_gga3(N, L, L1))
if_remove_3_in_2_gga5(N, M, L, L1, remove_3_out_gga3(N, L, L1)) -> remove_3_out_gga3(N, ._22(M, L), ._22(M, L1))
if_minsort_2_in_2_ga4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_in_ga2(L2, L1))
if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_out_ga2(L2, L1)) -> minsort_2_out_ga2(L, ._22(X, L1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
NOTEQ_2_IN_GG2(s_11(X), s_11(Y)) -> NOTEQ_2_IN_GG2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
NOTEQ_2_IN_GG2(s_11(X), s_11(Y)) -> NOTEQ_2_IN_GG2(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
IF_REMOVE_3_IN_1_GGA5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> REMOVE_3_IN_GGA3(N, L, L1)
REMOVE_3_IN_GGA3(N, ._22(M, L), ._22(M, L1)) -> IF_REMOVE_3_IN_1_GGA5(N, M, L, L1, notEq_2_in_gg2(N, M))
minsort_2_in_ga2([]_0, []_0) -> minsort_2_out_ga2([]_0, []_0)
minsort_2_in_ga2(L, ._22(X, L1)) -> if_minsort_2_in_1_ga4(L, X, L1, min1_2_in_ag2(X, L))
min1_2_in_ag2(M, ._22(X, L)) -> if_min1_2_in_1_ag4(M, X, L, min2_3_in_gag3(X, M, L))
min2_3_in_gag3(X, X, []_0) -> min2_3_out_gag3(X, X, []_0)
min2_3_in_gag3(X, A, ._22(M, L)) -> if_min2_3_in_1_gag5(X, A, M, L, min_3_in_gga3(X, M, B))
min_3_in_gga3(X, Y, X) -> if_min_3_in_1_gga3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg2(0_0, s_11(Y))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_1_gga3(X, Y, le_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, X)
min_3_in_gga3(X, Y, Y) -> if_min_3_in_2_gga3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg2(s_11(X), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_2_gga3(X, Y, gt_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, Y)
if_min2_3_in_1_gag5(X, A, M, L, min_3_out_gga3(X, M, B)) -> if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_in_gag3(B, A, L))
if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_out_gag3(B, A, L)) -> min2_3_out_gag3(X, A, ._22(M, L))
if_min1_2_in_1_ag4(M, X, L, min2_3_out_gag3(X, M, L)) -> min1_2_out_ag2(M, ._22(X, L))
if_minsort_2_in_1_ga4(L, X, L1, min1_2_out_ag2(X, L)) -> if_minsort_2_in_2_ga4(L, X, L1, remove_3_in_gga3(X, L, L2))
remove_3_in_gga3(N, ._22(N, L), L) -> remove_3_out_gga3(N, ._22(N, L), L)
remove_3_in_gga3(N, ._22(M, L), ._22(M, L1)) -> if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_in_gg2(N, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg3(X, Y, notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg2(s_11(X), 0_0)
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg2(0_0, s_11(X))
if_notEq_2_in_1_gg3(X, Y, notEq_2_out_gg2(X, Y)) -> notEq_2_out_gg2(s_11(X), s_11(Y))
if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> if_remove_3_in_2_gga5(N, M, L, L1, remove_3_in_gga3(N, L, L1))
if_remove_3_in_2_gga5(N, M, L, L1, remove_3_out_gga3(N, L, L1)) -> remove_3_out_gga3(N, ._22(M, L), ._22(M, L1))
if_minsort_2_in_2_ga4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_in_ga2(L2, L1))
if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_out_ga2(L2, L1)) -> minsort_2_out_ga2(L, ._22(X, L1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
IF_REMOVE_3_IN_1_GGA5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> REMOVE_3_IN_GGA3(N, L, L1)
REMOVE_3_IN_GGA3(N, ._22(M, L), ._22(M, L1)) -> IF_REMOVE_3_IN_1_GGA5(N, M, L, L1, notEq_2_in_gg2(N, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg3(X, Y, notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg2(s_11(X), 0_0)
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg2(0_0, s_11(X))
if_notEq_2_in_1_gg3(X, Y, notEq_2_out_gg2(X, Y)) -> notEq_2_out_gg2(s_11(X), s_11(Y))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
IF_REMOVE_3_IN_1_GGA4(N, M, L, notEq_2_out_gg) -> REMOVE_3_IN_GGA2(N, L)
REMOVE_3_IN_GGA2(N, ._22(M, L)) -> IF_REMOVE_3_IN_1_GGA4(N, M, L, notEq_2_in_gg2(N, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg1(notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg
if_notEq_2_in_1_gg1(notEq_2_out_gg) -> notEq_2_out_gg
notEq_2_in_gg2(x0, x1)
if_notEq_2_in_1_gg1(x0)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
GT_2_IN_GG2(s_11(X), s_11(Y)) -> GT_2_IN_GG2(X, Y)
minsort_2_in_ga2([]_0, []_0) -> minsort_2_out_ga2([]_0, []_0)
minsort_2_in_ga2(L, ._22(X, L1)) -> if_minsort_2_in_1_ga4(L, X, L1, min1_2_in_ag2(X, L))
min1_2_in_ag2(M, ._22(X, L)) -> if_min1_2_in_1_ag4(M, X, L, min2_3_in_gag3(X, M, L))
min2_3_in_gag3(X, X, []_0) -> min2_3_out_gag3(X, X, []_0)
min2_3_in_gag3(X, A, ._22(M, L)) -> if_min2_3_in_1_gag5(X, A, M, L, min_3_in_gga3(X, M, B))
min_3_in_gga3(X, Y, X) -> if_min_3_in_1_gga3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg2(0_0, s_11(Y))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_1_gga3(X, Y, le_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, X)
min_3_in_gga3(X, Y, Y) -> if_min_3_in_2_gga3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg2(s_11(X), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_2_gga3(X, Y, gt_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, Y)
if_min2_3_in_1_gag5(X, A, M, L, min_3_out_gga3(X, M, B)) -> if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_in_gag3(B, A, L))
if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_out_gag3(B, A, L)) -> min2_3_out_gag3(X, A, ._22(M, L))
if_min1_2_in_1_ag4(M, X, L, min2_3_out_gag3(X, M, L)) -> min1_2_out_ag2(M, ._22(X, L))
if_minsort_2_in_1_ga4(L, X, L1, min1_2_out_ag2(X, L)) -> if_minsort_2_in_2_ga4(L, X, L1, remove_3_in_gga3(X, L, L2))
remove_3_in_gga3(N, ._22(N, L), L) -> remove_3_out_gga3(N, ._22(N, L), L)
remove_3_in_gga3(N, ._22(M, L), ._22(M, L1)) -> if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_in_gg2(N, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg3(X, Y, notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg2(s_11(X), 0_0)
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg2(0_0, s_11(X))
if_notEq_2_in_1_gg3(X, Y, notEq_2_out_gg2(X, Y)) -> notEq_2_out_gg2(s_11(X), s_11(Y))
if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> if_remove_3_in_2_gga5(N, M, L, L1, remove_3_in_gga3(N, L, L1))
if_remove_3_in_2_gga5(N, M, L, L1, remove_3_out_gga3(N, L, L1)) -> remove_3_out_gga3(N, ._22(M, L), ._22(M, L1))
if_minsort_2_in_2_ga4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_in_ga2(L2, L1))
if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_out_ga2(L2, L1)) -> minsort_2_out_ga2(L, ._22(X, L1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
GT_2_IN_GG2(s_11(X), s_11(Y)) -> GT_2_IN_GG2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
GT_2_IN_GG2(s_11(X), s_11(Y)) -> GT_2_IN_GG2(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
LE_2_IN_GG2(s_11(X), s_11(Y)) -> LE_2_IN_GG2(X, Y)
minsort_2_in_ga2([]_0, []_0) -> minsort_2_out_ga2([]_0, []_0)
minsort_2_in_ga2(L, ._22(X, L1)) -> if_minsort_2_in_1_ga4(L, X, L1, min1_2_in_ag2(X, L))
min1_2_in_ag2(M, ._22(X, L)) -> if_min1_2_in_1_ag4(M, X, L, min2_3_in_gag3(X, M, L))
min2_3_in_gag3(X, X, []_0) -> min2_3_out_gag3(X, X, []_0)
min2_3_in_gag3(X, A, ._22(M, L)) -> if_min2_3_in_1_gag5(X, A, M, L, min_3_in_gga3(X, M, B))
min_3_in_gga3(X, Y, X) -> if_min_3_in_1_gga3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg2(0_0, s_11(Y))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_1_gga3(X, Y, le_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, X)
min_3_in_gga3(X, Y, Y) -> if_min_3_in_2_gga3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg2(s_11(X), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_2_gga3(X, Y, gt_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, Y)
if_min2_3_in_1_gag5(X, A, M, L, min_3_out_gga3(X, M, B)) -> if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_in_gag3(B, A, L))
if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_out_gag3(B, A, L)) -> min2_3_out_gag3(X, A, ._22(M, L))
if_min1_2_in_1_ag4(M, X, L, min2_3_out_gag3(X, M, L)) -> min1_2_out_ag2(M, ._22(X, L))
if_minsort_2_in_1_ga4(L, X, L1, min1_2_out_ag2(X, L)) -> if_minsort_2_in_2_ga4(L, X, L1, remove_3_in_gga3(X, L, L2))
remove_3_in_gga3(N, ._22(N, L), L) -> remove_3_out_gga3(N, ._22(N, L), L)
remove_3_in_gga3(N, ._22(M, L), ._22(M, L1)) -> if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_in_gg2(N, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg3(X, Y, notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg2(s_11(X), 0_0)
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg2(0_0, s_11(X))
if_notEq_2_in_1_gg3(X, Y, notEq_2_out_gg2(X, Y)) -> notEq_2_out_gg2(s_11(X), s_11(Y))
if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> if_remove_3_in_2_gga5(N, M, L, L1, remove_3_in_gga3(N, L, L1))
if_remove_3_in_2_gga5(N, M, L, L1, remove_3_out_gga3(N, L, L1)) -> remove_3_out_gga3(N, ._22(M, L), ._22(M, L1))
if_minsort_2_in_2_ga4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_in_ga2(L2, L1))
if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_out_ga2(L2, L1)) -> minsort_2_out_ga2(L, ._22(X, L1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
LE_2_IN_GG2(s_11(X), s_11(Y)) -> LE_2_IN_GG2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
LE_2_IN_GG2(s_11(X), s_11(Y)) -> LE_2_IN_GG2(X, Y)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
IF_MIN2_3_IN_1_GAG5(X, A, M, L, min_3_out_gga3(X, M, B)) -> MIN2_3_IN_GAG3(B, A, L)
MIN2_3_IN_GAG3(X, A, ._22(M, L)) -> IF_MIN2_3_IN_1_GAG5(X, A, M, L, min_3_in_gga3(X, M, B))
minsort_2_in_ga2([]_0, []_0) -> minsort_2_out_ga2([]_0, []_0)
minsort_2_in_ga2(L, ._22(X, L1)) -> if_minsort_2_in_1_ga4(L, X, L1, min1_2_in_ag2(X, L))
min1_2_in_ag2(M, ._22(X, L)) -> if_min1_2_in_1_ag4(M, X, L, min2_3_in_gag3(X, M, L))
min2_3_in_gag3(X, X, []_0) -> min2_3_out_gag3(X, X, []_0)
min2_3_in_gag3(X, A, ._22(M, L)) -> if_min2_3_in_1_gag5(X, A, M, L, min_3_in_gga3(X, M, B))
min_3_in_gga3(X, Y, X) -> if_min_3_in_1_gga3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg2(0_0, s_11(Y))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_1_gga3(X, Y, le_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, X)
min_3_in_gga3(X, Y, Y) -> if_min_3_in_2_gga3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg2(s_11(X), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_2_gga3(X, Y, gt_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, Y)
if_min2_3_in_1_gag5(X, A, M, L, min_3_out_gga3(X, M, B)) -> if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_in_gag3(B, A, L))
if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_out_gag3(B, A, L)) -> min2_3_out_gag3(X, A, ._22(M, L))
if_min1_2_in_1_ag4(M, X, L, min2_3_out_gag3(X, M, L)) -> min1_2_out_ag2(M, ._22(X, L))
if_minsort_2_in_1_ga4(L, X, L1, min1_2_out_ag2(X, L)) -> if_minsort_2_in_2_ga4(L, X, L1, remove_3_in_gga3(X, L, L2))
remove_3_in_gga3(N, ._22(N, L), L) -> remove_3_out_gga3(N, ._22(N, L), L)
remove_3_in_gga3(N, ._22(M, L), ._22(M, L1)) -> if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_in_gg2(N, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg3(X, Y, notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg2(s_11(X), 0_0)
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg2(0_0, s_11(X))
if_notEq_2_in_1_gg3(X, Y, notEq_2_out_gg2(X, Y)) -> notEq_2_out_gg2(s_11(X), s_11(Y))
if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> if_remove_3_in_2_gga5(N, M, L, L1, remove_3_in_gga3(N, L, L1))
if_remove_3_in_2_gga5(N, M, L, L1, remove_3_out_gga3(N, L, L1)) -> remove_3_out_gga3(N, ._22(M, L), ._22(M, L1))
if_minsort_2_in_2_ga4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_in_ga2(L2, L1))
if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_out_ga2(L2, L1)) -> minsort_2_out_ga2(L, ._22(X, L1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
IF_MIN2_3_IN_1_GAG5(X, A, M, L, min_3_out_gga3(X, M, B)) -> MIN2_3_IN_GAG3(B, A, L)
MIN2_3_IN_GAG3(X, A, ._22(M, L)) -> IF_MIN2_3_IN_1_GAG5(X, A, M, L, min_3_in_gga3(X, M, B))
min_3_in_gga3(X, Y, X) -> if_min_3_in_1_gga3(X, Y, le_2_in_gg2(X, Y))
min_3_in_gga3(X, Y, Y) -> if_min_3_in_2_gga3(X, Y, gt_2_in_gg2(X, Y))
if_min_3_in_1_gga3(X, Y, le_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, X)
if_min_3_in_2_gga3(X, Y, gt_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, Y)
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg2(0_0, s_11(Y))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg2(s_11(X), 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
IF_MIN2_3_IN_1_GAG2(L, min_3_out_gga1(B)) -> MIN2_3_IN_GAG2(B, L)
MIN2_3_IN_GAG2(X, ._22(M, L)) -> IF_MIN2_3_IN_1_GAG2(L, min_3_in_gga2(X, M))
min_3_in_gga2(X, Y) -> if_min_3_in_1_gga2(X, le_2_in_gg2(X, Y))
min_3_in_gga2(X, Y) -> if_min_3_in_2_gga2(Y, gt_2_in_gg2(X, Y))
if_min_3_in_1_gga2(X, le_2_out_gg) -> min_3_out_gga1(X)
if_min_3_in_2_gga2(Y, gt_2_out_gg) -> min_3_out_gga1(Y)
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg1(le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg1(gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg
if_le_2_in_1_gg1(le_2_out_gg) -> le_2_out_gg
if_gt_2_in_1_gg1(gt_2_out_gg) -> gt_2_out_gg
min_3_in_gga2(x0, x1)
if_min_3_in_1_gga2(x0, x1)
if_min_3_in_2_gga2(x0, x1)
le_2_in_gg2(x0, x1)
gt_2_in_gg2(x0, x1)
if_le_2_in_1_gg1(x0)
if_gt_2_in_1_gg1(x0)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
IF_MINSORT_2_IN_2_GA4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> MINSORT_2_IN_GA2(L2, L1)
MINSORT_2_IN_GA2(L, ._22(X, L1)) -> IF_MINSORT_2_IN_1_GA4(L, X, L1, min1_2_in_ag2(X, L))
IF_MINSORT_2_IN_1_GA4(L, X, L1, min1_2_out_ag2(X, L)) -> IF_MINSORT_2_IN_2_GA4(L, X, L1, remove_3_in_gga3(X, L, L2))
minsort_2_in_ga2([]_0, []_0) -> minsort_2_out_ga2([]_0, []_0)
minsort_2_in_ga2(L, ._22(X, L1)) -> if_minsort_2_in_1_ga4(L, X, L1, min1_2_in_ag2(X, L))
min1_2_in_ag2(M, ._22(X, L)) -> if_min1_2_in_1_ag4(M, X, L, min2_3_in_gag3(X, M, L))
min2_3_in_gag3(X, X, []_0) -> min2_3_out_gag3(X, X, []_0)
min2_3_in_gag3(X, A, ._22(M, L)) -> if_min2_3_in_1_gag5(X, A, M, L, min_3_in_gga3(X, M, B))
min_3_in_gga3(X, Y, X) -> if_min_3_in_1_gga3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg2(0_0, s_11(Y))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_1_gga3(X, Y, le_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, X)
min_3_in_gga3(X, Y, Y) -> if_min_3_in_2_gga3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg2(s_11(X), 0_0)
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
if_min_3_in_2_gga3(X, Y, gt_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, Y)
if_min2_3_in_1_gag5(X, A, M, L, min_3_out_gga3(X, M, B)) -> if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_in_gag3(B, A, L))
if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_out_gag3(B, A, L)) -> min2_3_out_gag3(X, A, ._22(M, L))
if_min1_2_in_1_ag4(M, X, L, min2_3_out_gag3(X, M, L)) -> min1_2_out_ag2(M, ._22(X, L))
if_minsort_2_in_1_ga4(L, X, L1, min1_2_out_ag2(X, L)) -> if_minsort_2_in_2_ga4(L, X, L1, remove_3_in_gga3(X, L, L2))
remove_3_in_gga3(N, ._22(N, L), L) -> remove_3_out_gga3(N, ._22(N, L), L)
remove_3_in_gga3(N, ._22(M, L), ._22(M, L1)) -> if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_in_gg2(N, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg3(X, Y, notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg2(s_11(X), 0_0)
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg2(0_0, s_11(X))
if_notEq_2_in_1_gg3(X, Y, notEq_2_out_gg2(X, Y)) -> notEq_2_out_gg2(s_11(X), s_11(Y))
if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> if_remove_3_in_2_gga5(N, M, L, L1, remove_3_in_gga3(N, L, L1))
if_remove_3_in_2_gga5(N, M, L, L1, remove_3_out_gga3(N, L, L1)) -> remove_3_out_gga3(N, ._22(M, L), ._22(M, L1))
if_minsort_2_in_2_ga4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_in_ga2(L2, L1))
if_minsort_2_in_3_ga5(L, X, L1, L2, minsort_2_out_ga2(L2, L1)) -> minsort_2_out_ga2(L, ._22(X, L1))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
IF_MINSORT_2_IN_2_GA4(L, X, L1, remove_3_out_gga3(X, L, L2)) -> MINSORT_2_IN_GA2(L2, L1)
MINSORT_2_IN_GA2(L, ._22(X, L1)) -> IF_MINSORT_2_IN_1_GA4(L, X, L1, min1_2_in_ag2(X, L))
IF_MINSORT_2_IN_1_GA4(L, X, L1, min1_2_out_ag2(X, L)) -> IF_MINSORT_2_IN_2_GA4(L, X, L1, remove_3_in_gga3(X, L, L2))
min1_2_in_ag2(M, ._22(X, L)) -> if_min1_2_in_1_ag4(M, X, L, min2_3_in_gag3(X, M, L))
remove_3_in_gga3(N, ._22(N, L), L) -> remove_3_out_gga3(N, ._22(N, L), L)
remove_3_in_gga3(N, ._22(M, L), ._22(M, L1)) -> if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_in_gg2(N, M))
if_min1_2_in_1_ag4(M, X, L, min2_3_out_gag3(X, M, L)) -> min1_2_out_ag2(M, ._22(X, L))
if_remove_3_in_1_gga5(N, M, L, L1, notEq_2_out_gg2(N, M)) -> if_remove_3_in_2_gga5(N, M, L, L1, remove_3_in_gga3(N, L, L1))
min2_3_in_gag3(X, X, []_0) -> min2_3_out_gag3(X, X, []_0)
min2_3_in_gag3(X, A, ._22(M, L)) -> if_min2_3_in_1_gag5(X, A, M, L, min_3_in_gga3(X, M, B))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg3(X, Y, notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg2(s_11(X), 0_0)
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg2(0_0, s_11(X))
if_remove_3_in_2_gga5(N, M, L, L1, remove_3_out_gga3(N, L, L1)) -> remove_3_out_gga3(N, ._22(M, L), ._22(M, L1))
if_min2_3_in_1_gag5(X, A, M, L, min_3_out_gga3(X, M, B)) -> if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_in_gag3(B, A, L))
if_notEq_2_in_1_gg3(X, Y, notEq_2_out_gg2(X, Y)) -> notEq_2_out_gg2(s_11(X), s_11(Y))
min_3_in_gga3(X, Y, X) -> if_min_3_in_1_gga3(X, Y, le_2_in_gg2(X, Y))
min_3_in_gga3(X, Y, Y) -> if_min_3_in_2_gga3(X, Y, gt_2_in_gg2(X, Y))
if_min2_3_in_2_gag6(X, A, M, L, B, min2_3_out_gag3(B, A, L)) -> min2_3_out_gag3(X, A, ._22(M, L))
if_min_3_in_1_gga3(X, Y, le_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, X)
if_min_3_in_2_gga3(X, Y, gt_2_out_gg2(X, Y)) -> min_3_out_gga3(X, Y, Y)
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg3(X, Y, le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg2(0_0, s_11(Y))
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg2(0_0, 0_0)
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg3(X, Y, gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg2(s_11(X), 0_0)
if_le_2_in_1_gg3(X, Y, le_2_out_gg2(X, Y)) -> le_2_out_gg2(s_11(X), s_11(Y))
if_gt_2_in_1_gg3(X, Y, gt_2_out_gg2(X, Y)) -> gt_2_out_gg2(s_11(X), s_11(Y))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
IF_MINSORT_2_IN_2_GA2(X, remove_3_out_gga1(L2)) -> MINSORT_2_IN_GA1(L2)
MINSORT_2_IN_GA1(L) -> IF_MINSORT_2_IN_1_GA2(L, min1_2_in_ag1(L))
IF_MINSORT_2_IN_1_GA2(L, min1_2_out_ag1(X)) -> IF_MINSORT_2_IN_2_GA2(X, remove_3_in_gga2(X, L))
min1_2_in_ag1(._22(X, L)) -> if_min1_2_in_1_ag1(min2_3_in_gag2(X, L))
remove_3_in_gga2(N, ._22(N, L)) -> remove_3_out_gga1(L)
remove_3_in_gga2(N, ._22(M, L)) -> if_remove_3_in_1_gga4(N, M, L, notEq_2_in_gg2(N, M))
if_min1_2_in_1_ag1(min2_3_out_gag1(M)) -> min1_2_out_ag1(M)
if_remove_3_in_1_gga4(N, M, L, notEq_2_out_gg) -> if_remove_3_in_2_gga2(M, remove_3_in_gga2(N, L))
min2_3_in_gag2(X, []_0) -> min2_3_out_gag1(X)
min2_3_in_gag2(X, ._22(M, L)) -> if_min2_3_in_1_gag2(L, min_3_in_gga2(X, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg1(notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg
if_remove_3_in_2_gga2(M, remove_3_out_gga1(L1)) -> remove_3_out_gga1(._22(M, L1))
if_min2_3_in_1_gag2(L, min_3_out_gga1(B)) -> if_min2_3_in_2_gag1(min2_3_in_gag2(B, L))
if_notEq_2_in_1_gg1(notEq_2_out_gg) -> notEq_2_out_gg
min_3_in_gga2(X, Y) -> if_min_3_in_1_gga2(X, le_2_in_gg2(X, Y))
min_3_in_gga2(X, Y) -> if_min_3_in_2_gga2(Y, gt_2_in_gg2(X, Y))
if_min2_3_in_2_gag1(min2_3_out_gag1(A)) -> min2_3_out_gag1(A)
if_min_3_in_1_gga2(X, le_2_out_gg) -> min_3_out_gga1(X)
if_min_3_in_2_gga2(Y, gt_2_out_gg) -> min_3_out_gga1(Y)
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg1(le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg1(gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg
if_le_2_in_1_gg1(le_2_out_gg) -> le_2_out_gg
if_gt_2_in_1_gg1(gt_2_out_gg) -> gt_2_out_gg
min1_2_in_ag1(x0)
remove_3_in_gga2(x0, x1)
if_min1_2_in_1_ag1(x0)
if_remove_3_in_1_gga4(x0, x1, x2, x3)
min2_3_in_gag2(x0, x1)
notEq_2_in_gg2(x0, x1)
if_remove_3_in_2_gga2(x0, x1)
if_min2_3_in_1_gag2(x0, x1)
if_notEq_2_in_1_gg1(x0)
min_3_in_gga2(x0, x1)
if_min2_3_in_2_gag1(x0)
if_min_3_in_1_gga2(x0, x1)
if_min_3_in_2_gga2(x0, x1)
le_2_in_gg2(x0, x1)
gt_2_in_gg2(x0, x1)
if_le_2_in_1_gg1(x0)
if_gt_2_in_1_gg1(x0)
The remaining Dependency Pairs were at least non-strictly be oriented.
IF_MINSORT_2_IN_2_GA2(X, remove_3_out_gga1(L2)) -> MINSORT_2_IN_GA1(L2)
With the implicit AFS we had to orient the following set of usable rules non-strictly.
MINSORT_2_IN_GA1(L) -> IF_MINSORT_2_IN_1_GA2(L, min1_2_in_ag1(L))
IF_MINSORT_2_IN_1_GA2(L, min1_2_out_ag1(X)) -> IF_MINSORT_2_IN_2_GA2(X, remove_3_in_gga2(X, L))
Used ordering: POLO with Polynomial interpretation:
if_remove_3_in_2_gga2(M, remove_3_out_gga1(L1)) -> remove_3_out_gga1(._22(M, L1))
remove_3_in_gga2(N, ._22(M, L)) -> if_remove_3_in_1_gga4(N, M, L, notEq_2_in_gg2(N, M))
remove_3_in_gga2(N, ._22(N, L)) -> remove_3_out_gga1(L)
if_remove_3_in_1_gga4(N, M, L, notEq_2_out_gg) -> if_remove_3_in_2_gga2(M, remove_3_in_gga2(N, L))
POL(0_0) = 0
POL(gt_2_in_gg2(x1, x2)) = 0
POL(if_min2_3_in_2_gag1(x1)) = 0
POL(if_remove_3_in_1_gga4(x1, x2, x3, x4)) = 1 + x3
POL(min_3_out_gga1(x1)) = 0
POL(if_min_3_in_1_gga2(x1, x2)) = 0
POL(MINSORT_2_IN_GA1(x1)) = x1
POL(min1_2_out_ag1(x1)) = 0
POL(if_remove_3_in_2_gga2(x1, x2)) = 1 + x2
POL(min2_3_out_gag1(x1)) = 0
POL(if_min2_3_in_1_gag2(x1, x2)) = 0
POL(remove_3_in_gga2(x1, x2)) = x2
POL(notEq_2_out_gg) = 0
POL(IF_MINSORT_2_IN_2_GA2(x1, x2)) = x2
POL(if_gt_2_in_1_gg1(x1)) = 0
POL(le_2_out_gg) = 0
POL(remove_3_out_gga1(x1)) = 1 + x1
POL([]_0) = 0
POL(if_min1_2_in_1_ag1(x1)) = 0
POL(if_le_2_in_1_gg1(x1)) = 0
POL(notEq_2_in_gg2(x1, x2)) = 0
POL(._22(x1, x2)) = 1 + x2
POL(min_3_in_gga2(x1, x2)) = 0
POL(if_notEq_2_in_1_gg1(x1)) = 0
POL(min1_2_in_ag1(x1)) = 0
POL(IF_MINSORT_2_IN_1_GA2(x1, x2)) = x1
POL(le_2_in_gg2(x1, x2)) = 0
POL(min2_3_in_gag2(x1, x2)) = 0
POL(s_11(x1)) = 0
POL(gt_2_out_gg) = 0
POL(if_min_3_in_2_gga2(x1, x2)) = 0
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
↳ QDP
↳ DependencyGraphProof
MINSORT_2_IN_GA1(L) -> IF_MINSORT_2_IN_1_GA2(L, min1_2_in_ag1(L))
IF_MINSORT_2_IN_1_GA2(L, min1_2_out_ag1(X)) -> IF_MINSORT_2_IN_2_GA2(X, remove_3_in_gga2(X, L))
min1_2_in_ag1(._22(X, L)) -> if_min1_2_in_1_ag1(min2_3_in_gag2(X, L))
remove_3_in_gga2(N, ._22(N, L)) -> remove_3_out_gga1(L)
remove_3_in_gga2(N, ._22(M, L)) -> if_remove_3_in_1_gga4(N, M, L, notEq_2_in_gg2(N, M))
if_min1_2_in_1_ag1(min2_3_out_gag1(M)) -> min1_2_out_ag1(M)
if_remove_3_in_1_gga4(N, M, L, notEq_2_out_gg) -> if_remove_3_in_2_gga2(M, remove_3_in_gga2(N, L))
min2_3_in_gag2(X, []_0) -> min2_3_out_gag1(X)
min2_3_in_gag2(X, ._22(M, L)) -> if_min2_3_in_1_gag2(L, min_3_in_gga2(X, M))
notEq_2_in_gg2(s_11(X), s_11(Y)) -> if_notEq_2_in_1_gg1(notEq_2_in_gg2(X, Y))
notEq_2_in_gg2(s_11(X), 0_0) -> notEq_2_out_gg
notEq_2_in_gg2(0_0, s_11(X)) -> notEq_2_out_gg
if_remove_3_in_2_gga2(M, remove_3_out_gga1(L1)) -> remove_3_out_gga1(._22(M, L1))
if_min2_3_in_1_gag2(L, min_3_out_gga1(B)) -> if_min2_3_in_2_gag1(min2_3_in_gag2(B, L))
if_notEq_2_in_1_gg1(notEq_2_out_gg) -> notEq_2_out_gg
min_3_in_gga2(X, Y) -> if_min_3_in_1_gga2(X, le_2_in_gg2(X, Y))
min_3_in_gga2(X, Y) -> if_min_3_in_2_gga2(Y, gt_2_in_gg2(X, Y))
if_min2_3_in_2_gag1(min2_3_out_gag1(A)) -> min2_3_out_gag1(A)
if_min_3_in_1_gga2(X, le_2_out_gg) -> min_3_out_gga1(X)
if_min_3_in_2_gga2(Y, gt_2_out_gg) -> min_3_out_gga1(Y)
le_2_in_gg2(s_11(X), s_11(Y)) -> if_le_2_in_1_gg1(le_2_in_gg2(X, Y))
le_2_in_gg2(0_0, s_11(Y)) -> le_2_out_gg
le_2_in_gg2(0_0, 0_0) -> le_2_out_gg
gt_2_in_gg2(s_11(X), s_11(Y)) -> if_gt_2_in_1_gg1(gt_2_in_gg2(X, Y))
gt_2_in_gg2(s_11(X), 0_0) -> gt_2_out_gg
if_le_2_in_1_gg1(le_2_out_gg) -> le_2_out_gg
if_gt_2_in_1_gg1(gt_2_out_gg) -> gt_2_out_gg
min1_2_in_ag1(x0)
remove_3_in_gga2(x0, x1)
if_min1_2_in_1_ag1(x0)
if_remove_3_in_1_gga4(x0, x1, x2, x3)
min2_3_in_gag2(x0, x1)
notEq_2_in_gg2(x0, x1)
if_remove_3_in_2_gga2(x0, x1)
if_min2_3_in_1_gag2(x0, x1)
if_notEq_2_in_1_gg1(x0)
min_3_in_gga2(x0, x1)
if_min2_3_in_2_gag1(x0)
if_min_3_in_1_gga2(x0, x1)
if_min_3_in_2_gga2(x0, x1)
le_2_in_gg2(x0, x1)
gt_2_in_gg2(x0, x1)
if_le_2_in_1_gg1(x0)
if_gt_2_in_1_gg1(x0)