↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
sublist2: (b,b)
append13: (f,b,f)
append23: (b,f,b)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
sublist_2_in_gg2(X, Y) -> if_sublist_2_in_1_gg3(X, Y, append1_3_in_aga3(U, X, V))
append1_3_in_aga3([]_0, Ys, Ys) -> append1_3_out_aga3([]_0, Ys, Ys)
append1_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_out_aga3(Xs, Ys, Zs)) -> append1_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_1_gg3(X, Y, append1_3_out_aga3(U, X, V)) -> if_sublist_2_in_2_gg4(X, Y, V, append2_3_in_gag3(V, W, Y))
append2_3_in_gag3([]_0, Ys, Ys) -> append2_3_out_gag3([]_0, Ys, Ys)
append2_3_in_gag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_out_gag3(Xs, Ys, Zs)) -> append2_3_out_gag3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_2_gg4(X, Y, V, append2_3_out_gag3(V, W, Y)) -> sublist_2_out_gg2(X, Y)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PrologToPiTRSProof
sublist_2_in_gg2(X, Y) -> if_sublist_2_in_1_gg3(X, Y, append1_3_in_aga3(U, X, V))
append1_3_in_aga3([]_0, Ys, Ys) -> append1_3_out_aga3([]_0, Ys, Ys)
append1_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_out_aga3(Xs, Ys, Zs)) -> append1_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_1_gg3(X, Y, append1_3_out_aga3(U, X, V)) -> if_sublist_2_in_2_gg4(X, Y, V, append2_3_in_gag3(V, W, Y))
append2_3_in_gag3([]_0, Ys, Ys) -> append2_3_out_gag3([]_0, Ys, Ys)
append2_3_in_gag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_out_gag3(Xs, Ys, Zs)) -> append2_3_out_gag3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_2_gg4(X, Y, V, append2_3_out_gag3(V, W, Y)) -> sublist_2_out_gg2(X, Y)
SUBLIST_2_IN_GG2(X, Y) -> IF_SUBLIST_2_IN_1_GG3(X, Y, append1_3_in_aga3(U, X, V))
SUBLIST_2_IN_GG2(X, Y) -> APPEND1_3_IN_AGA3(U, X, V)
APPEND1_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APPEND1_3_IN_1_AGA5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
APPEND1_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND1_3_IN_AGA3(Xs, Ys, Zs)
IF_SUBLIST_2_IN_1_GG3(X, Y, append1_3_out_aga3(U, X, V)) -> IF_SUBLIST_2_IN_2_GG4(X, Y, V, append2_3_in_gag3(V, W, Y))
IF_SUBLIST_2_IN_1_GG3(X, Y, append1_3_out_aga3(U, X, V)) -> APPEND2_3_IN_GAG3(V, W, Y)
APPEND2_3_IN_GAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APPEND2_3_IN_1_GAG5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
APPEND2_3_IN_GAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND2_3_IN_GAG3(Xs, Ys, Zs)
sublist_2_in_gg2(X, Y) -> if_sublist_2_in_1_gg3(X, Y, append1_3_in_aga3(U, X, V))
append1_3_in_aga3([]_0, Ys, Ys) -> append1_3_out_aga3([]_0, Ys, Ys)
append1_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_out_aga3(Xs, Ys, Zs)) -> append1_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_1_gg3(X, Y, append1_3_out_aga3(U, X, V)) -> if_sublist_2_in_2_gg4(X, Y, V, append2_3_in_gag3(V, W, Y))
append2_3_in_gag3([]_0, Ys, Ys) -> append2_3_out_gag3([]_0, Ys, Ys)
append2_3_in_gag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_out_gag3(Xs, Ys, Zs)) -> append2_3_out_gag3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_2_gg4(X, Y, V, append2_3_out_gag3(V, W, Y)) -> sublist_2_out_gg2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PrologToPiTRSProof
SUBLIST_2_IN_GG2(X, Y) -> IF_SUBLIST_2_IN_1_GG3(X, Y, append1_3_in_aga3(U, X, V))
SUBLIST_2_IN_GG2(X, Y) -> APPEND1_3_IN_AGA3(U, X, V)
APPEND1_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APPEND1_3_IN_1_AGA5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
APPEND1_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND1_3_IN_AGA3(Xs, Ys, Zs)
IF_SUBLIST_2_IN_1_GG3(X, Y, append1_3_out_aga3(U, X, V)) -> IF_SUBLIST_2_IN_2_GG4(X, Y, V, append2_3_in_gag3(V, W, Y))
IF_SUBLIST_2_IN_1_GG3(X, Y, append1_3_out_aga3(U, X, V)) -> APPEND2_3_IN_GAG3(V, W, Y)
APPEND2_3_IN_GAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APPEND2_3_IN_1_GAG5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
APPEND2_3_IN_GAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND2_3_IN_GAG3(Xs, Ys, Zs)
sublist_2_in_gg2(X, Y) -> if_sublist_2_in_1_gg3(X, Y, append1_3_in_aga3(U, X, V))
append1_3_in_aga3([]_0, Ys, Ys) -> append1_3_out_aga3([]_0, Ys, Ys)
append1_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_out_aga3(Xs, Ys, Zs)) -> append1_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_1_gg3(X, Y, append1_3_out_aga3(U, X, V)) -> if_sublist_2_in_2_gg4(X, Y, V, append2_3_in_gag3(V, W, Y))
append2_3_in_gag3([]_0, Ys, Ys) -> append2_3_out_gag3([]_0, Ys, Ys)
append2_3_in_gag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_out_gag3(Xs, Ys, Zs)) -> append2_3_out_gag3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_2_gg4(X, Y, V, append2_3_out_gag3(V, W, Y)) -> sublist_2_out_gg2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PrologToPiTRSProof
APPEND2_3_IN_GAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND2_3_IN_GAG3(Xs, Ys, Zs)
sublist_2_in_gg2(X, Y) -> if_sublist_2_in_1_gg3(X, Y, append1_3_in_aga3(U, X, V))
append1_3_in_aga3([]_0, Ys, Ys) -> append1_3_out_aga3([]_0, Ys, Ys)
append1_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_out_aga3(Xs, Ys, Zs)) -> append1_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_1_gg3(X, Y, append1_3_out_aga3(U, X, V)) -> if_sublist_2_in_2_gg4(X, Y, V, append2_3_in_gag3(V, W, Y))
append2_3_in_gag3([]_0, Ys, Ys) -> append2_3_out_gag3([]_0, Ys, Ys)
append2_3_in_gag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_out_gag3(Xs, Ys, Zs)) -> append2_3_out_gag3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_2_gg4(X, Y, V, append2_3_out_gag3(V, W, Y)) -> sublist_2_out_gg2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PrologToPiTRSProof
APPEND2_3_IN_GAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND2_3_IN_GAG3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PrologToPiTRSProof
APPEND2_3_IN_GAG2(._21(Xs), ._21(Zs)) -> APPEND2_3_IN_GAG2(Xs, Zs)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PrologToPiTRSProof
APPEND1_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND1_3_IN_AGA3(Xs, Ys, Zs)
sublist_2_in_gg2(X, Y) -> if_sublist_2_in_1_gg3(X, Y, append1_3_in_aga3(U, X, V))
append1_3_in_aga3([]_0, Ys, Ys) -> append1_3_out_aga3([]_0, Ys, Ys)
append1_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_out_aga3(Xs, Ys, Zs)) -> append1_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_1_gg3(X, Y, append1_3_out_aga3(U, X, V)) -> if_sublist_2_in_2_gg4(X, Y, V, append2_3_in_gag3(V, W, Y))
append2_3_in_gag3([]_0, Ys, Ys) -> append2_3_out_gag3([]_0, Ys, Ys)
append2_3_in_gag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_out_gag3(Xs, Ys, Zs)) -> append2_3_out_gag3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_2_gg4(X, Y, V, append2_3_out_gag3(V, W, Y)) -> sublist_2_out_gg2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PrologToPiTRSProof
APPEND1_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND1_3_IN_AGA3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ PrologToPiTRSProof
APPEND1_3_IN_AGA1(Ys) -> APPEND1_3_IN_AGA1(Ys)
sublist_2_in_gg2(X, Y) -> if_sublist_2_in_1_gg3(X, Y, append1_3_in_aga3(U, X, V))
append1_3_in_aga3([]_0, Ys, Ys) -> append1_3_out_aga3([]_0, Ys, Ys)
append1_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_out_aga3(Xs, Ys, Zs)) -> append1_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_1_gg3(X, Y, append1_3_out_aga3(U, X, V)) -> if_sublist_2_in_2_gg4(X, Y, V, append2_3_in_gag3(V, W, Y))
append2_3_in_gag3([]_0, Ys, Ys) -> append2_3_out_gag3([]_0, Ys, Ys)
append2_3_in_gag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_out_gag3(Xs, Ys, Zs)) -> append2_3_out_gag3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_2_gg4(X, Y, V, append2_3_out_gag3(V, W, Y)) -> sublist_2_out_gg2(X, Y)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
sublist_2_in_gg2(X, Y) -> if_sublist_2_in_1_gg3(X, Y, append1_3_in_aga3(U, X, V))
append1_3_in_aga3([]_0, Ys, Ys) -> append1_3_out_aga3([]_0, Ys, Ys)
append1_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_out_aga3(Xs, Ys, Zs)) -> append1_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_1_gg3(X, Y, append1_3_out_aga3(U, X, V)) -> if_sublist_2_in_2_gg4(X, Y, V, append2_3_in_gag3(V, W, Y))
append2_3_in_gag3([]_0, Ys, Ys) -> append2_3_out_gag3([]_0, Ys, Ys)
append2_3_in_gag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_out_gag3(Xs, Ys, Zs)) -> append2_3_out_gag3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_2_gg4(X, Y, V, append2_3_out_gag3(V, W, Y)) -> sublist_2_out_gg2(X, Y)
SUBLIST_2_IN_GG2(X, Y) -> IF_SUBLIST_2_IN_1_GG3(X, Y, append1_3_in_aga3(U, X, V))
SUBLIST_2_IN_GG2(X, Y) -> APPEND1_3_IN_AGA3(U, X, V)
APPEND1_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APPEND1_3_IN_1_AGA5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
APPEND1_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND1_3_IN_AGA3(Xs, Ys, Zs)
IF_SUBLIST_2_IN_1_GG3(X, Y, append1_3_out_aga3(U, X, V)) -> IF_SUBLIST_2_IN_2_GG4(X, Y, V, append2_3_in_gag3(V, W, Y))
IF_SUBLIST_2_IN_1_GG3(X, Y, append1_3_out_aga3(U, X, V)) -> APPEND2_3_IN_GAG3(V, W, Y)
APPEND2_3_IN_GAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APPEND2_3_IN_1_GAG5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
APPEND2_3_IN_GAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND2_3_IN_GAG3(Xs, Ys, Zs)
sublist_2_in_gg2(X, Y) -> if_sublist_2_in_1_gg3(X, Y, append1_3_in_aga3(U, X, V))
append1_3_in_aga3([]_0, Ys, Ys) -> append1_3_out_aga3([]_0, Ys, Ys)
append1_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_out_aga3(Xs, Ys, Zs)) -> append1_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_1_gg3(X, Y, append1_3_out_aga3(U, X, V)) -> if_sublist_2_in_2_gg4(X, Y, V, append2_3_in_gag3(V, W, Y))
append2_3_in_gag3([]_0, Ys, Ys) -> append2_3_out_gag3([]_0, Ys, Ys)
append2_3_in_gag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_out_gag3(Xs, Ys, Zs)) -> append2_3_out_gag3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_2_gg4(X, Y, V, append2_3_out_gag3(V, W, Y)) -> sublist_2_out_gg2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
SUBLIST_2_IN_GG2(X, Y) -> IF_SUBLIST_2_IN_1_GG3(X, Y, append1_3_in_aga3(U, X, V))
SUBLIST_2_IN_GG2(X, Y) -> APPEND1_3_IN_AGA3(U, X, V)
APPEND1_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APPEND1_3_IN_1_AGA5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
APPEND1_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND1_3_IN_AGA3(Xs, Ys, Zs)
IF_SUBLIST_2_IN_1_GG3(X, Y, append1_3_out_aga3(U, X, V)) -> IF_SUBLIST_2_IN_2_GG4(X, Y, V, append2_3_in_gag3(V, W, Y))
IF_SUBLIST_2_IN_1_GG3(X, Y, append1_3_out_aga3(U, X, V)) -> APPEND2_3_IN_GAG3(V, W, Y)
APPEND2_3_IN_GAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> IF_APPEND2_3_IN_1_GAG5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
APPEND2_3_IN_GAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND2_3_IN_GAG3(Xs, Ys, Zs)
sublist_2_in_gg2(X, Y) -> if_sublist_2_in_1_gg3(X, Y, append1_3_in_aga3(U, X, V))
append1_3_in_aga3([]_0, Ys, Ys) -> append1_3_out_aga3([]_0, Ys, Ys)
append1_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_out_aga3(Xs, Ys, Zs)) -> append1_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_1_gg3(X, Y, append1_3_out_aga3(U, X, V)) -> if_sublist_2_in_2_gg4(X, Y, V, append2_3_in_gag3(V, W, Y))
append2_3_in_gag3([]_0, Ys, Ys) -> append2_3_out_gag3([]_0, Ys, Ys)
append2_3_in_gag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_out_gag3(Xs, Ys, Zs)) -> append2_3_out_gag3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_2_gg4(X, Y, V, append2_3_out_gag3(V, W, Y)) -> sublist_2_out_gg2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
APPEND2_3_IN_GAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND2_3_IN_GAG3(Xs, Ys, Zs)
sublist_2_in_gg2(X, Y) -> if_sublist_2_in_1_gg3(X, Y, append1_3_in_aga3(U, X, V))
append1_3_in_aga3([]_0, Ys, Ys) -> append1_3_out_aga3([]_0, Ys, Ys)
append1_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_out_aga3(Xs, Ys, Zs)) -> append1_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_1_gg3(X, Y, append1_3_out_aga3(U, X, V)) -> if_sublist_2_in_2_gg4(X, Y, V, append2_3_in_gag3(V, W, Y))
append2_3_in_gag3([]_0, Ys, Ys) -> append2_3_out_gag3([]_0, Ys, Ys)
append2_3_in_gag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_out_gag3(Xs, Ys, Zs)) -> append2_3_out_gag3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_2_gg4(X, Y, V, append2_3_out_gag3(V, W, Y)) -> sublist_2_out_gg2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
APPEND2_3_IN_GAG3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND2_3_IN_GAG3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
APPEND2_3_IN_GAG2(._21(Xs), ._21(Zs)) -> APPEND2_3_IN_GAG2(Xs, Zs)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
APPEND1_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND1_3_IN_AGA3(Xs, Ys, Zs)
sublist_2_in_gg2(X, Y) -> if_sublist_2_in_1_gg3(X, Y, append1_3_in_aga3(U, X, V))
append1_3_in_aga3([]_0, Ys, Ys) -> append1_3_out_aga3([]_0, Ys, Ys)
append1_3_in_aga3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_in_aga3(Xs, Ys, Zs))
if_append1_3_in_1_aga5(X, Xs, Ys, Zs, append1_3_out_aga3(Xs, Ys, Zs)) -> append1_3_out_aga3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_1_gg3(X, Y, append1_3_out_aga3(U, X, V)) -> if_sublist_2_in_2_gg4(X, Y, V, append2_3_in_gag3(V, W, Y))
append2_3_in_gag3([]_0, Ys, Ys) -> append2_3_out_gag3([]_0, Ys, Ys)
append2_3_in_gag3(._22(X, Xs), Ys, ._22(X, Zs)) -> if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_in_gag3(Xs, Ys, Zs))
if_append2_3_in_1_gag5(X, Xs, Ys, Zs, append2_3_out_gag3(Xs, Ys, Zs)) -> append2_3_out_gag3(._22(X, Xs), Ys, ._22(X, Zs))
if_sublist_2_in_2_gg4(X, Y, V, append2_3_out_gag3(V, W, Y)) -> sublist_2_out_gg2(X, Y)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
APPEND1_3_IN_AGA3(._22(X, Xs), Ys, ._22(X, Zs)) -> APPEND1_3_IN_AGA3(Xs, Ys, Zs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
APPEND1_3_IN_AGA1(Ys) -> APPEND1_3_IN_AGA1(Ys)