↳ PROLOG
↳ PrologToPiTRSProof
With regard to the inferred argument filtering the predicates were used in the following modes:
goal3: (b,f,f)
s2l2: (b,f)
applast3: (b,f,f)
append3: (b,b,f)
last2: (f,b)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:
goal_3_in_gaa3(A, B, C) -> if_goal_3_in_1_gaa4(A, B, C, s2l_2_in_ga2(A, D))
s2l_2_in_ga2(s_11(X), ._22(Y, Xs)) -> if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_in_ga2(X, Xs))
s2l_2_in_ga2(0_0, []_0) -> s2l_2_out_ga2(0_0, []_0)
if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_out_ga2(X, Xs)) -> s2l_2_out_ga2(s_11(X), ._22(Y, Xs))
if_goal_3_in_1_gaa4(A, B, C, s2l_2_out_ga2(A, D)) -> if_goal_3_in_2_gaa5(A, B, C, D, applast_3_in_gaa3(D, B, C))
applast_3_in_gaa3(L, X, Last) -> if_applast_3_in_1_gaa4(L, X, Last, append_3_in_gga3(L, ._22(X, []_0), LX))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(._22(H, L1), L2, ._22(H, L3)) -> if_append_3_in_1_gga5(H, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(H, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(._22(H, L1), L2, ._22(H, L3))
if_applast_3_in_1_gaa4(L, X, Last, append_3_out_gga3(L, ._22(X, []_0), LX)) -> if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_in_ag2(Last, LX))
last_2_in_ag2(X, ._22(X, []_0)) -> last_2_out_ag2(X, ._22(X, []_0))
last_2_in_ag2(X, ._22(H, T)) -> if_last_2_in_1_ag4(X, H, T, last_2_in_ag2(X, T))
if_last_2_in_1_ag4(X, H, T, last_2_out_ag2(X, T)) -> last_2_out_ag2(X, ._22(H, T))
if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_out_ag2(Last, LX)) -> applast_3_out_gaa3(L, X, Last)
if_goal_3_in_2_gaa5(A, B, C, D, applast_3_out_gaa3(D, B, C)) -> goal_3_out_gaa3(A, B, C)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
goal_3_in_gaa3(A, B, C) -> if_goal_3_in_1_gaa4(A, B, C, s2l_2_in_ga2(A, D))
s2l_2_in_ga2(s_11(X), ._22(Y, Xs)) -> if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_in_ga2(X, Xs))
s2l_2_in_ga2(0_0, []_0) -> s2l_2_out_ga2(0_0, []_0)
if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_out_ga2(X, Xs)) -> s2l_2_out_ga2(s_11(X), ._22(Y, Xs))
if_goal_3_in_1_gaa4(A, B, C, s2l_2_out_ga2(A, D)) -> if_goal_3_in_2_gaa5(A, B, C, D, applast_3_in_gaa3(D, B, C))
applast_3_in_gaa3(L, X, Last) -> if_applast_3_in_1_gaa4(L, X, Last, append_3_in_gga3(L, ._22(X, []_0), LX))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(._22(H, L1), L2, ._22(H, L3)) -> if_append_3_in_1_gga5(H, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(H, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(._22(H, L1), L2, ._22(H, L3))
if_applast_3_in_1_gaa4(L, X, Last, append_3_out_gga3(L, ._22(X, []_0), LX)) -> if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_in_ag2(Last, LX))
last_2_in_ag2(X, ._22(X, []_0)) -> last_2_out_ag2(X, ._22(X, []_0))
last_2_in_ag2(X, ._22(H, T)) -> if_last_2_in_1_ag4(X, H, T, last_2_in_ag2(X, T))
if_last_2_in_1_ag4(X, H, T, last_2_out_ag2(X, T)) -> last_2_out_ag2(X, ._22(H, T))
if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_out_ag2(Last, LX)) -> applast_3_out_gaa3(L, X, Last)
if_goal_3_in_2_gaa5(A, B, C, D, applast_3_out_gaa3(D, B, C)) -> goal_3_out_gaa3(A, B, C)
GOAL_3_IN_GAA3(A, B, C) -> IF_GOAL_3_IN_1_GAA4(A, B, C, s2l_2_in_ga2(A, D))
GOAL_3_IN_GAA3(A, B, C) -> S2L_2_IN_GA2(A, D)
S2L_2_IN_GA2(s_11(X), ._22(Y, Xs)) -> IF_S2L_2_IN_1_GA4(X, Y, Xs, s2l_2_in_ga2(X, Xs))
S2L_2_IN_GA2(s_11(X), ._22(Y, Xs)) -> S2L_2_IN_GA2(X, Xs)
IF_GOAL_3_IN_1_GAA4(A, B, C, s2l_2_out_ga2(A, D)) -> IF_GOAL_3_IN_2_GAA5(A, B, C, D, applast_3_in_gaa3(D, B, C))
IF_GOAL_3_IN_1_GAA4(A, B, C, s2l_2_out_ga2(A, D)) -> APPLAST_3_IN_GAA3(D, B, C)
APPLAST_3_IN_GAA3(L, X, Last) -> IF_APPLAST_3_IN_1_GAA4(L, X, Last, append_3_in_gga3(L, ._22(X, []_0), LX))
APPLAST_3_IN_GAA3(L, X, Last) -> APPEND_3_IN_GGA3(L, ._22(X, []_0), LX)
APPEND_3_IN_GGA3(._22(H, L1), L2, ._22(H, L3)) -> IF_APPEND_3_IN_1_GGA5(H, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
APPEND_3_IN_GGA3(._22(H, L1), L2, ._22(H, L3)) -> APPEND_3_IN_GGA3(L1, L2, L3)
IF_APPLAST_3_IN_1_GAA4(L, X, Last, append_3_out_gga3(L, ._22(X, []_0), LX)) -> IF_APPLAST_3_IN_2_GAA5(L, X, Last, LX, last_2_in_ag2(Last, LX))
IF_APPLAST_3_IN_1_GAA4(L, X, Last, append_3_out_gga3(L, ._22(X, []_0), LX)) -> LAST_2_IN_AG2(Last, LX)
LAST_2_IN_AG2(X, ._22(H, T)) -> IF_LAST_2_IN_1_AG4(X, H, T, last_2_in_ag2(X, T))
LAST_2_IN_AG2(X, ._22(H, T)) -> LAST_2_IN_AG2(X, T)
goal_3_in_gaa3(A, B, C) -> if_goal_3_in_1_gaa4(A, B, C, s2l_2_in_ga2(A, D))
s2l_2_in_ga2(s_11(X), ._22(Y, Xs)) -> if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_in_ga2(X, Xs))
s2l_2_in_ga2(0_0, []_0) -> s2l_2_out_ga2(0_0, []_0)
if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_out_ga2(X, Xs)) -> s2l_2_out_ga2(s_11(X), ._22(Y, Xs))
if_goal_3_in_1_gaa4(A, B, C, s2l_2_out_ga2(A, D)) -> if_goal_3_in_2_gaa5(A, B, C, D, applast_3_in_gaa3(D, B, C))
applast_3_in_gaa3(L, X, Last) -> if_applast_3_in_1_gaa4(L, X, Last, append_3_in_gga3(L, ._22(X, []_0), LX))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(._22(H, L1), L2, ._22(H, L3)) -> if_append_3_in_1_gga5(H, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(H, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(._22(H, L1), L2, ._22(H, L3))
if_applast_3_in_1_gaa4(L, X, Last, append_3_out_gga3(L, ._22(X, []_0), LX)) -> if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_in_ag2(Last, LX))
last_2_in_ag2(X, ._22(X, []_0)) -> last_2_out_ag2(X, ._22(X, []_0))
last_2_in_ag2(X, ._22(H, T)) -> if_last_2_in_1_ag4(X, H, T, last_2_in_ag2(X, T))
if_last_2_in_1_ag4(X, H, T, last_2_out_ag2(X, T)) -> last_2_out_ag2(X, ._22(H, T))
if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_out_ag2(Last, LX)) -> applast_3_out_gaa3(L, X, Last)
if_goal_3_in_2_gaa5(A, B, C, D, applast_3_out_gaa3(D, B, C)) -> goal_3_out_gaa3(A, B, C)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
GOAL_3_IN_GAA3(A, B, C) -> IF_GOAL_3_IN_1_GAA4(A, B, C, s2l_2_in_ga2(A, D))
GOAL_3_IN_GAA3(A, B, C) -> S2L_2_IN_GA2(A, D)
S2L_2_IN_GA2(s_11(X), ._22(Y, Xs)) -> IF_S2L_2_IN_1_GA4(X, Y, Xs, s2l_2_in_ga2(X, Xs))
S2L_2_IN_GA2(s_11(X), ._22(Y, Xs)) -> S2L_2_IN_GA2(X, Xs)
IF_GOAL_3_IN_1_GAA4(A, B, C, s2l_2_out_ga2(A, D)) -> IF_GOAL_3_IN_2_GAA5(A, B, C, D, applast_3_in_gaa3(D, B, C))
IF_GOAL_3_IN_1_GAA4(A, B, C, s2l_2_out_ga2(A, D)) -> APPLAST_3_IN_GAA3(D, B, C)
APPLAST_3_IN_GAA3(L, X, Last) -> IF_APPLAST_3_IN_1_GAA4(L, X, Last, append_3_in_gga3(L, ._22(X, []_0), LX))
APPLAST_3_IN_GAA3(L, X, Last) -> APPEND_3_IN_GGA3(L, ._22(X, []_0), LX)
APPEND_3_IN_GGA3(._22(H, L1), L2, ._22(H, L3)) -> IF_APPEND_3_IN_1_GGA5(H, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
APPEND_3_IN_GGA3(._22(H, L1), L2, ._22(H, L3)) -> APPEND_3_IN_GGA3(L1, L2, L3)
IF_APPLAST_3_IN_1_GAA4(L, X, Last, append_3_out_gga3(L, ._22(X, []_0), LX)) -> IF_APPLAST_3_IN_2_GAA5(L, X, Last, LX, last_2_in_ag2(Last, LX))
IF_APPLAST_3_IN_1_GAA4(L, X, Last, append_3_out_gga3(L, ._22(X, []_0), LX)) -> LAST_2_IN_AG2(Last, LX)
LAST_2_IN_AG2(X, ._22(H, T)) -> IF_LAST_2_IN_1_AG4(X, H, T, last_2_in_ag2(X, T))
LAST_2_IN_AG2(X, ._22(H, T)) -> LAST_2_IN_AG2(X, T)
goal_3_in_gaa3(A, B, C) -> if_goal_3_in_1_gaa4(A, B, C, s2l_2_in_ga2(A, D))
s2l_2_in_ga2(s_11(X), ._22(Y, Xs)) -> if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_in_ga2(X, Xs))
s2l_2_in_ga2(0_0, []_0) -> s2l_2_out_ga2(0_0, []_0)
if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_out_ga2(X, Xs)) -> s2l_2_out_ga2(s_11(X), ._22(Y, Xs))
if_goal_3_in_1_gaa4(A, B, C, s2l_2_out_ga2(A, D)) -> if_goal_3_in_2_gaa5(A, B, C, D, applast_3_in_gaa3(D, B, C))
applast_3_in_gaa3(L, X, Last) -> if_applast_3_in_1_gaa4(L, X, Last, append_3_in_gga3(L, ._22(X, []_0), LX))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(._22(H, L1), L2, ._22(H, L3)) -> if_append_3_in_1_gga5(H, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(H, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(._22(H, L1), L2, ._22(H, L3))
if_applast_3_in_1_gaa4(L, X, Last, append_3_out_gga3(L, ._22(X, []_0), LX)) -> if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_in_ag2(Last, LX))
last_2_in_ag2(X, ._22(X, []_0)) -> last_2_out_ag2(X, ._22(X, []_0))
last_2_in_ag2(X, ._22(H, T)) -> if_last_2_in_1_ag4(X, H, T, last_2_in_ag2(X, T))
if_last_2_in_1_ag4(X, H, T, last_2_out_ag2(X, T)) -> last_2_out_ag2(X, ._22(H, T))
if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_out_ag2(Last, LX)) -> applast_3_out_gaa3(L, X, Last)
if_goal_3_in_2_gaa5(A, B, C, D, applast_3_out_gaa3(D, B, C)) -> goal_3_out_gaa3(A, B, C)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDP
LAST_2_IN_AG2(X, ._22(H, T)) -> LAST_2_IN_AG2(X, T)
goal_3_in_gaa3(A, B, C) -> if_goal_3_in_1_gaa4(A, B, C, s2l_2_in_ga2(A, D))
s2l_2_in_ga2(s_11(X), ._22(Y, Xs)) -> if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_in_ga2(X, Xs))
s2l_2_in_ga2(0_0, []_0) -> s2l_2_out_ga2(0_0, []_0)
if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_out_ga2(X, Xs)) -> s2l_2_out_ga2(s_11(X), ._22(Y, Xs))
if_goal_3_in_1_gaa4(A, B, C, s2l_2_out_ga2(A, D)) -> if_goal_3_in_2_gaa5(A, B, C, D, applast_3_in_gaa3(D, B, C))
applast_3_in_gaa3(L, X, Last) -> if_applast_3_in_1_gaa4(L, X, Last, append_3_in_gga3(L, ._22(X, []_0), LX))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(._22(H, L1), L2, ._22(H, L3)) -> if_append_3_in_1_gga5(H, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(H, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(._22(H, L1), L2, ._22(H, L3))
if_applast_3_in_1_gaa4(L, X, Last, append_3_out_gga3(L, ._22(X, []_0), LX)) -> if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_in_ag2(Last, LX))
last_2_in_ag2(X, ._22(X, []_0)) -> last_2_out_ag2(X, ._22(X, []_0))
last_2_in_ag2(X, ._22(H, T)) -> if_last_2_in_1_ag4(X, H, T, last_2_in_ag2(X, T))
if_last_2_in_1_ag4(X, H, T, last_2_out_ag2(X, T)) -> last_2_out_ag2(X, ._22(H, T))
if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_out_ag2(Last, LX)) -> applast_3_out_gaa3(L, X, Last)
if_goal_3_in_2_gaa5(A, B, C, D, applast_3_out_gaa3(D, B, C)) -> goal_3_out_gaa3(A, B, C)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
↳ PiDP
LAST_2_IN_AG2(X, ._22(H, T)) -> LAST_2_IN_AG2(X, T)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
↳ PiDP
LAST_2_IN_AG1(._21(T)) -> LAST_2_IN_AG1(T)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
APPEND_3_IN_GGA3(._22(H, L1), L2, ._22(H, L3)) -> APPEND_3_IN_GGA3(L1, L2, L3)
goal_3_in_gaa3(A, B, C) -> if_goal_3_in_1_gaa4(A, B, C, s2l_2_in_ga2(A, D))
s2l_2_in_ga2(s_11(X), ._22(Y, Xs)) -> if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_in_ga2(X, Xs))
s2l_2_in_ga2(0_0, []_0) -> s2l_2_out_ga2(0_0, []_0)
if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_out_ga2(X, Xs)) -> s2l_2_out_ga2(s_11(X), ._22(Y, Xs))
if_goal_3_in_1_gaa4(A, B, C, s2l_2_out_ga2(A, D)) -> if_goal_3_in_2_gaa5(A, B, C, D, applast_3_in_gaa3(D, B, C))
applast_3_in_gaa3(L, X, Last) -> if_applast_3_in_1_gaa4(L, X, Last, append_3_in_gga3(L, ._22(X, []_0), LX))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(._22(H, L1), L2, ._22(H, L3)) -> if_append_3_in_1_gga5(H, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(H, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(._22(H, L1), L2, ._22(H, L3))
if_applast_3_in_1_gaa4(L, X, Last, append_3_out_gga3(L, ._22(X, []_0), LX)) -> if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_in_ag2(Last, LX))
last_2_in_ag2(X, ._22(X, []_0)) -> last_2_out_ag2(X, ._22(X, []_0))
last_2_in_ag2(X, ._22(H, T)) -> if_last_2_in_1_ag4(X, H, T, last_2_in_ag2(X, T))
if_last_2_in_1_ag4(X, H, T, last_2_out_ag2(X, T)) -> last_2_out_ag2(X, ._22(H, T))
if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_out_ag2(Last, LX)) -> applast_3_out_gaa3(L, X, Last)
if_goal_3_in_2_gaa5(A, B, C, D, applast_3_out_gaa3(D, B, C)) -> goal_3_out_gaa3(A, B, C)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ PiDP
APPEND_3_IN_GGA3(._22(H, L1), L2, ._22(H, L3)) -> APPEND_3_IN_GGA3(L1, L2, L3)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
↳ PiDP
APPEND_3_IN_GGA2(._21(L1), L2) -> APPEND_3_IN_GGA2(L1, L2)
From the DPs we obtained the following set of size-change graphs:
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
S2L_2_IN_GA2(s_11(X), ._22(Y, Xs)) -> S2L_2_IN_GA2(X, Xs)
goal_3_in_gaa3(A, B, C) -> if_goal_3_in_1_gaa4(A, B, C, s2l_2_in_ga2(A, D))
s2l_2_in_ga2(s_11(X), ._22(Y, Xs)) -> if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_in_ga2(X, Xs))
s2l_2_in_ga2(0_0, []_0) -> s2l_2_out_ga2(0_0, []_0)
if_s2l_2_in_1_ga4(X, Y, Xs, s2l_2_out_ga2(X, Xs)) -> s2l_2_out_ga2(s_11(X), ._22(Y, Xs))
if_goal_3_in_1_gaa4(A, B, C, s2l_2_out_ga2(A, D)) -> if_goal_3_in_2_gaa5(A, B, C, D, applast_3_in_gaa3(D, B, C))
applast_3_in_gaa3(L, X, Last) -> if_applast_3_in_1_gaa4(L, X, Last, append_3_in_gga3(L, ._22(X, []_0), LX))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(._22(H, L1), L2, ._22(H, L3)) -> if_append_3_in_1_gga5(H, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(H, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(._22(H, L1), L2, ._22(H, L3))
if_applast_3_in_1_gaa4(L, X, Last, append_3_out_gga3(L, ._22(X, []_0), LX)) -> if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_in_ag2(Last, LX))
last_2_in_ag2(X, ._22(X, []_0)) -> last_2_out_ag2(X, ._22(X, []_0))
last_2_in_ag2(X, ._22(H, T)) -> if_last_2_in_1_ag4(X, H, T, last_2_in_ag2(X, T))
if_last_2_in_1_ag4(X, H, T, last_2_out_ag2(X, T)) -> last_2_out_ag2(X, ._22(H, T))
if_applast_3_in_2_gaa5(L, X, Last, LX, last_2_out_ag2(Last, LX)) -> applast_3_out_gaa3(L, X, Last)
if_goal_3_in_2_gaa5(A, B, C, D, applast_3_out_gaa3(D, B, C)) -> goal_3_out_gaa3(A, B, C)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
S2L_2_IN_GA2(s_11(X), ._22(Y, Xs)) -> S2L_2_IN_GA2(X, Xs)
↳ PROLOG
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ AND
↳ PiDP
↳ PiDP
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ QDPSizeChangeProof
S2L_2_IN_GA1(s_11(X)) -> S2L_2_IN_GA1(X)
From the DPs we obtained the following set of size-change graphs: