(0) Obligation:

Clauses:

goal(X) :- ','(s2l(X, Xs), conf(Xs)).
conf(X) :- ','(del2(X, Z), ','(del(U, Y, Z), conf(Y))).
del2(X, Y) :- ','(del(U, X, Z), del(V, Z, Y)).
del(X1, [], X2) :- ','(!, failure(a)).
del(H, X, T) :- ','(head(X, H), tail(X, T)).
del(X, Y, .(H, T2)) :- ','(head(Y, H), ','(tail(Y, T1), del(X, T1, T2))).
s2l(0, L) :- ','(!, eq(L, [])).
s2l(X, .(X3, Xs)) :- ','(p(X, P), s2l(P, Xs)).
head([], X4).
head(.(H, X5), H).
tail([], []).
tail(.(X6, Xs), Xs).
p(0, 0).
p(s(X), X).
failure(b).
eq(X, X).

Queries:

goal(g).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

s2l4(0, []).
s2l4(s(T7), .(X23, X24)) :- s2l4(T7, X24).
del25(X59, [], []).
del25(T21, .(T21, T22), T22).
del25(T27, .(T27, T28), T28).
del25(X87, .(T35, T37), .(T35, X89)) :- del25(X87, T37, X89).
del25(X87, .(T42, T44), .(T42, X89)) :- del25(X87, T44, X89).
conf5(T9) :- del220(T9, X29).
del220(T12, X39) :- del25(X36, T12, X37).
del220(T12, []) :- del25(T13, T12, []).
del220(T12, T22) :- del25(T13, T12, .(T21, T22)).
del220(T12, T28) :- del25(T13, T12, .(T27, T28)).
del220(T12, .(T35, X89)) :- ','(del25(T13, T12, .(T35, T37)), del25(X87, T37, X89)).
del220(T12, .(T42, X89)) :- ','(del25(T13, T12, .(T42, T44)), del25(X87, T44, X89)).
goal1(T4) :- s2l4(T4, X9).
goal1(T4) :- ','(s2l4(T4, T9), del220(T9, X29)).

Queries:

goal1(g).

(3) PrologToPiTRSProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
goal1_in: (b)
s2l4_in: (b,f)
del220_in: (b,f)
del25_in: (f,b,f) (f,b,b)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

goal1_in_g(T4) → U13_g(T4, s2l4_in_ga(T4, X9))
s2l4_in_ga(0, []) → s2l4_out_ga(0, [])
s2l4_in_ga(s(T7), .(X23, X24)) → U1_ga(T7, X23, X24, s2l4_in_ga(T7, X24))
U1_ga(T7, X23, X24, s2l4_out_ga(T7, X24)) → s2l4_out_ga(s(T7), .(X23, X24))
U13_g(T4, s2l4_out_ga(T4, X9)) → goal1_out_g(T4)
goal1_in_g(T4) → U14_g(T4, s2l4_in_ga(T4, T9))
U14_g(T4, s2l4_out_ga(T4, T9)) → U15_g(T4, del220_in_ga(T9, X29))
del220_in_ga(T12, X39) → U5_ga(T12, X39, del25_in_aga(X36, T12, X37))
del25_in_aga(X59, [], []) → del25_out_aga(X59, [], [])
del25_in_aga(T21, .(T21, T22), T22) → del25_out_aga(T21, .(T21, T22), T22)
del25_in_aga(X87, .(T35, T37), .(T35, X89)) → U2_aga(X87, T35, T37, X89, del25_in_aga(X87, T37, X89))
del25_in_aga(X87, .(T42, T44), .(T42, X89)) → U3_aga(X87, T42, T44, X89, del25_in_aga(X87, T44, X89))
U3_aga(X87, T42, T44, X89, del25_out_aga(X87, T44, X89)) → del25_out_aga(X87, .(T42, T44), .(T42, X89))
U2_aga(X87, T35, T37, X89, del25_out_aga(X87, T37, X89)) → del25_out_aga(X87, .(T35, T37), .(T35, X89))
U5_ga(T12, X39, del25_out_aga(X36, T12, X37)) → del220_out_ga(T12, X39)
del220_in_ga(T12, []) → U6_ga(T12, del25_in_agg(T13, T12, []))
del25_in_agg(X59, [], []) → del25_out_agg(X59, [], [])
del25_in_agg(T21, .(T21, T22), T22) → del25_out_agg(T21, .(T21, T22), T22)
del25_in_agg(X87, .(T35, T37), .(T35, X89)) → U2_agg(X87, T35, T37, X89, del25_in_agg(X87, T37, X89))
del25_in_agg(X87, .(T42, T44), .(T42, X89)) → U3_agg(X87, T42, T44, X89, del25_in_agg(X87, T44, X89))
U3_agg(X87, T42, T44, X89, del25_out_agg(X87, T44, X89)) → del25_out_agg(X87, .(T42, T44), .(T42, X89))
U2_agg(X87, T35, T37, X89, del25_out_agg(X87, T37, X89)) → del25_out_agg(X87, .(T35, T37), .(T35, X89))
U6_ga(T12, del25_out_agg(T13, T12, [])) → del220_out_ga(T12, [])
del220_in_ga(T12, T22) → U7_ga(T12, T22, del25_in_aga(T13, T12, .(T21, T22)))
U7_ga(T12, T22, del25_out_aga(T13, T12, .(T21, T22))) → del220_out_ga(T12, T22)
del220_in_ga(T12, T28) → U8_ga(T12, T28, del25_in_aga(T13, T12, .(T27, T28)))
U8_ga(T12, T28, del25_out_aga(T13, T12, .(T27, T28))) → del220_out_ga(T12, T28)
del220_in_ga(T12, .(T35, X89)) → U9_ga(T12, T35, X89, del25_in_aga(T13, T12, .(T35, T37)))
U9_ga(T12, T35, X89, del25_out_aga(T13, T12, .(T35, T37))) → U10_ga(T12, T35, X89, del25_in_aga(X87, T37, X89))
U10_ga(T12, T35, X89, del25_out_aga(X87, T37, X89)) → del220_out_ga(T12, .(T35, X89))
del220_in_ga(T12, .(T42, X89)) → U11_ga(T12, T42, X89, del25_in_aga(T13, T12, .(T42, T44)))
U11_ga(T12, T42, X89, del25_out_aga(T13, T12, .(T42, T44))) → U12_ga(T12, T42, X89, del25_in_aga(X87, T44, X89))
U12_ga(T12, T42, X89, del25_out_aga(X87, T44, X89)) → del220_out_ga(T12, .(T42, X89))
U15_g(T4, del220_out_ga(T9, X29)) → goal1_out_g(T4)

