↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
ss2: (b,f)
perm2: (b,f)
app3: (f,f,b) (b,b,f)
ordered1: (b)
less2: (b,b)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
ss_2_in_ga2(Xs, Ys) -> if_ss_2_in_1_ga3(Xs, Ys, perm_2_in_ga2(Xs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app_3_in_aag3(X1s, ._22(X, X2s), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_in_gga3(X1s, X2s, Zs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
if_ss_2_in_1_ga3(Xs, Ys, perm_2_out_ga2(Xs, Ys)) -> if_ss_2_in_2_ga3(Xs, Ys, ordered_1_in_g1(Ys))
ordered_1_in_g1([]_0) -> ordered_1_out_g1([]_0)
ordered_1_in_g1(._22(underscore, []_0)) -> ordered_1_out_g1(._22(underscore, []_0))
ordered_1_in_g1(._22(X, ._22(Y, Xs))) -> if_ordered_1_in_1_g4(X, Y, Xs, less_2_in_gg2(X, s_11(Y)))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_ordered_1_in_1_g4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_in_g1(._22(Y, Xs)))
if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_out_g1(._22(Y, Xs))) -> ordered_1_out_g1(._22(X, ._22(Y, Xs)))
if_ss_2_in_2_ga3(Xs, Ys, ordered_1_out_g1(Ys)) -> ss_2_out_ga2(Xs, Ys)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
ss_2_in_ga2(Xs, Ys) -> if_ss_2_in_1_ga3(Xs, Ys, perm_2_in_ga2(Xs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app_3_in_aag3(X1s, ._22(X, X2s), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_in_gga3(X1s, X2s, Zs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
if_ss_2_in_1_ga3(Xs, Ys, perm_2_out_ga2(Xs, Ys)) -> if_ss_2_in_2_ga3(Xs, Ys, ordered_1_in_g1(Ys))
ordered_1_in_g1([]_0) -> ordered_1_out_g1([]_0)
ordered_1_in_g1(._22(underscore, []_0)) -> ordered_1_out_g1(._22(underscore, []_0))
ordered_1_in_g1(._22(X, ._22(Y, Xs))) -> if_ordered_1_in_1_g4(X, Y, Xs, less_2_in_gg2(X, s_11(Y)))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_ordered_1_in_1_g4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_in_g1(._22(Y, Xs)))
if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_out_g1(._22(Y, Xs))) -> ordered_1_out_g1(._22(X, ._22(Y, Xs)))
if_ss_2_in_2_ga3(Xs, Ys, ordered_1_out_g1(Ys)) -> ss_2_out_ga2(Xs, Ys)
SS_2_IN_GA2(Xs, Ys) -> IF_SS_2_IN_1_GA3(Xs, Ys, perm_2_in_ga2(Xs, Ys))
SS_2_IN_GA2(Xs, Ys) -> PERM_2_IN_GA2(Xs, Ys)
PERM_2_IN_GA2(Xs, ._22(X, Ys)) -> IF_PERM_2_IN_1_GA4(Xs, X, Ys, app_3_in_aag3(X1s, ._22(X, X2s), Xs))
PERM_2_IN_GA2(Xs, ._22(X, Ys)) -> APP_3_IN_AAG3(X1s, ._22(X, X2s), Xs)
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AAG5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
IF_PERM_2_IN_1_GA4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app_3_in_gga3(X1s, X2s, Zs))
IF_PERM_2_IN_1_GA4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> APP_3_IN_GGA3(X1s, X2s, Zs)
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGA5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> IF_PERM_2_IN_3_GA5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> PERM_2_IN_GA2(Zs, Ys)
IF_SS_2_IN_1_GA3(Xs, Ys, perm_2_out_ga2(Xs, Ys)) -> IF_SS_2_IN_2_GA3(Xs, Ys, ordered_1_in_g1(Ys))
IF_SS_2_IN_1_GA3(Xs, Ys, perm_2_out_ga2(Xs, Ys)) -> ORDERED_1_IN_G1(Ys)
ORDERED_1_IN_G1(._22(X, ._22(Y, Xs))) -> IF_ORDERED_1_IN_1_G4(X, Y, Xs, less_2_in_gg2(X, s_11(Y)))
ORDERED_1_IN_G1(._22(X, ._22(Y, Xs))) -> LESS_2_IN_GG2(X, s_11(Y))
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_GG3(X, Y, less_2_in_gg2(X, Y))
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
IF_ORDERED_1_IN_1_G4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> IF_ORDERED_1_IN_2_G4(X, Y, Xs, ordered_1_in_g1(._22(Y, Xs)))
IF_ORDERED_1_IN_1_G4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> ORDERED_1_IN_G1(._22(Y, Xs))
ss_2_in_ga2(Xs, Ys) -> if_ss_2_in_1_ga3(Xs, Ys, perm_2_in_ga2(Xs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app_3_in_aag3(X1s, ._22(X, X2s), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_in_gga3(X1s, X2s, Zs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
if_ss_2_in_1_ga3(Xs, Ys, perm_2_out_ga2(Xs, Ys)) -> if_ss_2_in_2_ga3(Xs, Ys, ordered_1_in_g1(Ys))
ordered_1_in_g1([]_0) -> ordered_1_out_g1([]_0)
ordered_1_in_g1(._22(underscore, []_0)) -> ordered_1_out_g1(._22(underscore, []_0))
ordered_1_in_g1(._22(X, ._22(Y, Xs))) -> if_ordered_1_in_1_g4(X, Y, Xs, less_2_in_gg2(X, s_11(Y)))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_ordered_1_in_1_g4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_in_g1(._22(Y, Xs)))
if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_out_g1(._22(Y, Xs))) -> ordered_1_out_g1(._22(X, ._22(Y, Xs)))
if_ss_2_in_2_ga3(Xs, Ys, ordered_1_out_g1(Ys)) -> ss_2_out_ga2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
SS_2_IN_GA2(Xs, Ys) -> IF_SS_2_IN_1_GA3(Xs, Ys, perm_2_in_ga2(Xs, Ys))
SS_2_IN_GA2(Xs, Ys) -> PERM_2_IN_GA2(Xs, Ys)
PERM_2_IN_GA2(Xs, ._22(X, Ys)) -> IF_PERM_2_IN_1_GA4(Xs, X, Ys, app_3_in_aag3(X1s, ._22(X, X2s), Xs))
PERM_2_IN_GA2(Xs, ._22(X, Ys)) -> APP_3_IN_AAG3(X1s, ._22(X, X2s), Xs)
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_AAG5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
IF_PERM_2_IN_1_GA4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app_3_in_gga3(X1s, X2s, Zs))
IF_PERM_2_IN_1_GA4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> APP_3_IN_GGA3(X1s, X2s, Zs)
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP_3_IN_1_GGA5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> IF_PERM_2_IN_3_GA5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> PERM_2_IN_GA2(Zs, Ys)
IF_SS_2_IN_1_GA3(Xs, Ys, perm_2_out_ga2(Xs, Ys)) -> IF_SS_2_IN_2_GA3(Xs, Ys, ordered_1_in_g1(Ys))
IF_SS_2_IN_1_GA3(Xs, Ys, perm_2_out_ga2(Xs, Ys)) -> ORDERED_1_IN_G1(Ys)
ORDERED_1_IN_G1(._22(X, ._22(Y, Xs))) -> IF_ORDERED_1_IN_1_G4(X, Y, Xs, less_2_in_gg2(X, s_11(Y)))
ORDERED_1_IN_G1(._22(X, ._22(Y, Xs))) -> LESS_2_IN_GG2(X, s_11(Y))
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> IF_LESS_2_IN_1_GG3(X, Y, less_2_in_gg2(X, Y))
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
IF_ORDERED_1_IN_1_G4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> IF_ORDERED_1_IN_2_G4(X, Y, Xs, ordered_1_in_g1(._22(Y, Xs)))
IF_ORDERED_1_IN_1_G4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> ORDERED_1_IN_G1(._22(Y, Xs))
ss_2_in_ga2(Xs, Ys) -> if_ss_2_in_1_ga3(Xs, Ys, perm_2_in_ga2(Xs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app_3_in_aag3(X1s, ._22(X, X2s), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_in_gga3(X1s, X2s, Zs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
if_ss_2_in_1_ga3(Xs, Ys, perm_2_out_ga2(Xs, Ys)) -> if_ss_2_in_2_ga3(Xs, Ys, ordered_1_in_g1(Ys))
ordered_1_in_g1([]_0) -> ordered_1_out_g1([]_0)
ordered_1_in_g1(._22(underscore, []_0)) -> ordered_1_out_g1(._22(underscore, []_0))
ordered_1_in_g1(._22(X, ._22(Y, Xs))) -> if_ordered_1_in_1_g4(X, Y, Xs, less_2_in_gg2(X, s_11(Y)))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_ordered_1_in_1_g4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_in_g1(._22(Y, Xs)))
if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_out_g1(._22(Y, Xs))) -> ordered_1_out_g1(._22(X, ._22(Y, Xs)))
if_ss_2_in_2_ga3(Xs, Ys, ordered_1_out_g1(Ys)) -> ss_2_out_ga2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
ss_2_in_ga2(Xs, Ys) -> if_ss_2_in_1_ga3(Xs, Ys, perm_2_in_ga2(Xs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app_3_in_aag3(X1s, ._22(X, X2s), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_in_gga3(X1s, X2s, Zs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
if_ss_2_in_1_ga3(Xs, Ys, perm_2_out_ga2(Xs, Ys)) -> if_ss_2_in_2_ga3(Xs, Ys, ordered_1_in_g1(Ys))
ordered_1_in_g1([]_0) -> ordered_1_out_g1([]_0)
ordered_1_in_g1(._22(underscore, []_0)) -> ordered_1_out_g1(._22(underscore, []_0))
ordered_1_in_g1(._22(X, ._22(Y, Xs))) -> if_ordered_1_in_1_g4(X, Y, Xs, less_2_in_gg2(X, s_11(Y)))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_ordered_1_in_1_g4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_in_g1(._22(Y, Xs)))
if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_out_g1(._22(Y, Xs))) -> ordered_1_out_g1(._22(X, ._22(Y, Xs)))
if_ss_2_in_2_ga3(Xs, Ys, ordered_1_out_g1(Ys)) -> ss_2_out_ga2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_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
ORDERED_1_IN_G1(._22(X, ._22(Y, Xs))) -> IF_ORDERED_1_IN_1_G4(X, Y, Xs, less_2_in_gg2(X, s_11(Y)))
IF_ORDERED_1_IN_1_G4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> ORDERED_1_IN_G1(._22(Y, Xs))
ss_2_in_ga2(Xs, Ys) -> if_ss_2_in_1_ga3(Xs, Ys, perm_2_in_ga2(Xs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app_3_in_aag3(X1s, ._22(X, X2s), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_in_gga3(X1s, X2s, Zs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
if_ss_2_in_1_ga3(Xs, Ys, perm_2_out_ga2(Xs, Ys)) -> if_ss_2_in_2_ga3(Xs, Ys, ordered_1_in_g1(Ys))
ordered_1_in_g1([]_0) -> ordered_1_out_g1([]_0)
ordered_1_in_g1(._22(underscore, []_0)) -> ordered_1_out_g1(._22(underscore, []_0))
ordered_1_in_g1(._22(X, ._22(Y, Xs))) -> if_ordered_1_in_1_g4(X, Y, Xs, less_2_in_gg2(X, s_11(Y)))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_ordered_1_in_1_g4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_in_g1(._22(Y, Xs)))
if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_out_g1(._22(Y, Xs))) -> ordered_1_out_g1(._22(X, ._22(Y, Xs)))
if_ss_2_in_2_ga3(Xs, Ys, ordered_1_out_g1(Ys)) -> ss_2_out_ga2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
↳ PiDP
ORDERED_1_IN_G1(._22(X, ._22(Y, Xs))) -> IF_ORDERED_1_IN_1_G4(X, Y, Xs, less_2_in_gg2(X, s_11(Y)))
IF_ORDERED_1_IN_1_G4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> ORDERED_1_IN_G1(._22(Y, Xs))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
↳ PiDP
↳ PiDP
↳ PiDP
ORDERED_1_IN_G1(._22(X, ._22(Y, Xs))) -> IF_ORDERED_1_IN_1_G3(Y, Xs, less_2_in_gg2(X, s_11(Y)))
IF_ORDERED_1_IN_1_G3(Y, Xs, less_2_out_gg) -> ORDERED_1_IN_G1(._22(Y, Xs))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg1(less_2_in_gg2(X, Y))
if_less_2_in_1_gg1(less_2_out_gg) -> less_2_out_gg
less_2_in_gg2(x0, x1)
if_less_2_in_1_gg1(x0)
The remaining Dependency Pairs were at least non-strictly be oriented.
ORDERED_1_IN_G1(._22(X, ._22(Y, Xs))) -> IF_ORDERED_1_IN_1_G3(Y, Xs, less_2_in_gg2(X, s_11(Y)))
With the implicit AFS there is no usable rule.
IF_ORDERED_1_IN_1_G3(Y, Xs, less_2_out_gg) -> ORDERED_1_IN_G1(._22(Y, Xs))
Used ordering: POLO with Polynomial interpretation:
POL(0_0) = 0
POL(less_2_out_gg) = 0
POL(._22(x1, x2)) = 1 + x2
POL(ORDERED_1_IN_G1(x1)) = x1
POL(if_less_2_in_1_gg1(x1)) = 0
POL(s_11(x1)) = 0
POL(less_2_in_gg2(x1, x2)) = 0
POL(IF_ORDERED_1_IN_1_G3(x1, x2, x3)) = 1 + x2
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
↳ QDP
↳ DependencyGraphProof
↳ PiDP
↳ PiDP
↳ PiDP
IF_ORDERED_1_IN_1_G3(Y, Xs, less_2_out_gg) -> ORDERED_1_IN_G1(._22(Y, Xs))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg1(less_2_in_gg2(X, Y))
if_less_2_in_1_gg1(less_2_out_gg) -> less_2_out_gg
less_2_in_gg2(x0, x1)
if_less_2_in_1_gg1(x0)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
ss_2_in_ga2(Xs, Ys) -> if_ss_2_in_1_ga3(Xs, Ys, perm_2_in_ga2(Xs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app_3_in_aag3(X1s, ._22(X, X2s), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_in_gga3(X1s, X2s, Zs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
if_ss_2_in_1_ga3(Xs, Ys, perm_2_out_ga2(Xs, Ys)) -> if_ss_2_in_2_ga3(Xs, Ys, ordered_1_in_g1(Ys))
ordered_1_in_g1([]_0) -> ordered_1_out_g1([]_0)
ordered_1_in_g1(._22(underscore, []_0)) -> ordered_1_out_g1(._22(underscore, []_0))
ordered_1_in_g1(._22(X, ._22(Y, Xs))) -> if_ordered_1_in_1_g4(X, Y, Xs, less_2_in_gg2(X, s_11(Y)))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_ordered_1_in_1_g4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_in_g1(._22(Y, Xs)))
if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_out_g1(._22(Y, Xs))) -> ordered_1_out_g1(._22(X, ._22(Y, Xs)))
if_ss_2_in_2_ga3(Xs, Ys, ordered_1_out_g1(Ys)) -> ss_2_out_ga2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
APP_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_GGA3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
APP_3_IN_GGA2(._22(X, Xs), Ys) -> APP_3_IN_GGA2(Xs, Ys)
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
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
ss_2_in_ga2(Xs, Ys) -> if_ss_2_in_1_ga3(Xs, Ys, perm_2_in_ga2(Xs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app_3_in_aag3(X1s, ._22(X, X2s), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_in_gga3(X1s, X2s, Zs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
if_ss_2_in_1_ga3(Xs, Ys, perm_2_out_ga2(Xs, Ys)) -> if_ss_2_in_2_ga3(Xs, Ys, ordered_1_in_g1(Ys))
ordered_1_in_g1([]_0) -> ordered_1_out_g1([]_0)
ordered_1_in_g1(._22(underscore, []_0)) -> ordered_1_out_g1(._22(underscore, []_0))
ordered_1_in_g1(._22(X, ._22(Y, Xs))) -> if_ordered_1_in_1_g4(X, Y, Xs, less_2_in_gg2(X, s_11(Y)))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_ordered_1_in_1_g4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_in_g1(._22(Y, Xs)))
if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_out_g1(._22(Y, Xs))) -> ordered_1_out_g1(._22(X, ._22(Y, Xs)))
if_ss_2_in_2_ga3(Xs, Ys, ordered_1_out_g1(Ys)) -> ss_2_out_ga2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
APP_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP_3_IN_AAG3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
APP_3_IN_AAG1(._22(X, Zs)) -> APP_3_IN_AAG1(Zs)
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
IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> PERM_2_IN_GA2(Zs, Ys)
PERM_2_IN_GA2(Xs, ._22(X, Ys)) -> IF_PERM_2_IN_1_GA4(Xs, X, Ys, app_3_in_aag3(X1s, ._22(X, X2s), Xs))
IF_PERM_2_IN_1_GA4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app_3_in_gga3(X1s, X2s, Zs))
ss_2_in_ga2(Xs, Ys) -> if_ss_2_in_1_ga3(Xs, Ys, perm_2_in_ga2(Xs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app_3_in_aag3(X1s, ._22(X, X2s), Xs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_in_gga3(X1s, X2s, Zs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
if_ss_2_in_1_ga3(Xs, Ys, perm_2_out_ga2(Xs, Ys)) -> if_ss_2_in_2_ga3(Xs, Ys, ordered_1_in_g1(Ys))
ordered_1_in_g1([]_0) -> ordered_1_out_g1([]_0)
ordered_1_in_g1(._22(underscore, []_0)) -> ordered_1_out_g1(._22(underscore, []_0))
ordered_1_in_g1(._22(X, ._22(Y, Xs))) -> if_ordered_1_in_1_g4(X, Y, Xs, less_2_in_gg2(X, s_11(Y)))
less_2_in_gg2(0_0, s_11(underscore1)) -> less_2_out_gg2(0_0, s_11(underscore1))
less_2_in_gg2(s_11(X), s_11(Y)) -> if_less_2_in_1_gg3(X, Y, less_2_in_gg2(X, Y))
if_less_2_in_1_gg3(X, Y, less_2_out_gg2(X, Y)) -> less_2_out_gg2(s_11(X), s_11(Y))
if_ordered_1_in_1_g4(X, Y, Xs, less_2_out_gg2(X, s_11(Y))) -> if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_in_g1(._22(Y, Xs)))
if_ordered_1_in_2_g4(X, Y, Xs, ordered_1_out_g1(._22(Y, Xs))) -> ordered_1_out_g1(._22(X, ._22(Y, Xs)))
if_ss_2_in_2_ga3(Xs, Ys, ordered_1_out_g1(Ys)) -> ss_2_out_ga2(Xs, Ys)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app_3_out_gga3(X1s, X2s, Zs)) -> PERM_2_IN_GA2(Zs, Ys)
PERM_2_IN_GA2(Xs, ._22(X, Ys)) -> IF_PERM_2_IN_1_GA4(Xs, X, Ys, app_3_in_aag3(X1s, ._22(X, X2s), Xs))
IF_PERM_2_IN_1_GA4(Xs, X, Ys, app_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app_3_in_gga3(X1s, X2s, Zs))
app_3_in_aag3([]_0, X, X) -> app_3_out_aag3([]_0, X, X)
app_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_in_aag3(Xs, Ys, Zs))
app_3_in_gga3([]_0, X, X) -> app_3_out_gga3([]_0, X, X)
app_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_in_gga3(Xs, Ys, Zs))
if_app_3_in_1_aag5(X, Xs, Ys, Zs, app_3_out_aag3(Xs, Ys, Zs)) -> app_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_app_3_in_1_gga5(X, Xs, Ys, Zs, app_3_out_gga3(Xs, Ys, Zs)) -> app_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
IF_PERM_2_IN_2_GA2(X, app_3_out_gga1(Zs)) -> PERM_2_IN_GA1(Zs)
PERM_2_IN_GA1(Xs) -> IF_PERM_2_IN_1_GA1(app_3_in_aag1(Xs))
IF_PERM_2_IN_1_GA1(app_3_out_aag2(X1s, ._22(X, X2s))) -> IF_PERM_2_IN_2_GA2(X, app_3_in_gga2(X1s, X2s))
app_3_in_aag1(X) -> app_3_out_aag2([]_0, X)
app_3_in_aag1(._22(X, Zs)) -> if_app_3_in_1_aag2(X, app_3_in_aag1(Zs))
app_3_in_gga2([]_0, X) -> app_3_out_gga1(X)
app_3_in_gga2(._22(X, Xs), Ys) -> if_app_3_in_1_gga2(X, app_3_in_gga2(Xs, Ys))
if_app_3_in_1_aag2(X, app_3_out_aag2(Xs, Ys)) -> app_3_out_aag2(._22(X, Xs), Ys)
if_app_3_in_1_gga2(X, app_3_out_gga1(Zs)) -> app_3_out_gga1(._22(X, Zs))
app_3_in_aag1(x0)
app_3_in_gga2(x0, x1)
if_app_3_in_1_aag2(x0, x1)
if_app_3_in_1_gga2(x0, x1)
The remaining Dependency Pairs were at least non-strictly be oriented.
IF_PERM_2_IN_1_GA1(app_3_out_aag2(X1s, ._22(X, X2s))) -> IF_PERM_2_IN_2_GA2(X, app_3_in_gga2(X1s, X2s))
With the implicit AFS we had to orient the following set of usable rules non-strictly.
IF_PERM_2_IN_2_GA2(X, app_3_out_gga1(Zs)) -> PERM_2_IN_GA1(Zs)
PERM_2_IN_GA1(Xs) -> IF_PERM_2_IN_1_GA1(app_3_in_aag1(Xs))
Used ordering: POLO with Polynomial interpretation:
app_3_in_aag1(._22(X, Zs)) -> if_app_3_in_1_aag2(X, app_3_in_aag1(Zs))
app_3_in_aag1(X) -> app_3_out_aag2([]_0, X)
if_app_3_in_1_gga2(X, app_3_out_gga1(Zs)) -> app_3_out_gga1(._22(X, Zs))
app_3_in_gga2(._22(X, Xs), Ys) -> if_app_3_in_1_gga2(X, app_3_in_gga2(Xs, Ys))
app_3_in_gga2([]_0, X) -> app_3_out_gga1(X)
if_app_3_in_1_aag2(X, app_3_out_aag2(Xs, Ys)) -> app_3_out_aag2(._22(X, Xs), Ys)
POL(._22(x1, x2)) = 1 + x2
POL(if_app_3_in_1_gga2(x1, x2)) = 1 + x2
POL(IF_PERM_2_IN_2_GA2(x1, x2)) = x2
POL(IF_PERM_2_IN_1_GA1(x1)) = x1
POL(app_3_out_gga1(x1)) = x1
POL(app_3_in_aag1(x1)) = x1
POL(app_3_out_aag2(x1, x2)) = x1 + x2
POL(if_app_3_in_1_aag2(x1, x2)) = 1 + x2
POL([]_0) = 0
POL(app_3_in_gga2(x1, x2)) = x1 + x2
POL(PERM_2_IN_GA1(x1)) = x1
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
↳ QDP
↳ DependencyGraphProof
IF_PERM_2_IN_2_GA2(X, app_3_out_gga1(Zs)) -> PERM_2_IN_GA1(Zs)
PERM_2_IN_GA1(Xs) -> IF_PERM_2_IN_1_GA1(app_3_in_aag1(Xs))
app_3_in_aag1(X) -> app_3_out_aag2([]_0, X)
app_3_in_aag1(._22(X, Zs)) -> if_app_3_in_1_aag2(X, app_3_in_aag1(Zs))
app_3_in_gga2([]_0, X) -> app_3_out_gga1(X)
app_3_in_gga2(._22(X, Xs), Ys) -> if_app_3_in_1_gga2(X, app_3_in_gga2(Xs, Ys))
if_app_3_in_1_aag2(X, app_3_out_aag2(Xs, Ys)) -> app_3_out_aag2(._22(X, Xs), Ys)
if_app_3_in_1_gga2(X, app_3_out_gga1(Zs)) -> app_3_out_gga1(._22(X, Zs))
app_3_in_aag1(x0)
app_3_in_gga2(x0, x1)
if_app_3_in_1_aag2(x0, x1)
if_app_3_in_1_gga2(x0, x1)