↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
perm2: (b,f)
app23: (f,f,b)
app13: (b,b,f)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app2_3_in_aag3(X1s, ._22(X, X2s), Xs))
app2_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_in_aag3(Xs, Ys, Zs))
app2_3_in_aag3([]_0, Ys, Ys) -> app2_3_out_aag3([]_0, Ys, Ys)
if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_out_aag3(Xs, Ys, Zs)) -> app2_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app2_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_in_gga3(X1s, X2s, Zs))
app1_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_in_gga3(Xs, Ys, Zs))
app1_3_in_gga3([]_0, Ys, Ys) -> app1_3_out_gga3([]_0, Ys, Ys)
if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_out_gga3(Xs, Ys, Zs)) -> app1_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app2_3_in_aag3(X1s, ._22(X, X2s), Xs))
app2_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_in_aag3(Xs, Ys, Zs))
app2_3_in_aag3([]_0, Ys, Ys) -> app2_3_out_aag3([]_0, Ys, Ys)
if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_out_aag3(Xs, Ys, Zs)) -> app2_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app2_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_in_gga3(X1s, X2s, Zs))
app1_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_in_gga3(Xs, Ys, Zs))
app1_3_in_gga3([]_0, Ys, Ys) -> app1_3_out_gga3([]_0, Ys, Ys)
if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_out_gga3(Xs, Ys, Zs)) -> app1_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
PERM_2_IN_GA2(Xs, ._22(X, Ys)) -> IF_PERM_2_IN_1_GA4(Xs, X, Ys, app2_3_in_aag3(X1s, ._22(X, X2s), Xs))
PERM_2_IN_GA2(Xs, ._22(X, Ys)) -> APP2_3_IN_AAG3(X1s, ._22(X, X2s), Xs)
APP2_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP2_3_IN_1_AAG5(X, Xs, Ys, Zs, app2_3_in_aag3(Xs, Ys, Zs))
APP2_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP2_3_IN_AAG3(Xs, Ys, Zs)
IF_PERM_2_IN_1_GA4(Xs, X, Ys, app2_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app1_3_in_gga3(X1s, X2s, Zs))
IF_PERM_2_IN_1_GA4(Xs, X, Ys, app2_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> APP1_3_IN_GGA3(X1s, X2s, Zs)
APP1_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP1_3_IN_1_GGA5(X, Xs, Ys, Zs, app1_3_in_gga3(Xs, Ys, Zs))
APP1_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP1_3_IN_GGA3(Xs, Ys, Zs)
IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app1_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, app1_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, app2_3_in_aag3(X1s, ._22(X, X2s), Xs))
app2_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_in_aag3(Xs, Ys, Zs))
app2_3_in_aag3([]_0, Ys, Ys) -> app2_3_out_aag3([]_0, Ys, Ys)
if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_out_aag3(Xs, Ys, Zs)) -> app2_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app2_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_in_gga3(X1s, X2s, Zs))
app1_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_in_gga3(Xs, Ys, Zs))
app1_3_in_gga3([]_0, Ys, Ys) -> app1_3_out_gga3([]_0, Ys, Ys)
if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_out_gga3(Xs, Ys, Zs)) -> app1_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
PERM_2_IN_GA2(Xs, ._22(X, Ys)) -> IF_PERM_2_IN_1_GA4(Xs, X, Ys, app2_3_in_aag3(X1s, ._22(X, X2s), Xs))
PERM_2_IN_GA2(Xs, ._22(X, Ys)) -> APP2_3_IN_AAG3(X1s, ._22(X, X2s), Xs)
APP2_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP2_3_IN_1_AAG5(X, Xs, Ys, Zs, app2_3_in_aag3(Xs, Ys, Zs))
APP2_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP2_3_IN_AAG3(Xs, Ys, Zs)
IF_PERM_2_IN_1_GA4(Xs, X, Ys, app2_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app1_3_in_gga3(X1s, X2s, Zs))
IF_PERM_2_IN_1_GA4(Xs, X, Ys, app2_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> APP1_3_IN_GGA3(X1s, X2s, Zs)
APP1_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APP1_3_IN_1_GGA5(X, Xs, Ys, Zs, app1_3_in_gga3(Xs, Ys, Zs))
APP1_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP1_3_IN_GGA3(Xs, Ys, Zs)
IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app1_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, app1_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, app2_3_in_aag3(X1s, ._22(X, X2s), Xs))
app2_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_in_aag3(Xs, Ys, Zs))
app2_3_in_aag3([]_0, Ys, Ys) -> app2_3_out_aag3([]_0, Ys, Ys)
if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_out_aag3(Xs, Ys, Zs)) -> app2_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app2_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_in_gga3(X1s, X2s, Zs))
app1_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_in_gga3(Xs, Ys, Zs))
app1_3_in_gga3([]_0, Ys, Ys) -> app1_3_out_gga3([]_0, Ys, Ys)
if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_out_gga3(Xs, Ys, Zs)) -> app1_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
APP1_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP1_3_IN_GGA3(Xs, Ys, Zs)
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app2_3_in_aag3(X1s, ._22(X, X2s), Xs))
app2_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_in_aag3(Xs, Ys, Zs))
app2_3_in_aag3([]_0, Ys, Ys) -> app2_3_out_aag3([]_0, Ys, Ys)
if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_out_aag3(Xs, Ys, Zs)) -> app2_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app2_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_in_gga3(X1s, X2s, Zs))
app1_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_in_gga3(Xs, Ys, Zs))
app1_3_in_gga3([]_0, Ys, Ys) -> app1_3_out_gga3([]_0, Ys, Ys)
if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_out_gga3(Xs, Ys, Zs)) -> app1_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
APP1_3_IN_GGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP1_3_IN_GGA3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
APP1_3_IN_GGA2(._22(X, Xs), Ys) -> APP1_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
↳ UsableRulesProof
↳ PiDP
APP2_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP2_3_IN_AAG3(Xs, Ys, Zs)
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app2_3_in_aag3(X1s, ._22(X, X2s), Xs))
app2_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_in_aag3(Xs, Ys, Zs))
app2_3_in_aag3([]_0, Ys, Ys) -> app2_3_out_aag3([]_0, Ys, Ys)
if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_out_aag3(Xs, Ys, Zs)) -> app2_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app2_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_in_gga3(X1s, X2s, Zs))
app1_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_in_gga3(Xs, Ys, Zs))
app1_3_in_gga3([]_0, Ys, Ys) -> app1_3_out_gga3([]_0, Ys, Ys)
if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_out_gga3(Xs, Ys, Zs)) -> app1_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
APP2_3_IN_AAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APP2_3_IN_AAG3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
APP2_3_IN_AAG1(._22(X, Zs)) -> APP2_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
↳ UsableRulesProof
IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app1_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, app2_3_in_aag3(X1s, ._22(X, X2s), Xs))
IF_PERM_2_IN_1_GA4(Xs, X, Ys, app2_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app1_3_in_gga3(X1s, X2s, Zs))
perm_2_in_ga2(Xs, ._22(X, Ys)) -> if_perm_2_in_1_ga4(Xs, X, Ys, app2_3_in_aag3(X1s, ._22(X, X2s), Xs))
app2_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_in_aag3(Xs, Ys, Zs))
app2_3_in_aag3([]_0, Ys, Ys) -> app2_3_out_aag3([]_0, Ys, Ys)
if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_out_aag3(Xs, Ys, Zs)) -> app2_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_1_ga4(Xs, X, Ys, app2_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_in_gga3(X1s, X2s, Zs))
app1_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_in_gga3(Xs, Ys, Zs))
app1_3_in_gga3([]_0, Ys, Ys) -> app1_3_out_gga3([]_0, Ys, Ys)
if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_out_gga3(Xs, Ys, Zs)) -> app1_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
if_perm_2_in_2_ga6(Xs, X, Ys, X1s, X2s, app1_3_out_gga3(X1s, X2s, Zs)) -> if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_in_ga2(Zs, Ys))
perm_2_in_ga2([]_0, []_0) -> perm_2_out_ga2([]_0, []_0)
if_perm_2_in_3_ga5(Xs, X, Ys, Zs, perm_2_out_ga2(Zs, Ys)) -> perm_2_out_ga2(Xs, ._22(X, Ys))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app1_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, app2_3_in_aag3(X1s, ._22(X, X2s), Xs))
IF_PERM_2_IN_1_GA4(Xs, X, Ys, app2_3_out_aag3(X1s, ._22(X, X2s), Xs)) -> IF_PERM_2_IN_2_GA6(Xs, X, Ys, X1s, X2s, app1_3_in_gga3(X1s, X2s, Zs))
app2_3_in_aag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_in_aag3(Xs, Ys, Zs))
app2_3_in_aag3([]_0, Ys, Ys) -> app2_3_out_aag3([]_0, Ys, Ys)
app1_3_in_gga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_in_gga3(Xs, Ys, Zs))
app1_3_in_gga3([]_0, Ys, Ys) -> app1_3_out_gga3([]_0, Ys, Ys)
if_app2_3_in_1_aag5(X, Xs, Ys, Zs, app2_3_out_aag3(Xs, Ys, Zs)) -> app2_3_out_aag3(._22(X, Xs), Ys, ._22(X, Zs))
if_app1_3_in_1_gga5(X, Xs, Ys, Zs, app1_3_out_gga3(Xs, Ys, Zs)) -> app1_3_out_gga3(._22(X, Xs), Ys, ._22(X, Zs))
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
IF_PERM_2_IN_2_GA2(X, app1_3_out_gga1(Zs)) -> PERM_2_IN_GA1(Zs)
PERM_2_IN_GA1(Xs) -> IF_PERM_2_IN_1_GA1(app2_3_in_aag1(Xs))
IF_PERM_2_IN_1_GA1(app2_3_out_aag2(X1s, ._22(X, X2s))) -> IF_PERM_2_IN_2_GA2(X, app1_3_in_gga2(X1s, X2s))
app2_3_in_aag1(._22(X, Zs)) -> if_app2_3_in_1_aag2(X, app2_3_in_aag1(Zs))
app2_3_in_aag1(Ys) -> app2_3_out_aag2([]_0, Ys)
app1_3_in_gga2(._22(X, Xs), Ys) -> if_app1_3_in_1_gga2(X, app1_3_in_gga2(Xs, Ys))
app1_3_in_gga2([]_0, Ys) -> app1_3_out_gga1(Ys)
if_app2_3_in_1_aag2(X, app2_3_out_aag2(Xs, Ys)) -> app2_3_out_aag2(._22(X, Xs), Ys)
if_app1_3_in_1_gga2(X, app1_3_out_gga1(Zs)) -> app1_3_out_gga1(._22(X, Zs))
app2_3_in_aag1(x0)
app1_3_in_gga2(x0, x1)
if_app2_3_in_1_aag2(x0, x1)
if_app1_3_in_1_gga2(x0, x1)
The remaining Dependency Pairs were at least non-strictly be oriented.
IF_PERM_2_IN_1_GA1(app2_3_out_aag2(X1s, ._22(X, X2s))) -> IF_PERM_2_IN_2_GA2(X, app1_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, app1_3_out_gga1(Zs)) -> PERM_2_IN_GA1(Zs)
PERM_2_IN_GA1(Xs) -> IF_PERM_2_IN_1_GA1(app2_3_in_aag1(Xs))
Used ordering: POLO with Polynomial interpretation:
app1_3_in_gga2([]_0, Ys) -> app1_3_out_gga1(Ys)
app1_3_in_gga2(._22(X, Xs), Ys) -> if_app1_3_in_1_gga2(X, app1_3_in_gga2(Xs, Ys))
app2_3_in_aag1(._22(X, Zs)) -> if_app2_3_in_1_aag2(X, app2_3_in_aag1(Zs))
if_app1_3_in_1_gga2(X, app1_3_out_gga1(Zs)) -> app1_3_out_gga1(._22(X, Zs))
if_app2_3_in_1_aag2(X, app2_3_out_aag2(Xs, Ys)) -> app2_3_out_aag2(._22(X, Xs), Ys)
app2_3_in_aag1(Ys) -> app2_3_out_aag2([]_0, Ys)
POL(._22(x1, x2)) = 1 + x2
POL(IF_PERM_2_IN_2_GA2(x1, x2)) = x2
POL(IF_PERM_2_IN_1_GA1(x1)) = x1
POL(app2_3_in_aag1(x1)) = x1
POL(if_app2_3_in_1_aag2(x1, x2)) = 1 + x2
POL(app1_3_in_gga2(x1, x2)) = x1 + x2
POL(app2_3_out_aag2(x1, x2)) = x1 + x2
POL(if_app1_3_in_1_gga2(x1, x2)) = 1 + x2
POL(app1_3_out_gga1(x1)) = x1
POL([]_0) = 0
POL(PERM_2_IN_GA1(x1)) = x1
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPPoloProof
↳ QDP
↳ DependencyGraphProof
IF_PERM_2_IN_2_GA2(X, app1_3_out_gga1(Zs)) -> PERM_2_IN_GA1(Zs)
PERM_2_IN_GA1(Xs) -> IF_PERM_2_IN_1_GA1(app2_3_in_aag1(Xs))
app2_3_in_aag1(._22(X, Zs)) -> if_app2_3_in_1_aag2(X, app2_3_in_aag1(Zs))
app2_3_in_aag1(Ys) -> app2_3_out_aag2([]_0, Ys)
app1_3_in_gga2(._22(X, Xs), Ys) -> if_app1_3_in_1_gga2(X, app1_3_in_gga2(Xs, Ys))
app1_3_in_gga2([]_0, Ys) -> app1_3_out_gga1(Ys)
if_app2_3_in_1_aag2(X, app2_3_out_aag2(Xs, Ys)) -> app2_3_out_aag2(._22(X, Xs), Ys)
if_app1_3_in_1_gga2(X, app1_3_out_gga1(Zs)) -> app1_3_out_gga1(._22(X, Zs))
app2_3_in_aag1(x0)
app1_3_in_gga2(x0, x1)
if_app2_3_in_1_aag2(x0, x1)
if_app1_3_in_1_gga2(x0, x1)