The argument filtering Pi contains the following mapping:
goal1_in_g(x1)  =  goal1_in_g(x1)
U13_g(x1, x2)  =  U13_g(x2)
s2l4_in_ga(x1, x2)  =  s2l4_in_ga(x1)
0  =  0
s2l4_out_ga(x1, x2)  =  s2l4_out_ga(x2)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3, x4)  =  U1_ga(x4)
.(x1, x2)  =  .(x2)
goal1_out_g(x1)  =  goal1_out_g
U14_g(x1, x2)  =  U14_g(x2)
U15_g(x1, x2)  =  U15_g(x2)
del220_in_ga(x1, x2)  =  del220_in_ga(x1)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
del25_in_aga(x1, x2, x3)  =  del25_in_aga(x2)
[]  =  []
del25_out_aga(x1, x2, x3)  =  del25_out_aga(x3)
U2_aga(x1, x2, x3, x4, x5)  =  U2_aga(x5)
U3_aga(x1, x2, x3, x4, x5)  =  U3_aga(x5)
del220_out_ga(x1, x2)  =  del220_out_ga
U6_ga(x1, x2)  =  U6_ga(x2)
del25_in_agg(x1, x2, x3)  =  del25_in_agg(x2, x3)
del25_out_agg(x1, x2, x3)  =  del25_out_agg
U2_agg(x1, x2, x3, x4, x5)  =  U2_agg(x5)
U3_agg(x1, x2, x3, x4, x5)  =  U3_agg(x5)
U7_ga(x1, x2, x3)  =  U7_ga(x3)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
U9_ga(x1, x2, x3, x4)  =  U9_ga(x4)
U10_ga(x1, x2, x3, x4)  =  U10_ga(x4)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x4)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(4) Obligation:

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

goal1_in_g(T4) → U13_g(T4, s2l4_in_ga(T4, X9))
s2l4_in_ga(0, []) → s2l4_out_ga(0, [])
s2l4_in_ga(s(T7), .(X23, X24)) → U1_ga(T7, X23, X24, s2l4_in_ga(T7, X24))
U1_ga(T7, X23, X24, s2l4_out_ga(T7, X24)) → s2l4_out_ga(s(T7), .(X23, X24))
U13_g(T4, s2l4_out_ga(T4, X9)) → goal1_out_g(T4)
goal1_in_g(T4) → U14_g(T4, s2l4_in_ga(T4, T9))
U14_g(T4, s2l4_out_ga(T4, T9)) → U15_g(T4, del220_in_ga(T9, X29))
del220_in_ga(T12, X39) → U5_ga(T12, X39, del25_in_aga(X36, T12, X37))
del25_in_aga(X59, [], []) → del25_out_aga(X59, [], [])
del25_in_aga(T21, .(T21, T22), T22) → del25_out_aga(T21, .(T21, T22), T22)
del25_in_aga(X87, .(T35, T37), .(T35, X89)) → U2_aga(X87, T35, T37, X89, del25_in_aga(X87, T37, X89))
del25_in_aga(X87, .(T42, T44), .(T42, X89)) → U3_aga(X87, T42, T44, X89, del25_in_aga(X87, T44, X89))
U3_aga(X87, T42, T44, X89, del25_out_aga(X87, T44, X89)) → del25_out_aga(X87, .(T42, T44), .(T42, X89))
U2_aga(X87, T35, T37, X89, del25_out_aga(X87, T37, X89)) → del25_out_aga(X87, .(T35, T37), .(T35, X89))
U5_ga(T12, X39, del25_out_aga(X36, T12, X37)) → del220_out_ga(T12, X39)
del220_in_ga(T12, []) → U6_ga(T12, del25_in_agg(T13, T12, []))
del25_in_agg(X59, [], []) → del25_out_agg(X59, [], [])
del25_in_agg(T21, .(T21, T22), T22) → del25_out_agg(T21, .(T21, T22), T22)
del25_in_agg(X87, .(T35, T37), .(T35, X89)) → U2_agg(X87, T35, T37, X89, del25_in_agg(X87, T37, X89))
del25_in_agg(X87, .(T42, T44), .(T42, X89)) → U3_agg(X87, T42, T44, X89, del25_in_agg(X87, T44, X89))
U3_agg(X87, T42, T44, X89, del25_out_agg(X87, T44, X89)) → del25_out_agg(X87, .(T42, T44), .(T42, X89))
U2_agg(X87, T35, T37, X89, del25_out_agg(X87, T37, X89)) → del25_out_agg(X87, .(T35, T37), .(T35, X89))
U6_ga(T12, del25_out_agg(T13, T12, [])) → del220_out_ga(T12, [])
del220_in_ga(T12, T22) → U7_ga(T12, T22, del25_in_aga(T13, T12, .(T21, T22)))
U7_ga(T12, T22, del25_out_aga(T13, T12, .(T21, T22))) → del220_out_ga(T12, T22)
del220_in_ga(T12, T28) → U8_ga(T12, T28, del25_in_aga(T13, T12, .(T27, T28)))
U8_ga(T12, T28, del25_out_aga(T13, T12, .(T27, T28))) → del220_out_ga(T12, T28)
del220_in_ga(T12, .(T35, X89)) → U9_ga(T12, T35, X89, del25_in_aga(T13, T12, .(T35, T37)))
U9_ga(T12, T35, X89, del25_out_aga(T13, T12, .(T35, T37))) → U10_ga(T12, T35, X89, del25_in_aga(X87, T37, X89))
U10_ga(T12, T35, X89, del25_out_aga(X87, T37, X89)) → del220_out_ga(T12, .(T35, X89))
del220_in_ga(T12, .(T42, X89)) → U11_ga(T12, T42, X89, del25_in_aga(T13, T12, .(T42, T44)))
U11_ga(T12, T42, X89, del25_out_aga(T13, T12, .(T42, T44))) → U12_ga(T12, T42, X89, del25_in_aga(X87, T44, X89))
U12_ga(T12, T42, X89, del25_out_aga(X87, T44, X89)) → del220_out_ga(T12, .(T42, X89))
U15_g(T4, del220_out_ga(T9, X29)) → goal1_out_g(T4)

The argument filtering Pi contains the following mapping:
goal1_in_g(x1)  =  goal1_in_g(x1)
U13_g(x1, x2)  =  U13_g(x2)
s2l4_in_ga(x1, x2)  =  s2l4_in_ga(x1)
0  =  0
s2l4_out_ga(x1, x2)  =  s2l4_out_ga(x2)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3, x4)  =  U1_ga(x4)
.(x1, x2)  =  .(x2)
goal1_out_g(x1)  =  goal1_out_g
U14_g(x1, x2)  =  U14_g(x2)
U15_g(x1, x2)  =  U15_g(x2)
del220_in_ga(x1, x2)  =  del220_in_ga(x1)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
del25_in_aga(x1, x2, x3)  =  del25_in_aga(x2)
[]  =  []
del25_out_aga(x1, x2, x3)  =  del25_out_aga(x3)
U2_aga(x1, x2, x3, x4, x5)  =  U2_aga(x5)
U3_aga(x1, x2, x3, x4, x5)  =  U3_aga(x5)
del220_out_ga(x1, x2)  =  del220_out_ga
U6_ga(x1, x2)  =  U6_ga(x2)
del25_in_agg(x1, x2, x3)  =  del25_in_agg(x2, x3)
del25_out_agg(x1, x2, x3)  =  del25_out_agg
U2_agg(x1, x2, x3, x4, x5)  =  U2_agg(x5)
U3_agg(x1, x2, x3, x4, x5)  =  U3_agg(x5)
U7_ga(x1, x2, x3)  =  U7_ga(x3)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
U9_ga(x1, x2, x3, x4)  =  U9_ga(x4)
U10_ga(x1, x2, x3, x4)  =  U10_ga(x4)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x4)

(5) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:

