Left Termination of the query pattern qs(b,f) w.r.t. the given Prolog program could successfully be proven:



PROLOG
  ↳ PrologToPiTRSProof

qs2({}0, {}0).
qs2(cons2(X, L), S) :- split4(L, X, L1, L2), qs2(L1, S1), qs2(L2, S2), append3(S1, cons2(X, S2), S).
append3({}0, L, L).
append3(cons2(X, L1), L2, cons2(X, L3)) :- append3(L1, L2, L3).
split4({}0, X, {}0, {}0).
split4(cons2(X, L), Y, cons2(X, L1), L2) :- less2(X, Y), split4(L, Y, L1, L2).
split4(cons2(X, L), Y, L1, cons2(X, L2)) :- geq2(X, Y), split4(L, Y, L1, L2).
less2(00, s1(X)).
less2(s1(X), s1(Y)) :- less2(X, Y).
geq2(X, X).
geq2(s1(X), 00).
geq2(s1(X), s1(Y)) :- geq2(X, Y).


With regard to the inferred argument filtering the predicates were used in the following modes:
qs2: (b,f)
split4: (b,b,f,f)
less2: (b,b)
geq2: (b,b)
append3: (b,b,f)
Transforming PROLOG into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:


qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
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_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)

The argument filtering Pi contains the following mapping:
qs_2_in_ga2(x1, x2)  =  qs_2_in_ga1(x1)
[]_0  =  []_0
cons_22(x1, x2)  =  cons_22(x1, x2)
0_0  =  0_0
s_11(x1)  =  s_11(x1)
qs_2_out_ga2(x1, x2)  =  qs_2_out_ga1(x2)
if_qs_2_in_1_ga4(x1, x2, x3, x4)  =  if_qs_2_in_1_ga2(x1, x4)
split_4_in_ggaa4(x1, x2, x3, x4)  =  split_4_in_ggaa2(x1, x2)
split_4_out_ggaa4(x1, x2, x3, x4)  =  split_4_out_ggaa2(x3, x4)
if_split_4_in_1_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_1_ggaa4(x1, x2, x3, x6)
less_2_in_gg2(x1, x2)  =  less_2_in_gg2(x1, x2)
less_2_out_gg2(x1, x2)  =  less_2_out_gg
if_less_2_in_1_gg3(x1, x2, x3)  =  if_less_2_in_1_gg1(x3)
if_split_4_in_2_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_2_ggaa2(x1, x6)
if_split_4_in_3_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_3_ggaa4(x1, x2, x3, x6)
geq_2_in_gg2(x1, x2)  =  geq_2_in_gg2(x1, x2)
geq_2_out_gg2(x1, x2)  =  geq_2_out_gg
if_geq_2_in_1_gg3(x1, x2, x3)  =  if_geq_2_in_1_gg1(x3)
if_split_4_in_4_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_4_ggaa2(x1, x6)
if_qs_2_in_2_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_2_ga3(x1, x5, x6)
if_qs_2_in_3_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_3_ga3(x1, x5, x6)
if_qs_2_in_4_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_4_ga1(x6)
append_3_in_gga3(x1, x2, x3)  =  append_3_in_gga2(x1, x2)
append_3_out_gga3(x1, x2, x3)  =  append_3_out_gga1(x3)
if_append_3_in_1_gga5(x1, x2, x3, x4, x5)  =  if_append_3_in_1_gga2(x1, x5)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of PROLOG



↳ PROLOG
  ↳ PrologToPiTRSProof
PiTRS
      ↳ DependencyPairsProof

Pi-finite rewrite system:
The TRS R consists of the following rules:

qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
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_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)

The argument filtering Pi contains the following mapping:
qs_2_in_ga2(x1, x2)  =  qs_2_in_ga1(x1)
[]_0  =  []_0
cons_22(x1, x2)  =  cons_22(x1, x2)
0_0  =  0_0
s_11(x1)  =  s_11(x1)
qs_2_out_ga2(x1, x2)  =  qs_2_out_ga1(x2)
if_qs_2_in_1_ga4(x1, x2, x3, x4)  =  if_qs_2_in_1_ga2(x1, x4)
split_4_in_ggaa4(x1, x2, x3, x4)  =  split_4_in_ggaa2(x1, x2)
split_4_out_ggaa4(x1, x2, x3, x4)  =  split_4_out_ggaa2(x3, x4)
if_split_4_in_1_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_1_ggaa4(x1, x2, x3, x6)
less_2_in_gg2(x1, x2)  =  less_2_in_gg2(x1, x2)
less_2_out_gg2(x1, x2)  =  less_2_out_gg
if_less_2_in_1_gg3(x1, x2, x3)  =  if_less_2_in_1_gg1(x3)
if_split_4_in_2_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_2_ggaa2(x1, x6)
if_split_4_in_3_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_3_ggaa4(x1, x2, x3, x6)
geq_2_in_gg2(x1, x2)  =  geq_2_in_gg2(x1, x2)
geq_2_out_gg2(x1, x2)  =  geq_2_out_gg
if_geq_2_in_1_gg3(x1, x2, x3)  =  if_geq_2_in_1_gg1(x3)
if_split_4_in_4_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_4_ggaa2(x1, x6)
if_qs_2_in_2_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_2_ga3(x1, x5, x6)
if_qs_2_in_3_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_3_ga3(x1, x5, x6)
if_qs_2_in_4_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_4_ga1(x6)
append_3_in_gga3(x1, x2, x3)  =  append_3_in_gga2(x1, x2)
append_3_out_gga3(x1, x2, x3)  =  append_3_out_gga1(x3)
if_append_3_in_1_gga5(x1, x2, x3, x4, x5)  =  if_append_3_in_1_gga2(x1, x5)


Pi DP problem:
The TRS P consists of the following rules:

QS_2_IN_GA2(cons_22(X, L), S) -> IF_QS_2_IN_1_GA4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
QS_2_IN_GA2(cons_22(X, L), S) -> SPLIT_4_IN_GGAA4(L, X, L1, L2)
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, cons_22(X, L1), L2) -> IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, cons_22(X, L1), L2) -> LESS_2_IN_GG2(X, 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_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> IF_SPLIT_4_IN_2_GGAA6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> GEQ_2_IN_GG2(X, Y)
GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> IF_GEQ_2_IN_1_GG3(X, Y, geq_2_in_gg2(X, Y))
GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> GEQ_2_IN_GG2(X, Y)
IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> IF_SPLIT_4_IN_4_GGAA6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
IF_QS_2_IN_1_GA4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
IF_QS_2_IN_1_GA4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> QS_2_IN_GA2(L1, S1)
IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> IF_QS_2_IN_3_GA6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> QS_2_IN_GA2(L2, S2)
IF_QS_2_IN_3_GA6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> IF_QS_2_IN_4_GA6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
IF_QS_2_IN_3_GA6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> APPEND_3_IN_GGA3(S1, cons_22(X, S2), S)
APPEND_3_IN_GGA3(cons_22(X, L1), L2, cons_22(X, L3)) -> IF_APPEND_3_IN_1_GGA5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
APPEND_3_IN_GGA3(cons_22(X, L1), L2, cons_22(X, L3)) -> APPEND_3_IN_GGA3(L1, L2, L3)

The TRS R consists of the following rules:

qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
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_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)