GOAL1_IN_G(T4) → U13_G(T4, s2l4_in_ga(T4, X9))
GOAL1_IN_G(T4) → S2L4_IN_GA(T4, X9)
S2L4_IN_GA(s(T7), .(X23, X24)) → U1_GA(T7, X23, X24, s2l4_in_ga(T7, X24))
S2L4_IN_GA(s(T7), .(X23, X24)) → S2L4_IN_GA(T7, X24)
GOAL1_IN_G(T4) → U14_G(T4, s2l4_in_ga(T4, T9))
U14_G(T4, s2l4_out_ga(T4, T9)) → U15_G(T4, del220_in_ga(T9, X29))
U14_G(T4, s2l4_out_ga(T4, T9)) → DEL220_IN_GA(T9, X29)
DEL220_IN_GA(T12, X39) → U5_GA(T12, X39, del25_in_aga(X36, T12, X37))
DEL220_IN_GA(T12, X39) → DEL25_IN_AGA(X36, T12, X37)
DEL25_IN_AGA(X87, .(T35, T37), .(T35, X89)) → U2_AGA(X87, T35, T37, X89, del25_in_aga(X87, T37, X89))
DEL25_IN_AGA(X87, .(T35, T37), .(T35, X89)) → DEL25_IN_AGA(X87, T37, X89)
DEL25_IN_AGA(X87, .(T42, T44), .(T42, X89)) → U3_AGA(X87, T42, T44, X89, del25_in_aga(X87, T44, X89))
DEL220_IN_GA(T12, []) → U6_GA(T12, del25_in_agg(T13, T12, []))
DEL220_IN_GA(T12, []) → DEL25_IN_AGG(T13, T12, [])
DEL25_IN_AGG(X87, .(T35, T37), .(T35, X89)) → U2_AGG(X87, T35, T37, X89, del25_in_agg(X87, T37, X89))
DEL25_IN_AGG(X87, .(T35, T37), .(T35, X89)) → DEL25_IN_AGG(X87, T37, X89)
DEL25_IN_AGG(X87, .(T42, T44), .(T42, X89)) → U3_AGG(X87, T42, T44, X89, del25_in_agg(X87, T44, X89))
DEL220_IN_GA(T12, T22) → U7_GA(T12, T22, del25_in_aga(T13, T12, .(T21, T22)))
DEL220_IN_GA(T12, T22) → DEL25_IN_AGA(T13, T12, .(T21, T22))
DEL220_IN_GA(T12, T28) → U8_GA(T12, T28, del25_in_aga(T13, T12, .(T27, T28)))
DEL220_IN_GA(T12, .(T35, X89)) → U9_GA(T12, T35, X89, del25_in_aga(T13, T12, .(T35, T37)))
DEL220_IN_GA(T12, .(T35, X89)) → DEL25_IN_AGA(T13, T12, .(T35, T37))
U9_GA(T12, T35, X89, del25_out_aga(T13, T12, .(T35, T37))) → U10_GA(T12, T35, X89, del25_in_aga(X87, T37, X89))
U9_GA(T12, T35, X89, del25_out_aga(T13, T12, .(T35, T37))) → DEL25_IN_AGA(X87, T37, X89)
DEL220_IN_GA(T12, .(T42, X89)) → U11_GA(T12, T42, X89, del25_in_aga(T13, T12, .(T42, T44)))
U11_GA(T12, T42, X89, del25_out_aga(T13, T12, .(T42, T44))) → U12_GA(T12, T42, X89, del25_in_aga(X87, T44, X89))
U11_GA(T12, T42, X89, del25_out_aga(T13, T12, .(T42, T44))) → DEL25_IN_AGA(X87, T44, X89)

The TRS R consists of the following rules:

goal1_in_g(T4) → U13_g(T4, s2l4_in_ga(T4, X9))
s2l4_in_ga(0, []) → s2l4_out_ga(0, [])
s2l4_in_ga(s(T7), .(X23, X24)) → U1_ga(T7, X23, X24, s2l4_in_ga(T7, X24))
U1_ga(T7, X23, X24, s2l4_out_ga(T7, X24)) → s2l4_out_ga(s(T7), .(X23, X24))
U13_g(T4, s2l4_out_ga(T4, X9)) → goal1_out_g(T4)
goal1_in_g(T4) → U14_g(T4, s2l4_in_ga(T4, T9))
U14_g(T4, s2l4_out_ga(T4, T9)) → U15_g(T4, del220_in_ga(T9, X29))
del220_in_ga(T12, X39) → U5_ga(T12, X39, del25_in_aga(X36, T12, X37))
del25_in_aga(X59, [], []) → del25_out_aga(X59, [], [])
del25_in_aga(T21, .(T21, T22), T22) → del25_out_aga(T21, .(T21, T22), T22)
del25_in_aga(X87, .(T35, T37), .(T35, X89)) → U2_aga(X87, T35, T37, X89, del25_in_aga(X87, T37, X89))
del25_in_aga(X87, .(T42, T44), .(T42, X89)) → U3_aga(X87, T42, T44, X89, del25_in_aga(X87, T44, X89))
U3_aga(X87, T42, T44, X89, del25_out_aga(X87, T44, X89)) → del25_out_aga(X87, .(T42, T44), .(T42, X89))
U2_aga(X87, T35, T37, X89, del25_out_aga(X87, T37, X89)) → del25_out_aga(X87, .(T35, T37), .(T35, X89))
U5_ga(T12, X39, del25_out_aga(X36, T12, X37)) → del220_out_ga(T12, X39)
del220_in_ga(T12, []) → U6_ga(T12, del25_in_agg(T13, T12, []))
del25_in_agg(X59, [], []) → del25_out_agg(X59, [], [])
del25_in_agg(T21, .(T21, T22), T22) → del25_out_agg(T21, .(T21, T22), T22)
del25_in_agg(X87, .(T35, T37), .(T35, X89)) → U2_agg(X87, T35, T37, X89, del25_in_agg(X87, T37, X89))
del25_in_agg(X87, .(T42, T44), .(T42, X89)) → U3_agg(X87, T42, T44, X89, del25_in_agg(X87, T44, X89))
U3_agg(X87, T42, T44, X89, del25_out_agg(X87, T44, X89)) → del25_out_agg(X87, .(T42, T44), .(T42, X89))
U2_agg(X87, T35, T37, X89, del25_out_agg(X87, T37, X89)) → del25_out_agg(X87, .(T35, T37), .(T35, X89))
U6_ga(T12, del25_out_agg(T13, T12, [])) → del220_out_ga(T12, [])
del220_in_ga(T12, T22) → U7_ga(T12, T22, del25_in_aga(T13, T12, .(T21, T22)))
U7_ga(T12, T22, del25_out_aga(T13, T12, .(T21, T22))) → del220_out_ga(T12, T22)
del220_in_ga(T12, T28) → U8_ga(T12, T28, del25_in_aga(T13, T12, .(T27, T28)))
U8_ga(T12, T28, del25_out_aga(T13, T12, .(T27, T28))) → del220_out_ga(T12, T28)
del220_in_ga(T12, .(T35, X89)) → U9_ga(T12, T35, X89, del25_in_aga(T13, T12, .(T35, T37)))
U9_ga(T12, T35, X89, del25_out_aga(T13, T12, .(T35, T37))) → U10_ga(T12, T35, X89, del25_in_aga(X87, T37, X89))
U10_ga(T12, T35, X89, del25_out_aga(X87, T37, X89)) → del220_out_ga(T12, .(T35, X89))
del220_in_ga(T12, .(T42, X89)) → U11_ga(T12, T42, X89, del25_in_aga(T13, T12, .(T42, T44)))
U11_ga(T12, T42, X89, del25_out_aga(T13, T12, .(T42, T44))) → U12_ga(T12, T42, X89, del25_in_aga(X87, T44, X89))
U12_ga(T12, T42, X89, del25_out_aga(X87, T44, X89)) → del220_out_ga(T12, .(T42, X89))
U15_g(T4, del220_out_ga(T9, X29)) → goal1_out_g(T4)

The argument filtering Pi contains the following mapping:
goal1_in_g(x1)  =  goal1_in_g(x1)
U13_g(x1, x2)  =  U13_g(x2)
s2l4_in_ga(x1, x2)  =  s2l4_in_ga(x1)
0  =  0
s2l4_out_ga(x1, x2)  =  s2l4_out_ga(x2)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3, x4)  =  U1_ga(x4)
.(x1, x2)  =  .(x2)
goal1_out_g(x1)  =  goal1_out_g
U14_g(x1, x2)  =  U14_g(x2)
U15_g(x1, x2)  =  U15_g(x2)
del220_in_ga(x1, x2)  =  del220_in_ga(x1)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
del25_in_aga(x1, x2, x3)  =  del25_in_aga(x2)
[]  =  []
del25_out_aga(x1, x2, x3)  =  del25_out_aga(x3)
U2_aga(x1, x2, x3, x4, x5)  =  U2_aga(x5)
U3_aga(x1, x2, x3, x4, x5)  =  U3_aga(x5)
del220_out_ga(x1, x2)  =  del220_out_ga
U6_ga(x1, x2)  =  U6_ga(x2)
del25_in_agg(x1, x2, x3)  =  del25_in_agg(x2, x3)
del25_out_agg(x1, x2, x3)  =  del25_out_agg
U2_agg(x1, x2, x3, x4, x5)  =  U2_agg(x5)
U3_agg(x1, x2, x3, x4, x5)  =  U3_agg(x5)
U7_ga(x1, x2, x3)  =  U7_ga(x3)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
U9_ga(x1, x2, x3, x4)  =  U9_ga(x4)
U10_ga(x1, x2, x3, x4)  =  U10_ga(x4)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x4)
GOAL1_IN_G(x1)  =  GOAL1_IN_G(x1)
U13_G(x1, x2)  =  U13_G(x2)
S2L4_IN_GA(x1, x2)  =  S2L4_IN_GA(x1)
U1_GA(x1, x2, x3, x4)  =  U1_GA(x4)
U14_G(x1, x2)  =  U14_G(x2)
U15_G(x1, x2)  =  U15_G(x2)
DEL220_IN_GA(x1, x2)  =  DEL220_IN_GA(x1)
U5_GA(x1, x2, x3)  =  U5_GA(x3)
DEL25_IN_AGA(x1, x2, x3)  =  DEL25_IN_AGA(x2)
U2_AGA(x1, x2, x3, x4, x5)  =  U2_AGA(x5)
U3_AGA(x1, x2, x3, x4, x5)  =  U3_AGA(x5)
U6_GA(x1, x2)  =  U6_GA(x2)
DEL25_IN_AGG(x1, x2, x3)  =  DEL25_IN_AGG(x2, x3)
U2_AGG(x1, x2, x3, x4, x5)  =  U2_AGG(x5)
U3_AGG(x1, x2, x3, x4, x5)  =  U3_AGG(x5)
U7_GA(x1, x2, x3)  =  U7_GA(x3)
U8_GA(x1, x2, x3)  =  U8_GA(x3)
U9_GA(x1, x2, x3, x4)  =  U9_GA(x4)
U10_GA(x1, x2, x3, x4)  =  U10_GA(x4)
U11_GA(x1, x2, x3, x4)  =  U11_GA(x4)
U12_GA(x1, x2, x3, x4)  =  U12_GA(x4)

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

(6) Obligation:

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

GOAL1_IN_G(T4) → U13_G(T4, s2l4_in_ga(T4, X9))
GOAL1_IN_G(T4) → S2L4_IN_GA(T4, X9)
S2L4_IN_GA(s(T7), .(X23, X24)) → U1_GA(T7, X23, X24, s2l4_in_ga(T7, X24))
S2L4_IN_GA(s(T7), .(X23, X24)) → S2L4_IN_GA(T7, X24)
GOAL1_IN_G(T4) → U14_G(T4, s2l4_in_ga(T4, T9))
U14_G(T4, s2l4_out_ga(T4, T9)) → U15_G(T4, del220_in_ga(T9, X29))
U14_G(T4, s2l4_out_ga(T4, T9)) → DEL220_IN_GA(T9, X29)
DEL220_IN_GA(T12, X39) → U5_GA(T12, X39, del25_in_aga(X36, T12, X37))
DEL220_IN_GA(T12, X39) → DEL25_IN_AGA(X36, T12, X37)
DEL25_IN_AGA(X87, .(T35, T37), .(T35, X89)) → U2_AGA(X87, T35, T37, X89, del25_in_aga(X87, T37, X89))
DEL25_IN_AGA(X87, .(T35, T37), .(T35, X89)) → DEL25_IN_AGA(X87, T37, X89)
DEL25_IN_AGA(X87, .(T42, T44), .(T42, X89)) → U3_AGA(X87, T42, T44, X89, del25_in_aga(X87, T44, X89))
DEL220_IN_GA(T12, []) → U6_GA(T12, del25_in_agg(T13, T12, []))
DEL220_IN_GA(T12, []) → DEL25_IN_AGG(T13, T12, [])
DEL25_IN_AGG(X87, .(T35, T37), .(T35, X89)) → U2_AGG(X87, T35, T37, X89, del25_in_agg(X87, T37, X89))
DEL25_IN_AGG(X87, .(T35, T37), .(T35, X89)) → DEL25_IN_AGG(X87, T37, X89)
DEL25_IN_AGG(X87, .(T42, T44), .(T42, X89)) → U3_AGG(X87, T42, T44, X89, del25_in_agg(X87, T44, X89))
DEL220_IN_GA(T12, T22) → U7_GA(T12, T22, del25_in_aga(T13, T12, .(T21, T22)))
DEL220_IN_GA(T12, T22) → DEL25_IN_AGA(T13, T12, .(T21, T22))
DEL220_IN_GA(T12, T28) → U8_GA(T12, T28, del25_in_aga(T13, T12, .(T27, T28)))
DEL220_IN_GA(T12, .(T35, X89)) → U9_GA(T12, T35, X89, del25_in_aga(T13, T12, .(T35, T37)))
DEL220_IN_GA(T12, .(T35, X89)) → DEL25_IN_AGA(T13, T12, .(T35, T37))
U9_GA(T12, T35, X89, del25_out_aga(T13, T12, .(T35, T37))) → U10_GA(T12, T35, X89, del25_in_aga(X87, T37, X89))
U9_GA(T12, T35, X89, del25_out_aga(T13, T12, .(T35, T37))) → DEL25_IN_AGA(X87, T37, X89)
DEL220_IN_GA(T12, .(T42, X89)) → U11_GA(T12, T42, X89, del25_in_aga(T13, T12, .(T42, T44)))
U11_GA(T12, T42, X89, del25_out_aga(T13, T12, .(T42, T44))) → U12_GA(T12, T42, X89, del25_in_aga(X87, T44, X89))
U11_GA(T12, T42, X89, del25_out_aga(T13, T12, .(T42, T44))) → DEL25_IN_AGA(X87, T44, X89)