The argument filtering Pi contains the following mapping:
qs_2_in_ga2(x1, x2)  =  qs_2_in_ga1(x1)
[]_0  =  []_0
cons_22(x1, x2)  =  cons_22(x1, x2)
0_0  =  0_0
s_11(x1)  =  s_11(x1)
qs_2_out_ga2(x1, x2)  =  qs_2_out_ga1(x2)
if_qs_2_in_1_ga4(x1, x2, x3, x4)  =  if_qs_2_in_1_ga2(x1, x4)
split_4_in_ggaa4(x1, x2, x3, x4)  =  split_4_in_ggaa2(x1, x2)
split_4_out_ggaa4(x1, x2, x3, x4)  =  split_4_out_ggaa2(x3, x4)
if_split_4_in_1_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_1_ggaa4(x1, x2, x3, x6)
less_2_in_gg2(x1, x2)  =  less_2_in_gg2(x1, x2)
less_2_out_gg2(x1, x2)  =  less_2_out_gg
if_less_2_in_1_gg3(x1, x2, x3)  =  if_less_2_in_1_gg1(x3)
if_split_4_in_2_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_2_ggaa2(x1, x6)
if_split_4_in_3_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_3_ggaa4(x1, x2, x3, x6)
geq_2_in_gg2(x1, x2)  =  geq_2_in_gg2(x1, x2)
geq_2_out_gg2(x1, x2)  =  geq_2_out_gg
if_geq_2_in_1_gg3(x1, x2, x3)  =  if_geq_2_in_1_gg1(x3)
if_split_4_in_4_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_4_ggaa2(x1, x6)
if_qs_2_in_2_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_2_ga3(x1, x5, x6)
if_qs_2_in_3_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_3_ga3(x1, x5, x6)
if_qs_2_in_4_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_4_ga1(x6)
append_3_in_gga3(x1, x2, x3)  =  append_3_in_gga2(x1, x2)
append_3_out_gga3(x1, x2, x3)  =  append_3_out_gga1(x3)
if_append_3_in_1_gga5(x1, x2, x3, x4, x5)  =  if_append_3_in_1_gga2(x1, x5)
IF_SPLIT_4_IN_1_GGAA6(x1, x2, x3, x4, x5, x6)  =  IF_SPLIT_4_IN_1_GGAA4(x1, x2, x3, x6)
SPLIT_4_IN_GGAA4(x1, x2, x3, x4)  =  SPLIT_4_IN_GGAA2(x1, x2)
IF_QS_2_IN_1_GA4(x1, x2, x3, x4)  =  IF_QS_2_IN_1_GA2(x1, x4)
IF_QS_2_IN_3_GA6(x1, x2, x3, x4, x5, x6)  =  IF_QS_2_IN_3_GA3(x1, x5, x6)
APPEND_3_IN_GGA3(x1, x2, x3)  =  APPEND_3_IN_GGA2(x1, x2)
IF_GEQ_2_IN_1_GG3(x1, x2, x3)  =  IF_GEQ_2_IN_1_GG1(x3)
IF_SPLIT_4_IN_4_GGAA6(x1, x2, x3, x4, x5, x6)  =  IF_SPLIT_4_IN_4_GGAA2(x1, x6)
IF_APPEND_3_IN_1_GGA5(x1, x2, x3, x4, x5)  =  IF_APPEND_3_IN_1_GGA2(x1, x5)
IF_QS_2_IN_2_GA6(x1, x2, x3, x4, x5, x6)  =  IF_QS_2_IN_2_GA3(x1, x5, x6)
GEQ_2_IN_GG2(x1, x2)  =  GEQ_2_IN_GG2(x1, x2)
QS_2_IN_GA2(x1, x2)  =  QS_2_IN_GA1(x1)
IF_QS_2_IN_4_GA6(x1, x2, x3, x4, x5, x6)  =  IF_QS_2_IN_4_GA1(x6)
IF_LESS_2_IN_1_GG3(x1, x2, x3)  =  IF_LESS_2_IN_1_GG1(x3)
IF_SPLIT_4_IN_3_GGAA6(x1, x2, x3, x4, x5, x6)  =  IF_SPLIT_4_IN_3_GGAA4(x1, x2, x3, x6)
LESS_2_IN_GG2(x1, x2)  =  LESS_2_IN_GG2(x1, x2)
IF_SPLIT_4_IN_2_GGAA6(x1, x2, x3, x4, x5, x6)  =  IF_SPLIT_4_IN_2_GGAA2(x1, x6)

We have to consider all (P,R,Pi)-chains

↳ PROLOG
  ↳ PrologToPiTRSProof
    ↳ PiTRS
      ↳ DependencyPairsProof
PiDP
          ↳ DependencyGraphProof

Pi DP problem:
The TRS P consists of the following rules:

QS_2_IN_GA2(cons_22(X, L), S) -> IF_QS_2_IN_1_GA4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
QS_2_IN_GA2(cons_22(X, L), S) -> SPLIT_4_IN_GGAA4(L, X, L1, L2)
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, cons_22(X, L1), L2) -> IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, cons_22(X, L1), L2) -> LESS_2_IN_GG2(X, 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_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> IF_SPLIT_4_IN_2_GGAA6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> GEQ_2_IN_GG2(X, Y)
GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> IF_GEQ_2_IN_1_GG3(X, Y, geq_2_in_gg2(X, Y))
GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> GEQ_2_IN_GG2(X, Y)
IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> IF_SPLIT_4_IN_4_GGAA6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
IF_QS_2_IN_1_GA4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
IF_QS_2_IN_1_GA4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> QS_2_IN_GA2(L1, S1)
IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> IF_QS_2_IN_3_GA6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> QS_2_IN_GA2(L2, S2)
IF_QS_2_IN_3_GA6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> IF_QS_2_IN_4_GA6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
IF_QS_2_IN_3_GA6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> APPEND_3_IN_GGA3(S1, cons_22(X, S2), S)
APPEND_3_IN_GGA3(cons_22(X, L1), L2, cons_22(X, L3)) -> IF_APPEND_3_IN_1_GGA5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
APPEND_3_IN_GGA3(cons_22(X, L1), L2, cons_22(X, L3)) -> APPEND_3_IN_GGA3(L1, L2, L3)

The TRS R consists of the following rules:

qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
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_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)