The TRS R consists of the following rules:

goal1_in_g(T4) → U13_g(T4, s2l4_in_ga(T4, X9))
s2l4_in_ga(0, []) → s2l4_out_ga(0, [])
s2l4_in_ga(s(T7), .(X23, X24)) → U1_ga(T7, X23, X24, s2l4_in_ga(T7, X24))
U1_ga(T7, X23, X24, s2l4_out_ga(T7, X24)) → s2l4_out_ga(s(T7), .(X23, X24))
U13_g(T4, s2l4_out_ga(T4, X9)) → goal1_out_g(T4)
goal1_in_g(T4) → U14_g(T4, s2l4_in_ga(T4, T9))
U14_g(T4, s2l4_out_ga(T4, T9)) → U15_g(T4, del220_in_ga(T9, X29))
del220_in_ga(T12, X39) → U5_ga(T12, X39, del25_in_aga(X36, T12, X37))
del25_in_aga(X59, [], []) → del25_out_aga(X59, [], [])
del25_in_aga(T21, .(T21, T22), T22) → del25_out_aga(T21, .(T21, T22), T22)
del25_in_aga(X87, .(T35, T37), .(T35, X89)) → U2_aga(X87, T35, T37, X89, del25_in_aga(X87, T37, X89))
del25_in_aga(X87, .(T42, T44), .(T42, X89)) → U3_aga(X87, T42, T44, X89, del25_in_aga(X87, T44, X89))
U3_aga(X87, T42, T44, X89, del25_out_aga(X87, T44, X89)) → del25_out_aga(X87, .(T42, T44), .(T42, X89))
U2_aga(X87, T35, T37, X89, del25_out_aga(X87, T37, X89)) → del25_out_aga(X87, .(T35, T37), .(T35, X89))
U5_ga(T12, X39, del25_out_aga(X36, T12, X37)) → del220_out_ga(T12, X39)
del220_in_ga(T12, []) → U6_ga(T12, del25_in_agg(T13, T12, []))
del25_in_agg(X59, [], []) → del25_out_agg(X59, [], [])
del25_in_agg(T21, .(T21, T22), T22) → del25_out_agg(T21, .(T21, T22), T22)
del25_in_agg(X87, .(T35, T37), .(T35, X89)) → U2_agg(X87, T35, T37, X89, del25_in_agg(X87, T37, X89))
del25_in_agg(X87, .(T42, T44), .(T42, X89)) → U3_agg(X87, T42, T44, X89, del25_in_agg(X87, T44, X89))
U3_agg(X87, T42, T44, X89, del25_out_agg(X87, T44, X89)) → del25_out_agg(X87, .(T42, T44), .(T42, X89))
U2_agg(X87, T35, T37, X89, del25_out_agg(X87, T37, X89)) → del25_out_agg(X87, .(T35, T37), .(T35, X89))
U6_ga(T12, del25_out_agg(T13, T12, [])) → del220_out_ga(T12, [])
del220_in_ga(T12, T22) → U7_ga(T12, T22, del25_in_aga(T13, T12, .(T21, T22)))
U7_ga(T12, T22, del25_out_aga(T13, T12, .(T21, T22))) → del220_out_ga(T12, T22)
del220_in_ga(T12, T28) → U8_ga(T12, T28, del25_in_aga(T13, T12, .(T27, T28)))
U8_ga(T12, T28, del25_out_aga(T13, T12, .(T27, T28))) → del220_out_ga(T12, T28)
del220_in_ga(T12, .(T35, X89)) → U9_ga(T12, T35, X89, del25_in_aga(T13, T12, .(T35, T37)))
U9_ga(T12, T35, X89, del25_out_aga(T13, T12, .(T35, T37))) → U10_ga(T12, T35, X89, del25_in_aga(X87, T37, X89))
U10_ga(T12, T35, X89, del25_out_aga(X87, T37, X89)) → del220_out_ga(T12, .(T35, X89))
del220_in_ga(T12, .(T42, X89)) → U11_ga(T12, T42, X89, del25_in_aga(T13, T12, .(T42, T44)))
U11_ga(T12, T42, X89, del25_out_aga(T13, T12, .(T42, T44))) → U12_ga(T12, T42, X89, del25_in_aga(X87, T44, X89))
U12_ga(T12, T42, X89, del25_out_aga(X87, T44, X89)) → del220_out_ga(T12, .(T42, X89))
U15_g(T4, del220_out_ga(T9, X29)) → goal1_out_g(T4)

The argument filtering Pi contains the following mapping:
goal1_in_g(x1)  =  goal1_in_g(x1)
U13_g(x1, x2)  =  U13_g(x2)
s2l4_in_ga(x1, x2)  =  s2l4_in_ga(x1)
0  =  0
s2l4_out_ga(x1, x2)  =  s2l4_out_ga(x2)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3, x4)  =  U1_ga(x4)
.(x1, x2)  =  .(x2)
goal1_out_g(x1)  =  goal1_out_g
U14_g(x1, x2)  =  U14_g(x2)
U15_g(x1, x2)  =  U15_g(x2)
del220_in_ga(x1, x2)  =  del220_in_ga(x1)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
del25_in_aga(x1, x2, x3)  =  del25_in_aga(x2)
[]  =  []
del25_out_aga(x1, x2, x3)  =  del25_out_aga(x3)
U2_aga(x1, x2, x3, x4, x5)  =  U2_aga(x5)
U3_aga(x1, x2, x3, x4, x5)  =  U3_aga(x5)
del220_out_ga(x1, x2)  =  del220_out_ga
U6_ga(x1, x2)  =  U6_ga(x2)
del25_in_agg(x1, x2, x3)  =  del25_in_agg(x2, x3)
del25_out_agg(x1, x2, x3)  =  del25_out_agg
U2_agg(x1, x2, x3, x4, x5)  =  U2_agg(x5)
U3_agg(x1, x2, x3, x4, x5)  =  U3_agg(x5)
U7_ga(x1, x2, x3)  =  U7_ga(x3)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
U9_ga(x1, x2, x3, x4)  =  U9_ga(x4)
U10_ga(x1, x2, x3, x4)  =  U10_ga(x4)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x4)
GOAL1_IN_G(x1)  =  GOAL1_IN_G(x1)
U13_G(x1, x2)  =  U13_G(x2)
S2L4_IN_GA(x1, x2)  =  S2L4_IN_GA(x1)
U1_GA(x1, x2, x3, x4)  =  U1_GA(x4)
U14_G(x1, x2)  =  U14_G(x2)
U15_G(x1, x2)  =  U15_G(x2)
DEL220_IN_GA(x1, x2)  =  DEL220_IN_GA(x1)
U5_GA(x1, x2, x3)  =  U5_GA(x3)
DEL25_IN_AGA(x1, x2, x3)  =  DEL25_IN_AGA(x2)
U2_AGA(x1, x2, x3, x4, x5)  =  U2_AGA(x5)
U3_AGA(x1, x2, x3, x4, x5)  =  U3_AGA(x5)
U6_GA(x1, x2)  =  U6_GA(x2)
DEL25_IN_AGG(x1, x2, x3)  =  DEL25_IN_AGG(x2, x3)
U2_AGG(x1, x2, x3, x4, x5)  =  U2_AGG(x5)
U3_AGG(x1, x2, x3, x4, x5)  =  U3_AGG(x5)
U7_GA(x1, x2, x3)  =  U7_GA(x3)
U8_GA(x1, x2, x3)  =  U8_GA(x3)
U9_GA(x1, x2, x3, x4)  =  U9_GA(x4)
U10_GA(x1, x2, x3, x4)  =  U10_GA(x4)
U11_GA(x1, x2, x3, x4)  =  U11_GA(x4)
U12_GA(x1, x2, x3, x4)  =  U12_GA(x4)

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

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 3 SCCs with 24 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

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