The argument filtering Pi contains the following mapping:
qs_2_in_ga2(x1, x2)  =  qs_2_in_ga1(x1)
[]_0  =  []_0
cons_22(x1, x2)  =  cons_22(x1, x2)
0_0  =  0_0
s_11(x1)  =  s_11(x1)
qs_2_out_ga2(x1, x2)  =  qs_2_out_ga1(x2)
if_qs_2_in_1_ga4(x1, x2, x3, x4)  =  if_qs_2_in_1_ga2(x1, x4)
split_4_in_ggaa4(x1, x2, x3, x4)  =  split_4_in_ggaa2(x1, x2)
split_4_out_ggaa4(x1, x2, x3, x4)  =  split_4_out_ggaa2(x3, x4)
if_split_4_in_1_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_1_ggaa4(x1, x2, x3, x6)
less_2_in_gg2(x1, x2)  =  less_2_in_gg2(x1, x2)
less_2_out_gg2(x1, x2)  =  less_2_out_gg
if_less_2_in_1_gg3(x1, x2, x3)  =  if_less_2_in_1_gg1(x3)
if_split_4_in_2_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_2_ggaa2(x1, x6)
if_split_4_in_3_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_3_ggaa4(x1, x2, x3, x6)
geq_2_in_gg2(x1, x2)  =  geq_2_in_gg2(x1, x2)
geq_2_out_gg2(x1, x2)  =  geq_2_out_gg
if_geq_2_in_1_gg3(x1, x2, x3)  =  if_geq_2_in_1_gg1(x3)
if_split_4_in_4_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_4_ggaa2(x1, x6)
if_qs_2_in_2_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_2_ga3(x1, x5, x6)
if_qs_2_in_3_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_3_ga3(x1, x5, x6)
if_qs_2_in_4_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_4_ga1(x6)
append_3_in_gga3(x1, x2, x3)  =  append_3_in_gga2(x1, x2)
append_3_out_gga3(x1, x2, x3)  =  append_3_out_gga1(x3)
if_append_3_in_1_gga5(x1, x2, x3, x4, x5)  =  if_append_3_in_1_gga2(x1, x5)
IF_SPLIT_4_IN_1_GGAA6(x1, x2, x3, x4, x5, x6)  =  IF_SPLIT_4_IN_1_GGAA4(x1, x2, x3, x6)
SPLIT_4_IN_GGAA4(x1, x2, x3, x4)  =  SPLIT_4_IN_GGAA2(x1, x2)
IF_QS_2_IN_1_GA4(x1, x2, x3, x4)  =  IF_QS_2_IN_1_GA2(x1, x4)
IF_QS_2_IN_3_GA6(x1, x2, x3, x4, x5, x6)  =  IF_QS_2_IN_3_GA3(x1, x5, x6)
APPEND_3_IN_GGA3(x1, x2, x3)  =  APPEND_3_IN_GGA2(x1, x2)
IF_GEQ_2_IN_1_GG3(x1, x2, x3)  =  IF_GEQ_2_IN_1_GG1(x3)
IF_SPLIT_4_IN_4_GGAA6(x1, x2, x3, x4, x5, x6)  =  IF_SPLIT_4_IN_4_GGAA2(x1, x6)
IF_APPEND_3_IN_1_GGA5(x1, x2, x3, x4, x5)  =  IF_APPEND_3_IN_1_GGA2(x1, x5)
IF_QS_2_IN_2_GA6(x1, x2, x3, x4, x5, x6)  =  IF_QS_2_IN_2_GA3(x1, x5, x6)
GEQ_2_IN_GG2(x1, x2)  =  GEQ_2_IN_GG2(x1, x2)
QS_2_IN_GA2(x1, x2)  =  QS_2_IN_GA1(x1)
IF_QS_2_IN_4_GA6(x1, x2, x3, x4, x5, x6)  =  IF_QS_2_IN_4_GA1(x6)
IF_LESS_2_IN_1_GG3(x1, x2, x3)  =  IF_LESS_2_IN_1_GG1(x3)
IF_SPLIT_4_IN_3_GGAA6(x1, x2, x3, x4, x5, x6)  =  IF_SPLIT_4_IN_3_GGAA4(x1, x2, x3, x6)
LESS_2_IN_GG2(x1, x2)  =  LESS_2_IN_GG2(x1, x2)
IF_SPLIT_4_IN_2_GGAA6(x1, x2, x3, x4, x5, x6)  =  IF_SPLIT_4_IN_2_GGAA2(x1, x6)

We have to consider all (P,R,Pi)-chains
The approximation of the Dependency Graph contains 5 SCCs with 11 less nodes.

↳ PROLOG
  ↳ PrologToPiTRSProof
    ↳ PiTRS
      ↳ DependencyPairsProof
        ↳ PiDP
          ↳ DependencyGraphProof
            ↳ AND
PiDP
                ↳ UsableRulesProof
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP

Pi DP problem:
The TRS P consists of the following rules:

APPEND_3_IN_GGA3(cons_22(X, L1), L2, cons_22(X, L3)) -> APPEND_3_IN_GGA3(L1, L2, L3)

The TRS R consists of the following rules:

qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
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_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)

The argument filtering Pi contains the following mapping:
qs_2_in_ga2(x1, x2)  =  qs_2_in_ga1(x1)
[]_0  =  []_0
cons_22(x1, x2)  =  cons_22(x1, x2)
0_0  =  0_0
s_11(x1)  =  s_11(x1)
qs_2_out_ga2(x1, x2)  =  qs_2_out_ga1(x2)
if_qs_2_in_1_ga4(x1, x2, x3, x4)  =  if_qs_2_in_1_ga2(x1, x4)
split_4_in_ggaa4(x1, x2, x3, x4)  =  split_4_in_ggaa2(x1, x2)
split_4_out_ggaa4(x1, x2, x3, x4)  =  split_4_out_ggaa2(x3, x4)
if_split_4_in_1_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_1_ggaa4(x1, x2, x3, x6)
less_2_in_gg2(x1, x2)  =  less_2_in_gg2(x1, x2)
less_2_out_gg2(x1, x2)  =  less_2_out_gg
if_less_2_in_1_gg3(x1, x2, x3)  =  if_less_2_in_1_gg1(x3)
if_split_4_in_2_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_2_ggaa2(x1, x6)
if_split_4_in_3_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_3_ggaa4(x1, x2, x3, x6)
geq_2_in_gg2(x1, x2)  =  geq_2_in_gg2(x1, x2)
geq_2_out_gg2(x1, x2)  =  geq_2_out_gg
if_geq_2_in_1_gg3(x1, x2, x3)  =  if_geq_2_in_1_gg1(x3)
if_split_4_in_4_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_4_ggaa2(x1, x6)
if_qs_2_in_2_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_2_ga3(x1, x5, x6)
if_qs_2_in_3_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_3_ga3(x1, x5, x6)
if_qs_2_in_4_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_4_ga1(x6)
append_3_in_gga3(x1, x2, x3)  =  append_3_in_gga2(x1, x2)
append_3_out_gga3(x1, x2, x3)  =  append_3_out_gga1(x3)
if_append_3_in_1_gga5(x1, x2, x3, x4, x5)  =  if_append_3_in_1_gga2(x1, x5)
APPEND_3_IN_GGA3(x1, x2, x3)  =  APPEND_3_IN_GGA2(x1, x2)

We have to consider all (P,R,Pi)-chains
For (infinitary) constructor rewriting we can delete all non-usable rules from R.