DEL25_IN_AGG(X87, .(T35, T37), .(T35, X89)) → DEL25_IN_AGG(X87, T37, X89)

The TRS R consists of the following rules:

goal1_in_g(T4) → U13_g(T4, s2l4_in_ga(T4, X9))
s2l4_in_ga(0, []) → s2l4_out_ga(0, [])
s2l4_in_ga(s(T7), .(X23, X24)) → U1_ga(T7, X23, X24, s2l4_in_ga(T7, X24))
U1_ga(T7, X23, X24, s2l4_out_ga(T7, X24)) → s2l4_out_ga(s(T7), .(X23, X24))
U13_g(T4, s2l4_out_ga(T4, X9)) → goal1_out_g(T4)
goal1_in_g(T4) → U14_g(T4, s2l4_in_ga(T4, T9))
U14_g(T4, s2l4_out_ga(T4, T9)) → U15_g(T4, del220_in_ga(T9, X29))
del220_in_ga(T12, X39) → U5_ga(T12, X39, del25_in_aga(X36, T12, X37))
del25_in_aga(X59, [], []) → del25_out_aga(X59, [], [])
del25_in_aga(T21, .(T21, T22), T22) → del25_out_aga(T21, .(T21, T22), T22)
del25_in_aga(X87, .(T35, T37), .(T35, X89)) → U2_aga(X87, T35, T37, X89, del25_in_aga(X87, T37, X89))
del25_in_aga(X87, .(T42, T44), .(T42, X89)) → U3_aga(X87, T42, T44, X89, del25_in_aga(X87, T44, X89))
U3_aga(X87, T42, T44, X89, del25_out_aga(X87, T44, X89)) → del25_out_aga(X87, .(T42, T44), .(T42, X89))
U2_aga(X87, T35, T37, X89, del25_out_aga(X87, T37, X89)) → del25_out_aga(X87, .(T35, T37), .(T35, X89))
U5_ga(T12, X39, del25_out_aga(X36, T12, X37)) → del220_out_ga(T12, X39)
del220_in_ga(T12, []) → U6_ga(T12, del25_in_agg(T13, T12, []))
del25_in_agg(X59, [], []) → del25_out_agg(X59, [], [])
del25_in_agg(T21, .(T21, T22), T22) → del25_out_agg(T21, .(T21, T22), T22)
del25_in_agg(X87, .(T35, T37), .(T35, X89)) → U2_agg(X87, T35, T37, X89, del25_in_agg(X87, T37, X89))
del25_in_agg(X87, .(T42, T44), .(T42, X89)) → U3_agg(X87, T42, T44, X89, del25_in_agg(X87, T44, X89))
U3_agg(X87, T42, T44, X89, del25_out_agg(X87, T44, X89)) → del25_out_agg(X87, .(T42, T44), .(T42, X89))
U2_agg(X87, T35, T37, X89, del25_out_agg(X87, T37, X89)) → del25_out_agg(X87, .(T35, T37), .(T35, X89))
U6_ga(T12, del25_out_agg(T13, T12, [])) → del220_out_ga(T12, [])
del220_in_ga(T12, T22) → U7_ga(T12, T22, del25_in_aga(T13, T12, .(T21, T22)))
U7_ga(T12, T22, del25_out_aga(T13, T12, .(T21, T22))) → del220_out_ga(T12, T22)
del220_in_ga(T12, T28) → U8_ga(T12, T28, del25_in_aga(T13, T12, .(T27, T28)))
U8_ga(T12, T28, del25_out_aga(T13, T12, .(T27, T28))) → del220_out_ga(T12, T28)
del220_in_ga(T12, .(T35, X89)) → U9_ga(T12, T35, X89, del25_in_aga(T13, T12, .(T35, T37)))
U9_ga(T12, T35, X89, del25_out_aga(T13, T12, .(T35, T37))) → U10_ga(T12, T35, X89, del25_in_aga(X87, T37, X89))
U10_ga(T12, T35, X89, del25_out_aga(X87, T37, X89)) → del220_out_ga(T12, .(T35, X89))
del220_in_ga(T12, .(T42, X89)) → U11_ga(T12, T42, X89, del25_in_aga(T13, T12, .(T42, T44)))
U11_ga(T12, T42, X89, del25_out_aga(T13, T12, .(T42, T44))) → U12_ga(T12, T42, X89, del25_in_aga(X87, T44, X89))
U12_ga(T12, T42, X89, del25_out_aga(X87, T44, X89)) → del220_out_ga(T12, .(T42, X89))
U15_g(T4, del220_out_ga(T9, X29)) → goal1_out_g(T4)

The argument filtering Pi contains the following mapping:
goal1_in_g(x1)  =  goal1_in_g(x1)
U13_g(x1, x2)  =  U13_g(x2)
s2l4_in_ga(x1, x2)  =  s2l4_in_ga(x1)
0  =  0
s2l4_out_ga(x1, x2)  =  s2l4_out_ga(x2)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3, x4)  =  U1_ga(x4)
.(x1, x2)  =  .(x2)
goal1_out_g(x1)  =  goal1_out_g
U14_g(x1, x2)  =  U14_g(x2)
U15_g(x1, x2)  =  U15_g(x2)
del220_in_ga(x1, x2)  =  del220_in_ga(x1)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
del25_in_aga(x1, x2, x3)  =  del25_in_aga(x2)
[]  =  []
del25_out_aga(x1, x2, x3)  =  del25_out_aga(x3)
U2_aga(x1, x2, x3, x4, x5)  =  U2_aga(x5)
U3_aga(x1, x2, x3, x4, x5)  =  U3_aga(x5)
del220_out_ga(x1, x2)  =  del220_out_ga
U6_ga(x1, x2)  =  U6_ga(x2)
del25_in_agg(x1, x2, x3)  =  del25_in_agg(x2, x3)
del25_out_agg(x1, x2, x3)  =  del25_out_agg
U2_agg(x1, x2, x3, x4, x5)  =  U2_agg(x5)
U3_agg(x1, x2, x3, x4, x5)  =  U3_agg(x5)
U7_ga(x1, x2, x3)  =  U7_ga(x3)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
U9_ga(x1, x2, x3, x4)  =  U9_ga(x4)
U10_ga(x1, x2, x3, x4)  =  U10_ga(x4)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x4)
DEL25_IN_AGG(x1, x2, x3)  =  DEL25_IN_AGG(x2, x3)

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

(10) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(11) Obligation:

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