↳ PROLOG
  ↳ PrologToPiTRSProof
    ↳ PiTRS
      ↳ DependencyPairsProof
        ↳ PiDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ PiDP
                ↳ UsableRulesProof
PiDP
                    ↳ PiDPToQDPProof
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP

Pi DP problem:
The TRS P consists of the following rules:

APPEND_3_IN_GGA3(cons_22(X, L1), L2, cons_22(X, L3)) -> APPEND_3_IN_GGA3(L1, L2, L3)

R is empty.
The argument filtering Pi contains the following mapping:
cons_22(x1, x2)  =  cons_22(x1, x2)
APPEND_3_IN_GGA3(x1, x2, x3)  =  APPEND_3_IN_GGA2(x1, x2)

We have to consider all (P,R,Pi)-chains
Transforming (infinitary) constructor rewriting Pi-DP problem into ordinary QDP problem by application of Pi.

↳ PROLOG
  ↳ PrologToPiTRSProof
    ↳ PiTRS
      ↳ DependencyPairsProof
        ↳ PiDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ PiDP
                ↳ UsableRulesProof
                  ↳ PiDP
                    ↳ PiDPToQDPProof
QDP
                        ↳ QDPSizeChangeProof
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP

Q DP problem:
The TRS P consists of the following rules:

APPEND_3_IN_GGA2(cons_22(X, L1), L2) -> APPEND_3_IN_GGA2(L1, L2)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.
The head symbols of this DP problem are {APPEND_3_IN_GGA2}.
By using the subterm criterion together with the size-change analysis we have proven that there are no infinite chains for this DP problem.

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

Pi DP problem:
The TRS P consists of the following rules:

GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> GEQ_2_IN_GG2(X, Y)

The TRS R consists of the following rules:

qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
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_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)

The argument filtering Pi contains the following mapping:
qs_2_in_ga2(x1, x2)  =  qs_2_in_ga1(x1)
[]_0  =  []_0
cons_22(x1, x2)  =  cons_22(x1, x2)
0_0  =  0_0
s_11(x1)  =  s_11(x1)
qs_2_out_ga2(x1, x2)  =  qs_2_out_ga1(x2)
if_qs_2_in_1_ga4(x1, x2, x3, x4)  =  if_qs_2_in_1_ga2(x1, x4)
split_4_in_ggaa4(x1, x2, x3, x4)  =  split_4_in_ggaa2(x1, x2)
split_4_out_ggaa4(x1, x2, x3, x4)  =  split_4_out_ggaa2(x3, x4)
if_split_4_in_1_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_1_ggaa4(x1, x2, x3, x6)
less_2_in_gg2(x1, x2)  =  less_2_in_gg2(x1, x2)
less_2_out_gg2(x1, x2)  =  less_2_out_gg
if_less_2_in_1_gg3(x1, x2, x3)  =  if_less_2_in_1_gg1(x3)
if_split_4_in_2_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_2_ggaa2(x1, x6)
if_split_4_in_3_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_3_ggaa4(x1, x2, x3, x6)
geq_2_in_gg2(x1, x2)  =  geq_2_in_gg2(x1, x2)
geq_2_out_gg2(x1, x2)  =  geq_2_out_gg
if_geq_2_in_1_gg3(x1, x2, x3)  =  if_geq_2_in_1_gg1(x3)
if_split_4_in_4_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_4_ggaa2(x1, x6)
if_qs_2_in_2_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_2_ga3(x1, x5, x6)
if_qs_2_in_3_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_3_ga3(x1, x5, x6)
if_qs_2_in_4_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_4_ga1(x6)
append_3_in_gga3(x1, x2, x3)  =  append_3_in_gga2(x1, x2)
append_3_out_gga3(x1, x2, x3)  =  append_3_out_gga1(x3)
if_append_3_in_1_gga5(x1, x2, x3, x4, x5)  =  if_append_3_in_1_gga2(x1, x5)
GEQ_2_IN_GG2(x1, x2)  =  GEQ_2_IN_GG2(x1, x2)

We have to consider all (P,R,Pi)-chains
For (infinitary) constructor rewriting we can delete all non-usable rules from R.

↳ PROLOG
  ↳ PrologToPiTRSProof
    ↳ PiTRS
      ↳ DependencyPairsProof
        ↳ PiDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ PiDP
              ↳ PiDP
                ↳ UsableRulesProof
PiDP
                    ↳ PiDPToQDPProof
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP

Pi DP problem:
The TRS P consists of the following rules:

GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> GEQ_2_IN_GG2(X, Y)

R is empty.
Pi is empty.
We have to consider all (P,R,Pi)-chains
Transforming (infinitary) constructor rewriting Pi-DP problem into ordinary QDP problem by application of Pi.

↳ PROLOG
  ↳ PrologToPiTRSProof
    ↳ PiTRS
      ↳ DependencyPairsProof
        ↳ PiDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ PiDP
              ↳ PiDP
                ↳ UsableRulesProof
                  ↳ PiDP
                    ↳ PiDPToQDPProof
QDP
                        ↳ QDPSizeChangeProof
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP

Q DP problem:
The TRS P consists of the following rules:

GEQ_2_IN_GG2(s_11(X), s_11(Y)) -> GEQ_2_IN_GG2(X, Y)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.
The head symbols of this DP problem are {GEQ_2_IN_GG2}.
By using the subterm criterion together with the size-change analysis we have proven that there are no infinite chains for this DP problem.

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

Pi DP problem:
The TRS P consists of the following rules:

LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)

The TRS R consists of the following rules:

qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
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_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)

The argument filtering Pi contains the following mapping:
qs_2_in_ga2(x1, x2)  =  qs_2_in_ga1(x1)
[]_0  =  []_0
cons_22(x1, x2)  =  cons_22(x1, x2)
0_0  =  0_0
s_11(x1)  =  s_11(x1)
qs_2_out_ga2(x1, x2)  =  qs_2_out_ga1(x2)
if_qs_2_in_1_ga4(x1, x2, x3, x4)  =  if_qs_2_in_1_ga2(x1, x4)
split_4_in_ggaa4(x1, x2, x3, x4)  =  split_4_in_ggaa2(x1, x2)
split_4_out_ggaa4(x1, x2, x3, x4)  =  split_4_out_ggaa2(x3, x4)
if_split_4_in_1_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_1_ggaa4(x1, x2, x3, x6)
less_2_in_gg2(x1, x2)  =  less_2_in_gg2(x1, x2)
less_2_out_gg2(x1, x2)  =  less_2_out_gg
if_less_2_in_1_gg3(x1, x2, x3)  =  if_less_2_in_1_gg1(x3)
if_split_4_in_2_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_2_ggaa2(x1, x6)
if_split_4_in_3_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_3_ggaa4(x1, x2, x3, x6)
geq_2_in_gg2(x1, x2)  =  geq_2_in_gg2(x1, x2)
geq_2_out_gg2(x1, x2)  =  geq_2_out_gg
if_geq_2_in_1_gg3(x1, x2, x3)  =  if_geq_2_in_1_gg1(x3)
if_split_4_in_4_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_4_ggaa2(x1, x6)
if_qs_2_in_2_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_2_ga3(x1, x5, x6)
if_qs_2_in_3_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_3_ga3(x1, x5, x6)
if_qs_2_in_4_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_4_ga1(x6)
append_3_in_gga3(x1, x2, x3)  =  append_3_in_gga2(x1, x2)
append_3_out_gga3(x1, x2, x3)  =  append_3_out_gga1(x3)
if_append_3_in_1_gga5(x1, x2, x3, x4, x5)  =  if_append_3_in_1_gga2(x1, x5)
LESS_2_IN_GG2(x1, x2)  =  LESS_2_IN_GG2(x1, x2)