DEL25_IN_AGG(X87, .(T35, T37), .(T35, X89)) → DEL25_IN_AGG(X87, T37, X89)

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

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

(12) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(13) Obligation:

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

DEL25_IN_AGG(.(T37), .(X89)) → DEL25_IN_AGG(T37, X89)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(14) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] 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:

  • DEL25_IN_AGG(.(T37), .(X89)) → DEL25_IN_AGG(T37, X89)
    The graph contains the following edges 1 > 1, 2 > 2

(15) TRUE

(16) Obligation:

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

DEL25_IN_AGA(X87, .(T35, T37), .(T35, X89)) → DEL25_IN_AGA(X87, T37, X89)

The TRS R consists of the following rules:

goal1_in_g(T4) → U13_g(T4, s2l4_in_ga(T4, X9))
s2l4_in_ga(0, []) → s2l4_out_ga(0, [])
s2l4_in_ga(s(T7), .(X23, X24)) → U1_ga(T7, X23, X24, s2l4_in_ga(T7, X24))
U1_ga(T7, X23, X24, s2l4_out_ga(T7, X24)) → s2l4_out_ga(s(T7), .(X23, X24))
U13_g(T4, s2l4_out_ga(T4, X9)) → goal1_out_g(T4)
goal1_in_g(T4) → U14_g(T4, s2l4_in_ga(T4, T9))
U14_g(T4, s2l4_out_ga(T4, T9)) → U15_g(T4, del220_in_ga(T9, X29))
del220_in_ga(T12, X39) → U5_ga(T12, X39, del25_in_aga(X36, T12, X37))
del25_in_aga(X59, [], []) → del25_out_aga(X59, [], [])
del25_in_aga(T21, .(T21, T22), T22) → del25_out_aga(T21, .(T21, T22), T22)
del25_in_aga(X87, .(T35, T37), .(T35, X89)) → U2_aga(X87, T35, T37, X89, del25_in_aga(X87, T37, X89))
del25_in_aga(X87, .(T42, T44), .(T42, X89)) → U3_aga(X87, T42, T44, X89, del25_in_aga(X87, T44, X89))
U3_aga(X87, T42, T44, X89, del25_out_aga(X87, T44, X89)) → del25_out_aga(X87, .(T42, T44), .(T42, X89))
U2_aga(X87, T35, T37, X89, del25_out_aga(X87, T37, X89)) → del25_out_aga(X87, .(T35, T37), .(T35, X89))
U5_ga(T12, X39, del25_out_aga(X36, T12, X37)) → del220_out_ga(T12, X39)
del220_in_ga(T12, []) → U6_ga(T12, del25_in_agg(T13, T12, []))
del25_in_agg(X59, [], []) → del25_out_agg(X59, [], [])
del25_in_agg(T21, .(T21, T22), T22) → del25_out_agg(T21, .(T21, T22), T22)
del25_in_agg(X87, .(T35, T37), .(T35, X89)) → U2_agg(X87, T35, T37, X89, del25_in_agg(X87, T37, X89))
del25_in_agg(X87, .(T42, T44), .(T42, X89)) → U3_agg(X87, T42, T44, X89, del25_in_agg(X87, T44, X89))
U3_agg(X87, T42, T44, X89, del25_out_agg(X87, T44, X89)) → del25_out_agg(X87, .(T42, T44), .(T42, X89))
U2_agg(X87, T35, T37, X89, del25_out_agg(X87, T37, X89)) → del25_out_agg(X87, .(T35, T37), .(T35, X89))
U6_ga(T12, del25_out_agg(T13, T12, [])) → del220_out_ga(T12, [])
del220_in_ga(T12, T22) → U7_ga(T12, T22, del25_in_aga(T13, T12, .(T21, T22)))
U7_ga(T12, T22, del25_out_aga(T13, T12, .(T21, T22))) → del220_out_ga(T12, T22)
del220_in_ga(T12, T28) → U8_ga(T12, T28, del25_in_aga(T13, T12, .(T27, T28)))
U8_ga(T12, T28, del25_out_aga(T13, T12, .(T27, T28))) → del220_out_ga(T12, T28)
del220_in_ga(T12, .(T35, X89)) → U9_ga(T12, T35, X89, del25_in_aga(T13, T12, .(T35, T37)))
U9_ga(T12, T35, X89, del25_out_aga(T13, T12, .(T35, T37))) → U10_ga(T12, T35, X89, del25_in_aga(X87, T37, X89))
U10_ga(T12, T35, X89, del25_out_aga(X87, T37, X89)) → del220_out_ga(T12, .(T35, X89))
del220_in_ga(T12, .(T42, X89)) → U11_ga(T12, T42, X89, del25_in_aga(T13, T12, .(T42, T44)))
U11_ga(T12, T42, X89, del25_out_aga(T13, T12, .(T42, T44))) → U12_ga(T12, T42, X89, del25_in_aga(X87, T44, X89))
U12_ga(T12, T42, X89, del25_out_aga(X87, T44, X89)) → del220_out_ga(T12, .(T42, X89))
U15_g(T4, del220_out_ga(T9, X29)) → goal1_out_g(T4)

The argument filtering Pi contains the following mapping:
goal1_in_g(x1)  =  goal1_in_g(x1)
U13_g(x1, x2)  =  U13_g(x2)
s2l4_in_ga(x1, x2)  =  s2l4_in_ga(x1)
0  =  0
s2l4_out_ga(x1, x2)  =  s2l4_out_ga(x2)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3, x4)  =  U1_ga(x4)
.(x1, x2)  =  .(x2)
goal1_out_g(x1)  =  goal1_out_g
U14_g(x1, x2)  =  U14_g(x2)
U15_g(x1, x2)  =  U15_g(x2)
del220_in_ga(x1, x2)  =  del220_in_ga(x1)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
del25_in_aga(x1, x2, x3)  =  del25_in_aga(x2)
[]  =  []
del25_out_aga(x1, x2, x3)  =  del25_out_aga(x3)
U2_aga(x1, x2, x3, x4, x5)  =  U2_aga(x5)
U3_aga(x1, x2, x3, x4, x5)  =  U3_aga(x5)
del220_out_ga(x1, x2)  =  del220_out_ga
U6_ga(x1, x2)  =  U6_ga(x2)
del25_in_agg(x1, x2, x3)  =  del25_in_agg(x2, x3)
del25_out_agg(x1, x2, x3)  =  del25_out_agg
U2_agg(x1, x2, x3, x4, x5)  =  U2_agg(x5)
U3_agg(x1, x2, x3, x4, x5)  =  U3_agg(x5)
U7_ga(x1, x2, x3)  =  U7_ga(x3)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
U9_ga(x1, x2, x3, x4)  =  U9_ga(x4)
U10_ga(x1, x2, x3, x4)  =  U10_ga(x4)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x4)
DEL25_IN_AGA(x1, x2, x3)  =  DEL25_IN_AGA(x2)

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

(17) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(18) Obligation:

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

DEL25_IN_AGA(X87, .(T35, T37), .(T35, X89)) → DEL25_IN_AGA(X87, T37, X89)

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

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

(19) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(20) Obligation:

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

DEL25_IN_AGA(.(T37)) → DEL25_IN_AGA(T37)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(21) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] 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:

  • DEL25_IN_AGA(.(T37)) → DEL25_IN_AGA(T37)
    The graph contains the following edges 1 > 1