We have to consider all (P,R,Pi)-chains
For (infinitary) constructor rewriting we can delete all non-usable rules from R.

↳ PROLOG
  ↳ PrologToPiTRSProof
    ↳ PiTRS
      ↳ DependencyPairsProof
        ↳ PiDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
                ↳ UsableRulesProof
PiDP
                    ↳ PiDPToQDPProof
              ↳ PiDP
              ↳ PiDP

Pi DP problem:
The TRS P consists of the following rules:

LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)

R is empty.
Pi is empty.
We have to consider all (P,R,Pi)-chains
Transforming (infinitary) constructor rewriting Pi-DP problem into ordinary QDP problem by application of Pi.

↳ PROLOG
  ↳ PrologToPiTRSProof
    ↳ PiTRS
      ↳ DependencyPairsProof
        ↳ PiDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
                ↳ UsableRulesProof
                  ↳ PiDP
                    ↳ PiDPToQDPProof
QDP
                        ↳ QDPSizeChangeProof
              ↳ PiDP
              ↳ PiDP

Q DP problem:
The TRS P consists of the following rules:

LESS_2_IN_GG2(s_11(X), s_11(Y)) -> LESS_2_IN_GG2(X, Y)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.
The head symbols of this DP problem are {LESS_2_IN_GG2}.
By using the subterm criterion together with the size-change analysis we have proven that there are no infinite chains for this DP problem.

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

Pi DP problem:
The TRS P consists of the following rules:

SPLIT_4_IN_GGAA4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, cons_22(X, L1), L2) -> IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)

The TRS R consists of the following rules:

qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
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_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)

The argument filtering Pi contains the following mapping:
qs_2_in_ga2(x1, x2)  =  qs_2_in_ga1(x1)
[]_0  =  []_0
cons_22(x1, x2)  =  cons_22(x1, x2)
0_0  =  0_0
s_11(x1)  =  s_11(x1)
qs_2_out_ga2(x1, x2)  =  qs_2_out_ga1(x2)
if_qs_2_in_1_ga4(x1, x2, x3, x4)  =  if_qs_2_in_1_ga2(x1, x4)
split_4_in_ggaa4(x1, x2, x3, x4)  =  split_4_in_ggaa2(x1, x2)
split_4_out_ggaa4(x1, x2, x3, x4)  =  split_4_out_ggaa2(x3, x4)
if_split_4_in_1_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_1_ggaa4(x1, x2, x3, x6)
less_2_in_gg2(x1, x2)  =  less_2_in_gg2(x1, x2)
less_2_out_gg2(x1, x2)  =  less_2_out_gg
if_less_2_in_1_gg3(x1, x2, x3)  =  if_less_2_in_1_gg1(x3)
if_split_4_in_2_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_2_ggaa2(x1, x6)
if_split_4_in_3_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_3_ggaa4(x1, x2, x3, x6)
geq_2_in_gg2(x1, x2)  =  geq_2_in_gg2(x1, x2)
geq_2_out_gg2(x1, x2)  =  geq_2_out_gg
if_geq_2_in_1_gg3(x1, x2, x3)  =  if_geq_2_in_1_gg1(x3)
if_split_4_in_4_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_4_ggaa2(x1, x6)
if_qs_2_in_2_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_2_ga3(x1, x5, x6)
if_qs_2_in_3_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_3_ga3(x1, x5, x6)
if_qs_2_in_4_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_4_ga1(x6)
append_3_in_gga3(x1, x2, x3)  =  append_3_in_gga2(x1, x2)
append_3_out_gga3(x1, x2, x3)  =  append_3_out_gga1(x3)
if_append_3_in_1_gga5(x1, x2, x3, x4, x5)  =  if_append_3_in_1_gga2(x1, x5)
IF_SPLIT_4_IN_1_GGAA6(x1, x2, x3, x4, x5, x6)  =  IF_SPLIT_4_IN_1_GGAA4(x1, x2, x3, x6)
SPLIT_4_IN_GGAA4(x1, x2, x3, x4)  =  SPLIT_4_IN_GGAA2(x1, x2)
IF_SPLIT_4_IN_3_GGAA6(x1, x2, x3, x4, x5, x6)  =  IF_SPLIT_4_IN_3_GGAA4(x1, x2, x3, x6)

We have to consider all (P,R,Pi)-chains
For (infinitary) constructor rewriting we can delete all non-usable rules from R.

↳ PROLOG
  ↳ PrologToPiTRSProof
    ↳ PiTRS
      ↳ DependencyPairsProof
        ↳ PiDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
                ↳ UsableRulesProof
PiDP
                    ↳ PiDPToQDPProof
              ↳ PiDP

Pi DP problem:
The TRS P consists of the following rules:

SPLIT_4_IN_GGAA4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA4(cons_22(X, L), Y, cons_22(X, L1), L2) -> IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
IF_SPLIT_4_IN_3_GGAA6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)
IF_SPLIT_4_IN_1_GGAA6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> SPLIT_4_IN_GGAA4(L, Y, L1, L2)

The TRS R consists of the following rules:

geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
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_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(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))

The argument filtering Pi contains the following mapping:
cons_22(x1, x2)  =  cons_22(x1, x2)
0_0  =  0_0
s_11(x1)  =  s_11(x1)
less_2_in_gg2(x1, x2)  =  less_2_in_gg2(x1, x2)
less_2_out_gg2(x1, x2)  =  less_2_out_gg
if_less_2_in_1_gg3(x1, x2, x3)  =  if_less_2_in_1_gg1(x3)
geq_2_in_gg2(x1, x2)  =  geq_2_in_gg2(x1, x2)
geq_2_out_gg2(x1, x2)  =  geq_2_out_gg
if_geq_2_in_1_gg3(x1, x2, x3)  =  if_geq_2_in_1_gg1(x3)
IF_SPLIT_4_IN_1_GGAA6(x1, x2, x3, x4, x5, x6)  =  IF_SPLIT_4_IN_1_GGAA4(x1, x2, x3, x6)
SPLIT_4_IN_GGAA4(x1, x2, x3, x4)  =  SPLIT_4_IN_GGAA2(x1, x2)
IF_SPLIT_4_IN_3_GGAA6(x1, x2, x3, x4, x5, x6)  =  IF_SPLIT_4_IN_3_GGAA4(x1, x2, x3, x6)

We have to consider all (P,R,Pi)-chains
Transforming (infinitary) constructor rewriting Pi-DP problem into ordinary QDP problem by application of Pi.

↳ PROLOG
  ↳ PrologToPiTRSProof
    ↳ PiTRS
      ↳ DependencyPairsProof
        ↳ PiDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
                ↳ UsableRulesProof
                  ↳ PiDP
                    ↳ PiDPToQDPProof
QDP
                        ↳ QDPSizeChangeProof
              ↳ PiDP

Q DP problem:
The TRS P consists of the following rules:

SPLIT_4_IN_GGAA2(cons_22(X, L), Y) -> IF_SPLIT_4_IN_3_GGAA4(X, L, Y, geq_2_in_gg2(X, Y))
SPLIT_4_IN_GGAA2(cons_22(X, L), Y) -> IF_SPLIT_4_IN_1_GGAA4(X, L, Y, less_2_in_gg2(X, Y))
IF_SPLIT_4_IN_3_GGAA4(X, L, Y, geq_2_out_gg) -> SPLIT_4_IN_GGAA2(L, Y)
IF_SPLIT_4_IN_1_GGAA4(X, L, Y, less_2_out_gg) -> SPLIT_4_IN_GGAA2(L, Y)

The TRS R consists of the following rules:

geq_2_in_gg2(X, X) -> geq_2_out_gg
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg1(geq_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> 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_geq_2_in_1_gg1(geq_2_out_gg) -> geq_2_out_gg
if_less_2_in_1_gg1(less_2_out_gg) -> less_2_out_gg

The set Q consists of the following terms:

geq_2_in_gg2(x0, x1)
less_2_in_gg2(x0, x1)
if_geq_2_in_1_gg1(x0)
if_less_2_in_1_gg1(x0)

We have to consider all (P,Q,R)-chains.
The head symbols of this DP problem are {IF_SPLIT_4_IN_3_GGAA4, SPLIT_4_IN_GGAA2, IF_SPLIT_4_IN_1_GGAA4}.
By using the subterm criterion together with the size-change analysis we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ PROLOG
  ↳ PrologToPiTRSProof
    ↳ PiTRS
      ↳ DependencyPairsProof
        ↳ PiDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
PiDP
                ↳ PiDPToQDPProof

Pi DP problem:
The TRS P consists of the following rules:

IF_QS_2_IN_1_GA4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> QS_2_IN_GA2(L1, S1)
IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> QS_2_IN_GA2(L2, S2)
IF_QS_2_IN_1_GA4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> IF_QS_2_IN_2_GA6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
QS_2_IN_GA2(cons_22(X, L), S) -> IF_QS_2_IN_1_GA4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))

The TRS R consists of the following rules:

qs_2_in_ga2([]_0, []_0) -> qs_2_out_ga2([]_0, []_0)
qs_2_in_ga2(cons_22(X, L), S) -> if_qs_2_in_1_ga4(X, L, S, split_4_in_ggaa4(L, X, L1, L2))
split_4_in_ggaa4([]_0, X, []_0, []_0) -> split_4_out_ggaa4([]_0, X, []_0, []_0)
split_4_in_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2) -> if_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> less_2_out_gg2(0_0, s_11(X))
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_split_4_in_1_ggaa6(X, L, Y, L1, L2, less_2_out_gg2(X, Y)) -> if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
split_4_in_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2)) -> if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg2(X, X)
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg2(s_11(X), 0_0)
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg3(X, Y, geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg3(X, Y, geq_2_out_gg2(X, Y)) -> geq_2_out_gg2(s_11(X), s_11(Y))
if_split_4_in_3_ggaa6(X, L, Y, L1, L2, geq_2_out_gg2(X, Y)) -> if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_in_ggaa4(L, Y, L1, L2))
if_split_4_in_4_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, L1, cons_22(X, L2))
if_split_4_in_2_ggaa6(X, L, Y, L1, L2, split_4_out_ggaa4(L, Y, L1, L2)) -> split_4_out_ggaa4(cons_22(X, L), Y, cons_22(X, L1), L2)
if_qs_2_in_1_ga4(X, L, S, split_4_out_ggaa4(L, X, L1, L2)) -> if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_in_ga2(L1, S1))
if_qs_2_in_2_ga6(X, L, S, L1, L2, qs_2_out_ga2(L1, S1)) -> if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_in_ga2(L2, S2))
if_qs_2_in_3_ga6(X, L, S, L2, S1, qs_2_out_ga2(L2, S2)) -> if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_in_gga3(S1, cons_22(X, S2), S))
append_3_in_gga3([]_0, L, L) -> append_3_out_gga3([]_0, L, L)
append_3_in_gga3(cons_22(X, L1), L2, cons_22(X, L3)) -> if_append_3_in_1_gga5(X, L1, L2, L3, append_3_in_gga3(L1, L2, L3))
if_append_3_in_1_gga5(X, L1, L2, L3, append_3_out_gga3(L1, L2, L3)) -> append_3_out_gga3(cons_22(X, L1), L2, cons_22(X, L3))
if_qs_2_in_4_ga6(X, L, S, S1, S2, append_3_out_gga3(S1, cons_22(X, S2), S)) -> qs_2_out_ga2(cons_22(X, L), S)

The argument filtering Pi contains the following mapping:
qs_2_in_ga2(x1, x2)  =  qs_2_in_ga1(x1)
[]_0  =  []_0
cons_22(x1, x2)  =  cons_22(x1, x2)
0_0  =  0_0
s_11(x1)  =  s_11(x1)
qs_2_out_ga2(x1, x2)  =  qs_2_out_ga1(x2)
if_qs_2_in_1_ga4(x1, x2, x3, x4)  =  if_qs_2_in_1_ga2(x1, x4)
split_4_in_ggaa4(x1, x2, x3, x4)  =  split_4_in_ggaa2(x1, x2)
split_4_out_ggaa4(x1, x2, x3, x4)  =  split_4_out_ggaa2(x3, x4)
if_split_4_in_1_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_1_ggaa4(x1, x2, x3, x6)
less_2_in_gg2(x1, x2)  =  less_2_in_gg2(x1, x2)
less_2_out_gg2(x1, x2)  =  less_2_out_gg
if_less_2_in_1_gg3(x1, x2, x3)  =  if_less_2_in_1_gg1(x3)
if_split_4_in_2_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_2_ggaa2(x1, x6)
if_split_4_in_3_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_3_ggaa4(x1, x2, x3, x6)
geq_2_in_gg2(x1, x2)  =  geq_2_in_gg2(x1, x2)
geq_2_out_gg2(x1, x2)  =  geq_2_out_gg
if_geq_2_in_1_gg3(x1, x2, x3)  =  if_geq_2_in_1_gg1(x3)
if_split_4_in_4_ggaa6(x1, x2, x3, x4, x5, x6)  =  if_split_4_in_4_ggaa2(x1, x6)
if_qs_2_in_2_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_2_ga3(x1, x5, x6)
if_qs_2_in_3_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_3_ga3(x1, x5, x6)
if_qs_2_in_4_ga6(x1, x2, x3, x4, x5, x6)  =  if_qs_2_in_4_ga1(x6)
append_3_in_gga3(x1, x2, x3)  =  append_3_in_gga2(x1, x2)
append_3_out_gga3(x1, x2, x3)  =  append_3_out_gga1(x3)
if_append_3_in_1_gga5(x1, x2, x3, x4, x5)  =  if_append_3_in_1_gga2(x1, x5)
IF_QS_2_IN_1_GA4(x1, x2, x3, x4)  =  IF_QS_2_IN_1_GA2(x1, x4)
IF_QS_2_IN_2_GA6(x1, x2, x3, x4, x5, x6)  =  IF_QS_2_IN_2_GA3(x1, x5, x6)
QS_2_IN_GA2(x1, x2)  =  QS_2_IN_GA1(x1)