(22) TRUE

(23) Obligation:

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

S2L4_IN_GA(s(T7), .(X23, X24)) → S2L4_IN_GA(T7, X24)

The TRS R consists of the following rules:

goal1_in_g(T4) → U13_g(T4, s2l4_in_ga(T4, X9))
s2l4_in_ga(0, []) → s2l4_out_ga(0, [])
s2l4_in_ga(s(T7), .(X23, X24)) → U1_ga(T7, X23, X24, s2l4_in_ga(T7, X24))
U1_ga(T7, X23, X24, s2l4_out_ga(T7, X24)) → s2l4_out_ga(s(T7), .(X23, X24))
U13_g(T4, s2l4_out_ga(T4, X9)) → goal1_out_g(T4)
goal1_in_g(T4) → U14_g(T4, s2l4_in_ga(T4, T9))
U14_g(T4, s2l4_out_ga(T4, T9)) → U15_g(T4, del220_in_ga(T9, X29))
del220_in_ga(T12, X39) → U5_ga(T12, X39, del25_in_aga(X36, T12, X37))
del25_in_aga(X59, [], []) → del25_out_aga(X59, [], [])
del25_in_aga(T21, .(T21, T22), T22) → del25_out_aga(T21, .(T21, T22), T22)
del25_in_aga(X87, .(T35, T37), .(T35, X89)) → U2_aga(X87, T35, T37, X89, del25_in_aga(X87, T37, X89))
del25_in_aga(X87, .(T42, T44), .(T42, X89)) → U3_aga(X87, T42, T44, X89, del25_in_aga(X87, T44, X89))
U3_aga(X87, T42, T44, X89, del25_out_aga(X87, T44, X89)) → del25_out_aga(X87, .(T42, T44), .(T42, X89))
U2_aga(X87, T35, T37, X89, del25_out_aga(X87, T37, X89)) → del25_out_aga(X87, .(T35, T37), .(T35, X89))
U5_ga(T12, X39, del25_out_aga(X36, T12, X37)) → del220_out_ga(T12, X39)
del220_in_ga(T12, []) → U6_ga(T12, del25_in_agg(T13, T12, []))
del25_in_agg(X59, [], []) → del25_out_agg(X59, [], [])
del25_in_agg(T21, .(T21, T22), T22) → del25_out_agg(T21, .(T21, T22), T22)
del25_in_agg(X87, .(T35, T37), .(T35, X89)) → U2_agg(X87, T35, T37, X89, del25_in_agg(X87, T37, X89))
del25_in_agg(X87, .(T42, T44), .(T42, X89)) → U3_agg(X87, T42, T44, X89, del25_in_agg(X87, T44, X89))
U3_agg(X87, T42, T44, X89, del25_out_agg(X87, T44, X89)) → del25_out_agg(X87, .(T42, T44), .(T42, X89))
U2_agg(X87, T35, T37, X89, del25_out_agg(X87, T37, X89)) → del25_out_agg(X87, .(T35, T37), .(T35, X89))
U6_ga(T12, del25_out_agg(T13, T12, [])) → del220_out_ga(T12, [])
del220_in_ga(T12, T22) → U7_ga(T12, T22, del25_in_aga(T13, T12, .(T21, T22)))
U7_ga(T12, T22, del25_out_aga(T13, T12, .(T21, T22))) → del220_out_ga(T12, T22)
del220_in_ga(T12, T28) → U8_ga(T12, T28, del25_in_aga(T13, T12, .(T27, T28)))
U8_ga(T12, T28, del25_out_aga(T13, T12, .(T27, T28))) → del220_out_ga(T12, T28)
del220_in_ga(T12, .(T35, X89)) → U9_ga(T12, T35, X89, del25_in_aga(T13, T12, .(T35, T37)))
U9_ga(T12, T35, X89, del25_out_aga(T13, T12, .(T35, T37))) → U10_ga(T12, T35, X89, del25_in_aga(X87, T37, X89))
U10_ga(T12, T35, X89, del25_out_aga(X87, T37, X89)) → del220_out_ga(T12, .(T35, X89))
del220_in_ga(T12, .(T42, X89)) → U11_ga(T12, T42, X89, del25_in_aga(T13, T12, .(T42, T44)))
U11_ga(T12, T42, X89, del25_out_aga(T13, T12, .(T42, T44))) → U12_ga(T12, T42, X89, del25_in_aga(X87, T44, X89))
U12_ga(T12, T42, X89, del25_out_aga(X87, T44, X89)) → del220_out_ga(T12, .(T42, X89))
U15_g(T4, del220_out_ga(T9, X29)) → goal1_out_g(T4)

The argument filtering Pi contains the following mapping:
goal1_in_g(x1)  =  goal1_in_g(x1)
U13_g(x1, x2)  =  U13_g(x2)
s2l4_in_ga(x1, x2)  =  s2l4_in_ga(x1)
0  =  0
s2l4_out_ga(x1, x2)  =  s2l4_out_ga(x2)
s(x1)  =  s(x1)
U1_ga(x1, x2, x3, x4)  =  U1_ga(x4)
.(x1, x2)  =  .(x2)
goal1_out_g(x1)  =  goal1_out_g
U14_g(x1, x2)  =  U14_g(x2)
U15_g(x1, x2)  =  U15_g(x2)
del220_in_ga(x1, x2)  =  del220_in_ga(x1)
U5_ga(x1, x2, x3)  =  U5_ga(x3)
del25_in_aga(x1, x2, x3)  =  del25_in_aga(x2)
[]  =  []
del25_out_aga(x1, x2, x3)  =  del25_out_aga(x3)
U2_aga(x1, x2, x3, x4, x5)  =  U2_aga(x5)
U3_aga(x1, x2, x3, x4, x5)  =  U3_aga(x5)
del220_out_ga(x1, x2)  =  del220_out_ga
U6_ga(x1, x2)  =  U6_ga(x2)
del25_in_agg(x1, x2, x3)  =  del25_in_agg(x2, x3)
del25_out_agg(x1, x2, x3)  =  del25_out_agg
U2_agg(x1, x2, x3, x4, x5)  =  U2_agg(x5)
U3_agg(x1, x2, x3, x4, x5)  =  U3_agg(x5)
U7_ga(x1, x2, x3)  =  U7_ga(x3)
U8_ga(x1, x2, x3)  =  U8_ga(x3)
U9_ga(x1, x2, x3, x4)  =  U9_ga(x4)
U10_ga(x1, x2, x3, x4)  =  U10_ga(x4)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x4)
S2L4_IN_GA(x1, x2)  =  S2L4_IN_GA(x1)

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

(24) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(25) Obligation:

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

S2L4_IN_GA(s(T7), .(X23, X24)) → S2L4_IN_GA(T7, X24)

R is empty.
The argument filtering Pi contains the following mapping:
s(x1)  =  s(x1)
.(x1, x2)  =  .(x2)
S2L4_IN_GA(x1, x2)  =  S2L4_IN_GA(x1)

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

(26) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(27) Obligation:

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

S2L4_IN_GA(s(T7)) → S2L4_IN_GA(T7)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(28) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] 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:

  • S2L4_IN_GA(s(T7)) → S2L4_IN_GA(T7)
    The graph contains the following edges 1 > 1

(29) TRUE