We have to consider all (P,R,Pi)-chains
Transforming (infinitary) constructor rewriting Pi-DP problem into ordinary QDP problem by application of Pi.

↳ PROLOG
  ↳ PrologToPiTRSProof
    ↳ PiTRS
      ↳ DependencyPairsProof
        ↳ PiDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
                ↳ PiDPToQDPProof
QDP
                    ↳ QDPPoloProof

Q DP problem:
The TRS P consists of the following rules:

IF_QS_2_IN_1_GA2(X, split_4_out_ggaa2(L1, L2)) -> QS_2_IN_GA1(L1)
IF_QS_2_IN_2_GA3(X, L2, qs_2_out_ga1(S1)) -> QS_2_IN_GA1(L2)
IF_QS_2_IN_1_GA2(X, split_4_out_ggaa2(L1, L2)) -> IF_QS_2_IN_2_GA3(X, L2, qs_2_in_ga1(L1))
QS_2_IN_GA1(cons_22(X, L)) -> IF_QS_2_IN_1_GA2(X, split_4_in_ggaa2(L, X))

The TRS R consists of the following rules:

qs_2_in_ga1([]_0) -> qs_2_out_ga1([]_0)
qs_2_in_ga1(cons_22(X, L)) -> if_qs_2_in_1_ga2(X, split_4_in_ggaa2(L, X))
split_4_in_ggaa2([]_0, X) -> split_4_out_ggaa2([]_0, []_0)
split_4_in_ggaa2(cons_22(X, L), Y) -> if_split_4_in_1_ggaa4(X, L, Y, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> 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
if_split_4_in_1_ggaa4(X, L, Y, less_2_out_gg) -> if_split_4_in_2_ggaa2(X, split_4_in_ggaa2(L, Y))
split_4_in_ggaa2(cons_22(X, L), Y) -> if_split_4_in_3_ggaa4(X, L, Y, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg1(geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg1(geq_2_out_gg) -> geq_2_out_gg
if_split_4_in_3_ggaa4(X, L, Y, geq_2_out_gg) -> if_split_4_in_4_ggaa2(X, split_4_in_ggaa2(L, Y))
if_split_4_in_4_ggaa2(X, split_4_out_ggaa2(L1, L2)) -> split_4_out_ggaa2(L1, cons_22(X, L2))
if_split_4_in_2_ggaa2(X, split_4_out_ggaa2(L1, L2)) -> split_4_out_ggaa2(cons_22(X, L1), L2)
if_qs_2_in_1_ga2(X, split_4_out_ggaa2(L1, L2)) -> if_qs_2_in_2_ga3(X, L2, qs_2_in_ga1(L1))
if_qs_2_in_2_ga3(X, L2, qs_2_out_ga1(S1)) -> if_qs_2_in_3_ga3(X, S1, qs_2_in_ga1(L2))
if_qs_2_in_3_ga3(X, S1, qs_2_out_ga1(S2)) -> if_qs_2_in_4_ga1(append_3_in_gga2(S1, cons_22(X, S2)))
append_3_in_gga2([]_0, L) -> append_3_out_gga1(L)
append_3_in_gga2(cons_22(X, L1), L2) -> if_append_3_in_1_gga2(X, append_3_in_gga2(L1, L2))
if_append_3_in_1_gga2(X, append_3_out_gga1(L3)) -> append_3_out_gga1(cons_22(X, L3))
if_qs_2_in_4_ga1(append_3_out_gga1(S)) -> qs_2_out_ga1(S)

The set Q consists of the following terms:

qs_2_in_ga1(x0)
split_4_in_ggaa2(x0, x1)
less_2_in_gg2(x0, x1)
if_less_2_in_1_gg1(x0)
if_split_4_in_1_ggaa4(x0, x1, x2, x3)
geq_2_in_gg2(x0, x1)
if_geq_2_in_1_gg1(x0)
if_split_4_in_3_ggaa4(x0, x1, x2, x3)
if_split_4_in_4_ggaa2(x0, x1)
if_split_4_in_2_ggaa2(x0, x1)
if_qs_2_in_1_ga2(x0, x1)
if_qs_2_in_2_ga3(x0, x1, x2)
if_qs_2_in_3_ga3(x0, x1, x2)
append_3_in_gga2(x0, x1)
if_append_3_in_1_gga2(x0, x1)
if_qs_2_in_4_ga1(x0)

We have to consider all (P,Q,R)-chains.
The head symbols of this DP problem are {QS_2_IN_GA1, IF_QS_2_IN_1_GA2, IF_QS_2_IN_2_GA3}.
By using a polynomial ordering, the following set of Dependency Pairs of this DP problem can be strictly oriented.

QS_2_IN_GA1(cons_22(X, L)) -> IF_QS_2_IN_1_GA2(X, split_4_in_ggaa2(L, X))
The remaining Dependency Pairs were at least non-strictly be oriented.

IF_QS_2_IN_1_GA2(X, split_4_out_ggaa2(L1, L2)) -> QS_2_IN_GA1(L1)
IF_QS_2_IN_2_GA3(X, L2, qs_2_out_ga1(S1)) -> QS_2_IN_GA1(L2)
IF_QS_2_IN_1_GA2(X, split_4_out_ggaa2(L1, L2)) -> IF_QS_2_IN_2_GA3(X, L2, qs_2_in_ga1(L1))
With the implicit AFS we had to orient the following set of usable rules non-strictly.

split_4_in_ggaa2(cons_22(X, L), Y) -> if_split_4_in_1_ggaa4(X, L, Y, less_2_in_gg2(X, Y))
if_split_4_in_4_ggaa2(X, split_4_out_ggaa2(L1, L2)) -> split_4_out_ggaa2(L1, cons_22(X, L2))
split_4_in_ggaa2([]_0, X) -> split_4_out_ggaa2([]_0, []_0)
if_split_4_in_1_ggaa4(X, L, Y, less_2_out_gg) -> if_split_4_in_2_ggaa2(X, split_4_in_ggaa2(L, Y))
if_split_4_in_2_ggaa2(X, split_4_out_ggaa2(L1, L2)) -> split_4_out_ggaa2(cons_22(X, L1), L2)
if_split_4_in_3_ggaa4(X, L, Y, geq_2_out_gg) -> if_split_4_in_4_ggaa2(X, split_4_in_ggaa2(L, Y))
split_4_in_ggaa2(cons_22(X, L), Y) -> if_split_4_in_3_ggaa4(X, L, Y, geq_2_in_gg2(X, Y))
Used ordering: POLO with Polynomial interpretation:

POL(if_qs_2_in_4_ga1(x1)) = 0   
POL(less_2_out_gg) = 0   
POL(0_0) = 0   
POL(IF_QS_2_IN_1_GA2(x1, x2)) = x2   
POL(split_4_in_ggaa2(x1, x2)) = x1   
POL(geq_2_out_gg) = 0   
POL(if_append_3_in_1_gga2(x1, x2)) = 0   
POL(if_qs_2_in_1_ga2(x1, x2)) = 0   
POL(if_qs_2_in_2_ga3(x1, x2, x3)) = 0   
POL(IF_QS_2_IN_2_GA3(x1, x2, x3)) = x2   
POL(QS_2_IN_GA1(x1)) = x1   
POL(if_qs_2_in_3_ga3(x1, x2, x3)) = 0   
POL(cons_22(x1, x2)) = 1 + x2   
POL(append_3_in_gga2(x1, x2)) = 0   
POL(if_split_4_in_1_ggaa4(x1, x2, x3, x4)) = 1 + x2   
POL(append_3_out_gga1(x1)) = 0   
POL(qs_2_in_ga1(x1)) = 0   
POL(qs_2_out_ga1(x1)) = 0   
POL([]_0) = 0   
POL(split_4_out_ggaa2(x1, x2)) = x1 + x2   
POL(if_split_4_in_2_ggaa2(x1, x2)) = 1 + x2   
POL(if_geq_2_in_1_gg1(x1)) = 0   
POL(geq_2_in_gg2(x1, x2)) = 0   
POL(if_less_2_in_1_gg1(x1)) = 0   
POL(s_11(x1)) = 0   
POL(if_split_4_in_4_ggaa2(x1, x2)) = 1 + x2   
POL(if_split_4_in_3_ggaa4(x1, x2, x3, x4)) = 1 + x2   
POL(less_2_in_gg2(x1, x2)) = 0   



↳ PROLOG
  ↳ PrologToPiTRSProof
    ↳ PiTRS
      ↳ DependencyPairsProof
        ↳ PiDP
          ↳ DependencyGraphProof
            ↳ AND
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
              ↳ PiDP
                ↳ PiDPToQDPProof
                  ↳ QDP
                    ↳ QDPPoloProof
QDP
                        ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

IF_QS_2_IN_1_GA2(X, split_4_out_ggaa2(L1, L2)) -> QS_2_IN_GA1(L1)
IF_QS_2_IN_2_GA3(X, L2, qs_2_out_ga1(S1)) -> QS_2_IN_GA1(L2)
IF_QS_2_IN_1_GA2(X, split_4_out_ggaa2(L1, L2)) -> IF_QS_2_IN_2_GA3(X, L2, qs_2_in_ga1(L1))

The TRS R consists of the following rules:

qs_2_in_ga1([]_0) -> qs_2_out_ga1([]_0)
qs_2_in_ga1(cons_22(X, L)) -> if_qs_2_in_1_ga2(X, split_4_in_ggaa2(L, X))
split_4_in_ggaa2([]_0, X) -> split_4_out_ggaa2([]_0, []_0)
split_4_in_ggaa2(cons_22(X, L), Y) -> if_split_4_in_1_ggaa4(X, L, Y, less_2_in_gg2(X, Y))
less_2_in_gg2(0_0, s_11(X)) -> 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
if_split_4_in_1_ggaa4(X, L, Y, less_2_out_gg) -> if_split_4_in_2_ggaa2(X, split_4_in_ggaa2(L, Y))
split_4_in_ggaa2(cons_22(X, L), Y) -> if_split_4_in_3_ggaa4(X, L, Y, geq_2_in_gg2(X, Y))
geq_2_in_gg2(X, X) -> geq_2_out_gg
geq_2_in_gg2(s_11(X), 0_0) -> geq_2_out_gg
geq_2_in_gg2(s_11(X), s_11(Y)) -> if_geq_2_in_1_gg1(geq_2_in_gg2(X, Y))
if_geq_2_in_1_gg1(geq_2_out_gg) -> geq_2_out_gg
if_split_4_in_3_ggaa4(X, L, Y, geq_2_out_gg) -> if_split_4_in_4_ggaa2(X, split_4_in_ggaa2(L, Y))
if_split_4_in_4_ggaa2(X, split_4_out_ggaa2(L1, L2)) -> split_4_out_ggaa2(L1, cons_22(X, L2))
if_split_4_in_2_ggaa2(X, split_4_out_ggaa2(L1, L2)) -> split_4_out_ggaa2(cons_22(X, L1), L2)
if_qs_2_in_1_ga2(X, split_4_out_ggaa2(L1, L2)) -> if_qs_2_in_2_ga3(X, L2, qs_2_in_ga1(L1))
if_qs_2_in_2_ga3(X, L2, qs_2_out_ga1(S1)) -> if_qs_2_in_3_ga3(X, S1, qs_2_in_ga1(L2))
if_qs_2_in_3_ga3(X, S1, qs_2_out_ga1(S2)) -> if_qs_2_in_4_ga1(append_3_in_gga2(S1, cons_22(X, S2)))
append_3_in_gga2([]_0, L) -> append_3_out_gga1(L)
append_3_in_gga2(cons_22(X, L1), L2) -> if_append_3_in_1_gga2(X, append_3_in_gga2(L1, L2))
if_append_3_in_1_gga2(X, append_3_out_gga1(L3)) -> append_3_out_gga1(cons_22(X, L3))
if_qs_2_in_4_ga1(append_3_out_gga1(S)) -> qs_2_out_ga1(S)

The set Q consists of the following terms:

qs_2_in_ga1(x0)
split_4_in_ggaa2(x0, x1)
less_2_in_gg2(x0, x1)
if_less_2_in_1_gg1(x0)
if_split_4_in_1_ggaa4(x0, x1, x2, x3)
geq_2_in_gg2(x0, x1)
if_geq_2_in_1_gg1(x0)
if_split_4_in_3_ggaa4(x0, x1, x2, x3)
if_split_4_in_4_ggaa2(x0, x1)
if_split_4_in_2_ggaa2(x0, x1)
if_qs_2_in_1_ga2(x0, x1)
if_qs_2_in_2_ga3(x0, x1, x2)
if_qs_2_in_3_ga3(x0, x1, x2)
append_3_in_gga2(x0, x1)
if_append_3_in_1_gga2(x0, x1)
if_qs_2_in_4_ga1(x0)

We have to consider all (P,Q,R)-chains.
The head symbols of this DP problem are {QS_2_IN_GA1, IF_QS_2_IN_1_GA2, IF_QS_2_IN_2_GA3}.
The approximation of the Dependency Graph contains 0 SCCs with 3 less nodes.