(0) Obligation:

Clauses:

lessleaves(nil, cons(X1, X2)).
lessleaves(cons(U, V), cons(W, Z)) :- ','(app(U, V, U1), ','(app(W, Z, W1), lessleaves(U1, W1))).
app(nil, Y, Z) :- ','(!, eq(Y, Z)).
app(X, Y, cons(U, Z)) :- ','(head(X, U), ','(tail(X, V), app(V, Y, Z))).
head([], X3).
head(.(X, X4), X).
tail([], []).
tail(.(X5, X), X).
eq(X, X).

Queries:

lessleaves(g,g).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

app24(T14, cons(X58, X55), X37, X38) :- app24(T14, X55, X53, X54).
app10(nil, T11, T11).
app10([], T14, cons(X42, cons(X58, X55))) :- app24(T14, X55, X53, X54).
app10(.(T17, T18), T13, cons(T17, X39)) :- app10(T18, T13, X39).
app14([], T14, cons(X42, cons(X58, X55))) :- app24(T14, X55, X53, X54).
app14(.(T17, T18), T13, cons(T17, X39)) :- app10(T18, T13, X39).
app75(T44, cons(X136, X133)) :- app75(T44, X133).
app60(nil, T37, T37).
app60([], T44, cons(X120, cons(X136, X133))) :- app75(T44, X133).
app60(.(T50, T52), T53, cons(T50, X117)) :- app60(T52, T53, X117).
app60(.(T59, T61), T62, cons(T59, X117)) :- app60(T61, T62, X117).
lessleaves42(nil, cons(T22, T23)).
lessleaves42(cons(T28, T29), cons(T30, T31)) :- app60(T28, T29, X98).
lessleaves42(cons(T28, T29), cons(T33, T34)) :- ','(app60(T28, T29, T32), app60(T33, T34, X99)).
lessleaves42(cons(T28, T29), cons(T33, T34)) :- ','(app60(T28, T29, T64), ','(app60(T33, T34, T63), lessleaves42(T64, T63))).
app41(nil, T21, T21).
app41(T7, T8, X21) :- app14(T7, T8, X21).
lessleaves1(nil, cons(T3, T4)).
lessleaves1(cons(T5, T6), cons(T7, T8)) :- app10(T5, T6, X20).
lessleaves1(cons(T5, T6), cons(T7, T8)) :- ','(app10(T5, T6, T9), app41(T7, T8, X21)).
lessleaves1(cons(T5, T6), cons(T7, T8)) :- ','(app10(T5, T6, nil), app41(T7, T8, cons(T22, T23))).
lessleaves1(cons(T5, T6), cons(T7, T8)) :- ','(app10(T5, T6, cons(T28, T29)), ','(app41(T7, T8, cons(T30, T31)), app60(T28, T29, X98))).
lessleaves1(cons(T5, T6), cons(T7, T8)) :- ','(app10(T5, T6, cons(T28, T29)), ','(app41(T7, T8, cons(T33, T34)), ','(app60(T28, T29, T32), app60(T33, T34, X99)))).
lessleaves1(cons(T5, T6), cons(T7, T8)) :- ','(app10(T5, T6, cons(T28, T29)), ','(app41(T7, T8, cons(T33, T34)), ','(app60(T28, T29, T64), ','(app60(T33, T34, T63), lessleaves42(T64, T63))))).

Queries:

lessleaves1(g,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:
lessleaves1_in: (b,b)
app10_in: (b,b,f) (b,b,b)
app24_in: (b,f,f,f) (b,b,f,f)
app41_in: (b,b,f)
app14_in: (b,b,f)
app60_in: (f,f,f)
app75_in: (f,f)
lessleaves42_in: (f,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga
U16_gga(x1, x2, x3, x4)  =  U16_gga(x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(4) Obligation:

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

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga
U16_gga(x1, x2, x3, x4)  =  U16_gga(x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)

(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:

LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U17_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, X20)
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U2_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → U1_GAAA(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U3_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U18_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → APP41_IN_GGA(T7, T8, X21)
APP41_IN_GGA(T7, T8, X21) → U16_GGA(T7, T8, X21, app14_in_gga(T7, T8, X21))
APP41_IN_GGA(T7, T8, X21) → APP14_IN_GGA(T7, T8, X21)
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U4_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U5_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U20_GG(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGG(T5, T6, nil)
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → U2_GGG(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GGAA(T14, X55, X53, X54)
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → U1_GGAA(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → U3_GGG(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → APP41_IN_GGA(T7, T8, cons(T22, T23))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U22_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, cons(T28, T29))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → APP41_IN_GGA(T7, T8, cons(T30, T31))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_GG(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → APP60_IN_AAA(T28, T29, X98)
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → U7_AAA(T44, X120, X136, X133, app75_in_aa(T44, X133))
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → APP75_IN_AA(T44, X133)
APP75_IN_AA(T44, cons(X136, X133)) → U6_AA(T44, X136, X133, app75_in_aa(T44, X133))
APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → U8_AAA(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)
APP60_IN_AAA(.(T59, T61), T62, cons(T59, X117)) → U9_AAA(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → APP60_IN_AAA(T28, T29, T32)
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_GG(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_GG(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_GG(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → U10_AA(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → APP60_IN_AAA(T28, T29, X98)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U11_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_AA(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_AA(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga
U16_gga(x1, x2, x3, x4)  =  U16_gga(x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
LESSLEAVES1_IN_GG(x1, x2)  =  LESSLEAVES1_IN_GG(x1, x2)
U17_GG(x1, x2, x3, x4, x5)  =  U17_GG(x5)
APP10_IN_GGA(x1, x2, x3)  =  APP10_IN_GGA(x1, x2)
U2_GGA(x1, x2, x3, x4, x5)  =  U2_GGA(x5)
APP24_IN_GAAA(x1, x2, x3, x4)  =  APP24_IN_GAAA(x1)
U1_GAAA(x1, x2, x3, x4, x5, x6)  =  U1_GAAA(x6)
U3_GGA(x1, x2, x3, x4, x5)  =  U3_GGA(x5)
U18_GG(x1, x2, x3, x4, x5)  =  U18_GG(x3, x4, x5)
U19_GG(x1, x2, x3, x4, x5)  =  U19_GG(x5)
APP41_IN_GGA(x1, x2, x3)  =  APP41_IN_GGA(x1, x2)
U16_GGA(x1, x2, x3, x4)  =  U16_GGA(x4)
APP14_IN_GGA(x1, x2, x3)  =  APP14_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x5)
U5_GGA(x1, x2, x3, x4, x5)  =  U5_GGA(x5)
U20_GG(x1, x2, x3, x4, x5)  =  U20_GG(x3, x4, x5)
APP10_IN_GGG(x1, x2, x3)  =  APP10_IN_GGG(x1, x2, x3)
U2_GGG(x1, x2, x3, x4, x5)  =  U2_GGG(x5)
APP24_IN_GGAA(x1, x2, x3, x4)  =  APP24_IN_GGAA(x1, x2)
U1_GGAA(x1, x2, x3, x4, x5, x6)  =  U1_GGAA(x6)
U3_GGG(x1, x2, x3, x4, x5)  =  U3_GGG(x5)
U21_GG(x1, x2, x3, x4, x5)  =  U21_GG(x5)
U22_GG(x1, x2, x3, x4, x5)  =  U22_GG(x3, x4, x5)
U23_GG(x1, x2, x3, x4, x5, x6, x7)  =  U23_GG(x7)
U24_GG(x1, x2, x3, x4, x5)  =  U24_GG(x5)
APP60_IN_AAA(x1, x2, x3)  =  APP60_IN_AAA
U7_AAA(x1, x2, x3, x4, x5)  =  U7_AAA(x5)
APP75_IN_AA(x1, x2)  =  APP75_IN_AA
U6_AA(x1, x2, x3, x4)  =  U6_AA(x4)
U8_AAA(x1, x2, x3, x4, x5)  =  U8_AAA(x5)
U9_AAA(x1, x2, x3, x4, x5)  =  U9_AAA(x5)
U25_GG(x1, x2, x3, x4, x5, x6, x7)  =  U25_GG(x7)
U26_GG(x1, x2, x3, x4, x5, x6, x7)  =  U26_GG(x7)
U27_GG(x1, x2, x3, x4, x5)  =  U27_GG(x5)
U28_GG(x1, x2, x3, x4, x5, x6, x7)  =  U28_GG(x7)
U29_GG(x1, x2, x3, x4, x5, x6)  =  U29_GG(x6)
U30_GG(x1, x2, x3, x4, x5)  =  U30_GG(x5)
LESSLEAVES42_IN_AA(x1, x2)  =  LESSLEAVES42_IN_AA
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)
U11_AA(x1, x2, x3, x4, x5)  =  U11_AA(x5)
U12_AA(x1, x2, x3, x4, x5)  =  U12_AA(x5)
U13_AA(x1, x2, x3, x4, x5)  =  U13_AA(x5)
U14_AA(x1, x2, x3, x4, x5, x6)  =  U14_AA(x6)
U15_AA(x1, x2, x3, x4, x5)  =  U15_AA(x5)

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

(6) Obligation:

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

LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U17_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, X20)
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U2_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → U1_GAAA(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U3_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U18_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → APP41_IN_GGA(T7, T8, X21)
APP41_IN_GGA(T7, T8, X21) → U16_GGA(T7, T8, X21, app14_in_gga(T7, T8, X21))
APP41_IN_GGA(T7, T8, X21) → APP14_IN_GGA(T7, T8, X21)
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U4_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U5_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U20_GG(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGG(T5, T6, nil)
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → U2_GGG(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GGAA(T14, X55, X53, X54)
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → U1_GGAA(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → U3_GGG(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → APP41_IN_GGA(T7, T8, cons(T22, T23))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U22_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, cons(T28, T29))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → APP41_IN_GGA(T7, T8, cons(T30, T31))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_GG(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → APP60_IN_AAA(T28, T29, X98)
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → U7_AAA(T44, X120, X136, X133, app75_in_aa(T44, X133))
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → APP75_IN_AA(T44, X133)
APP75_IN_AA(T44, cons(X136, X133)) → U6_AA(T44, X136, X133, app75_in_aa(T44, X133))
APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → U8_AAA(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)
APP60_IN_AAA(.(T59, T61), T62, cons(T59, X117)) → U9_AAA(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → APP60_IN_AAA(T28, T29, T32)
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_GG(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_GG(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_GG(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → U10_AA(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → APP60_IN_AAA(T28, T29, X98)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U11_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_AA(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_AA(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga
U16_gga(x1, x2, x3, x4)  =  U16_gga(x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
LESSLEAVES1_IN_GG(x1, x2)  =  LESSLEAVES1_IN_GG(x1, x2)
U17_GG(x1, x2, x3, x4, x5)  =  U17_GG(x5)
APP10_IN_GGA(x1, x2, x3)  =  APP10_IN_GGA(x1, x2)
U2_GGA(x1, x2, x3, x4, x5)  =  U2_GGA(x5)
APP24_IN_GAAA(x1, x2, x3, x4)  =  APP24_IN_GAAA(x1)
U1_GAAA(x1, x2, x3, x4, x5, x6)  =  U1_GAAA(x6)
U3_GGA(x1, x2, x3, x4, x5)  =  U3_GGA(x5)
U18_GG(x1, x2, x3, x4, x5)  =  U18_GG(x3, x4, x5)
U19_GG(x1, x2, x3, x4, x5)  =  U19_GG(x5)
APP41_IN_GGA(x1, x2, x3)  =  APP41_IN_GGA(x1, x2)
U16_GGA(x1, x2, x3, x4)  =  U16_GGA(x4)
APP14_IN_GGA(x1, x2, x3)  =  APP14_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x5)
U5_GGA(x1, x2, x3, x4, x5)  =  U5_GGA(x5)
U20_GG(x1, x2, x3, x4, x5)  =  U20_GG(x3, x4, x5)
APP10_IN_GGG(x1, x2, x3)  =  APP10_IN_GGG(x1, x2, x3)
U2_GGG(x1, x2, x3, x4, x5)  =  U2_GGG(x5)
APP24_IN_GGAA(x1, x2, x3, x4)  =  APP24_IN_GGAA(x1, x2)
U1_GGAA(x1, x2, x3, x4, x5, x6)  =  U1_GGAA(x6)
U3_GGG(x1, x2, x3, x4, x5)  =  U3_GGG(x5)
U21_GG(x1, x2, x3, x4, x5)  =  U21_GG(x5)
U22_GG(x1, x2, x3, x4, x5)  =  U22_GG(x3, x4, x5)
U23_GG(x1, x2, x3, x4, x5, x6, x7)  =  U23_GG(x7)
U24_GG(x1, x2, x3, x4, x5)  =  U24_GG(x5)
APP60_IN_AAA(x1, x2, x3)  =  APP60_IN_AAA
U7_AAA(x1, x2, x3, x4, x5)  =  U7_AAA(x5)
APP75_IN_AA(x1, x2)  =  APP75_IN_AA
U6_AA(x1, x2, x3, x4)  =  U6_AA(x4)
U8_AAA(x1, x2, x3, x4, x5)  =  U8_AAA(x5)
U9_AAA(x1, x2, x3, x4, x5)  =  U9_AAA(x5)
U25_GG(x1, x2, x3, x4, x5, x6, x7)  =  U25_GG(x7)
U26_GG(x1, x2, x3, x4, x5, x6, x7)  =  U26_GG(x7)
U27_GG(x1, x2, x3, x4, x5)  =  U27_GG(x5)
U28_GG(x1, x2, x3, x4, x5, x6, x7)  =  U28_GG(x7)
U29_GG(x1, x2, x3, x4, x5, x6)  =  U29_GG(x6)
U30_GG(x1, x2, x3, x4, x5)  =  U30_GG(x5)
LESSLEAVES42_IN_AA(x1, x2)  =  LESSLEAVES42_IN_AA
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)
U11_AA(x1, x2, x3, x4, x5)  =  U11_AA(x5)
U12_AA(x1, x2, x3, x4, x5)  =  U12_AA(x5)
U13_AA(x1, x2, x3, x4, x5)  =  U13_AA(x5)
U14_AA(x1, x2, x3, x4, x5, x6)  =  U14_AA(x6)
U15_AA(x1, x2, x3, x4, x5)  =  U15_AA(x5)

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

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 7 SCCs with 51 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

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

APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga
U16_gga(x1, x2, x3, x4)  =  U16_gga(x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
APP75_IN_AA(x1, x2)  =  APP75_IN_AA

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:

APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)

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

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:

APP75_IN_AAAPP75_IN_AA

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

(14) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = APP75_IN_AA evaluates to t =APP75_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from APP75_IN_AA to APP75_IN_AA.



(15) FALSE

(16) Obligation:

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

APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga
U16_gga(x1, x2, x3, x4)  =  U16_gga(x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
APP60_IN_AAA(x1, x2, x3)  =  APP60_IN_AAA

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:

APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)

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

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:

APP60_IN_AAAAPP60_IN_AAA

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

(21) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = APP60_IN_AAA evaluates to t =APP60_IN_AAA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from APP60_IN_AAA to APP60_IN_AAA.



(22) FALSE

(23) Obligation:

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

LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga
U16_gga(x1, x2, x3, x4)  =  U16_gga(x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
LESSLEAVES42_IN_AA(x1, x2)  =  LESSLEAVES42_IN_AA
U13_AA(x1, x2, x3, x4, x5)  =  U13_AA(x5)
U14_AA(x1, x2, x3, x4, x5, x6)  =  U14_AA(x6)

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:

LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)

The TRS R consists of the following rules:

app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))

The argument filtering Pi contains the following mapping:
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
[]  =  []
.(x1, x2)  =  .(x1, x2)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
LESSLEAVES42_IN_AA(x1, x2)  =  LESSLEAVES42_IN_AA
U13_AA(x1, x2, x3, x4, x5)  =  U13_AA(x5)
U14_AA(x1, x2, x3, x4, x5, x6)  =  U14_AA(x6)

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:

LESSLEAVES42_IN_AAU13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA

The TRS R consists of the following rules:

app60_in_aaaapp60_out_aaa
app60_in_aaaU7_aaa(app75_in_aa)
app60_in_aaaU8_aaa(app60_in_aaa)
app60_in_aaaU9_aaa(app60_in_aaa)
U7_aaa(app75_out_aa(T44)) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa
U9_aaa(app60_out_aaa) → app60_out_aaa
app75_in_aaU6_aa(app75_in_aa)
U6_aa(app75_out_aa(T44)) → app75_out_aa(T44)

The set Q consists of the following terms:

app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)

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

(28) MRRProof (EQUIVALENT transformation)

By using the rule removal processor [LPAR04] with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented.

Strictly oriented rules of the TRS R:

U7_aaa(app75_out_aa(T44)) → app60_out_aaa

Used ordering: Polynomial interpretation [POLO]:

POL(LESSLEAVES42_IN_AA) = 0   
POL(U13_AA(x1)) = x1   
POL(U14_AA(x1)) = 2·x1   
POL(U6_aa(x1)) = x1   
POL(U7_aaa(x1)) = x1   
POL(U8_aaa(x1)) = 2·x1   
POL(U9_aaa(x1)) = 2·x1   
POL(app60_in_aaa) = 0   
POL(app60_out_aaa) = 0   
POL(app75_in_aa) = 0   
POL(app75_out_aa(x1)) = 1 + 2·x1   

(29) Obligation:

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

LESSLEAVES42_IN_AAU13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA

The TRS R consists of the following rules:

app60_in_aaaapp60_out_aaa
app60_in_aaaU7_aaa(app75_in_aa)
app60_in_aaaU8_aaa(app60_in_aaa)
app60_in_aaaU9_aaa(app60_in_aaa)
U8_aaa(app60_out_aaa) → app60_out_aaa
U9_aaa(app60_out_aaa) → app60_out_aaa
app75_in_aaU6_aa(app75_in_aa)
U6_aa(app75_out_aa(T44)) → app75_out_aa(T44)

The set Q consists of the following terms:

app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)

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

(30) MRRProof (EQUIVALENT transformation)

By using the rule removal processor [LPAR04] with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented.

Strictly oriented rules of the TRS R:

app60_in_aaaU7_aaa(app75_in_aa)

Used ordering: Polynomial interpretation [POLO]:

POL(LESSLEAVES42_IN_AA) = 1   
POL(U13_AA(x1)) = x1   
POL(U14_AA(x1)) = x1   
POL(U6_aa(x1)) = x1   
POL(U7_aaa(x1)) = x1   
POL(U8_aaa(x1)) = x1   
POL(U9_aaa(x1)) = x1   
POL(app60_in_aaa) = 1   
POL(app60_out_aaa) = 1   
POL(app75_in_aa) = 0   
POL(app75_out_aa(x1)) = x1   

(31) Obligation:

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

LESSLEAVES42_IN_AAU13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA

The TRS R consists of the following rules:

app60_in_aaaapp60_out_aaa
app60_in_aaaU8_aaa(app60_in_aaa)
app60_in_aaaU9_aaa(app60_in_aaa)
U8_aaa(app60_out_aaa) → app60_out_aaa
U9_aaa(app60_out_aaa) → app60_out_aaa
app75_in_aaU6_aa(app75_in_aa)
U6_aa(app75_out_aa(T44)) → app75_out_aa(T44)

The set Q consists of the following terms:

app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)

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

(32) UsableRulesProof (EQUIVALENT transformation)

As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.

(33) Obligation:

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

LESSLEAVES42_IN_AAU13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA

The TRS R consists of the following rules:

app60_in_aaaapp60_out_aaa
app60_in_aaaU8_aaa(app60_in_aaa)
app60_in_aaaU9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa

The set Q consists of the following terms:

app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)

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

(34) QReductionProof (EQUIVALENT transformation)

We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].

U7_aaa(x0)
app75_in_aa
U6_aa(x0)

(35) Obligation:

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

LESSLEAVES42_IN_AAU13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA

The TRS R consists of the following rules:

app60_in_aaaapp60_out_aaa
app60_in_aaaU8_aaa(app60_in_aaa)
app60_in_aaaU9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa

The set Q consists of the following terms:

app60_in_aaa
U8_aaa(x0)
U9_aaa(x0)

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

(36) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule LESSLEAVES42_IN_AAU13_AA(app60_in_aaa) at position [0] we obtained the following new rules [LPAR04]:

LESSLEAVES42_IN_AAU13_AA(app60_out_aaa)
LESSLEAVES42_IN_AAU13_AA(U8_aaa(app60_in_aaa))
LESSLEAVES42_IN_AAU13_AA(U9_aaa(app60_in_aaa))

(37) Obligation:

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

U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
LESSLEAVES42_IN_AAU13_AA(app60_out_aaa)
LESSLEAVES42_IN_AAU13_AA(U8_aaa(app60_in_aaa))
LESSLEAVES42_IN_AAU13_AA(U9_aaa(app60_in_aaa))

The TRS R consists of the following rules:

app60_in_aaaapp60_out_aaa
app60_in_aaaU8_aaa(app60_in_aaa)
app60_in_aaaU9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa

The set Q consists of the following terms:

app60_in_aaa
U8_aaa(x0)
U9_aaa(x0)

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

(38) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa) at position [0] we obtained the following new rules [LPAR04]:

U13_AA(app60_out_aaa) → U14_AA(app60_out_aaa)
U13_AA(app60_out_aaa) → U14_AA(U8_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(U9_aaa(app60_in_aaa))

(39) Obligation:

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

U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
LESSLEAVES42_IN_AAU13_AA(app60_out_aaa)
LESSLEAVES42_IN_AAU13_AA(U8_aaa(app60_in_aaa))
LESSLEAVES42_IN_AAU13_AA(U9_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(app60_out_aaa)
U13_AA(app60_out_aaa) → U14_AA(U8_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(U9_aaa(app60_in_aaa))

The TRS R consists of the following rules:

app60_in_aaaapp60_out_aaa
app60_in_aaaU8_aaa(app60_in_aaa)
app60_in_aaaU9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa

The set Q consists of the following terms:

app60_in_aaa
U8_aaa(x0)
U9_aaa(x0)

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

(40) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = LESSLEAVES42_IN_AA evaluates to t =LESSLEAVES42_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

LESSLEAVES42_IN_AAU13_AA(app60_out_aaa)
with rule LESSLEAVES42_IN_AAU13_AA(app60_out_aaa) at position [] and matcher [ ]

U13_AA(app60_out_aaa)U14_AA(app60_out_aaa)
with rule U13_AA(app60_out_aaa) → U14_AA(app60_out_aaa) at position [] and matcher [ ]

U14_AA(app60_out_aaa)LESSLEAVES42_IN_AA
with rule U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(41) FALSE

(42) Obligation:

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

APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga
U16_gga(x1, x2, x3, x4)  =  U16_gga(x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
APP24_IN_GGAA(x1, x2, x3, x4)  =  APP24_IN_GGAA(x1, x2)

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

(43) UsableRulesProof (EQUIVALENT transformation)

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

(44) Obligation:

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

APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)

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

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

(45) PiDPToQDPProof (SOUND transformation)

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

(46) Obligation:

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

APP24_IN_GGAA(T14, cons(X58, X55)) → APP24_IN_GGAA(T14, X55)

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

(47) 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:

  • APP24_IN_GGAA(T14, cons(X58, X55)) → APP24_IN_GGAA(T14, X55)
    The graph contains the following edges 1 >= 1, 2 > 2

(48) TRUE

(49) Obligation:

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

APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga
U16_gga(x1, x2, x3, x4)  =  U16_gga(x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
APP10_IN_GGG(x1, x2, x3)  =  APP10_IN_GGG(x1, x2, x3)

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

(50) UsableRulesProof (EQUIVALENT transformation)

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

(51) Obligation:

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

APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)

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

(52) PiDPToQDPProof (EQUIVALENT transformation)

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

(53) Obligation:

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

APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)

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

(54) 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:

  • APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
    The graph contains the following edges 1 > 1, 2 >= 2, 3 > 3

(55) TRUE

(56) Obligation:

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

APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga
U16_gga(x1, x2, x3, x4)  =  U16_gga(x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
APP24_IN_GAAA(x1, x2, x3, x4)  =  APP24_IN_GAAA(x1)

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

(57) UsableRulesProof (EQUIVALENT transformation)

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

(58) Obligation:

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

APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)

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

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

(59) PiDPToQDPProof (SOUND transformation)

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

(60) Obligation:

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

APP24_IN_GAAA(T14) → APP24_IN_GAAA(T14)

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

(61) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = APP24_IN_GAAA(T14) evaluates to t =APP24_IN_GAAA(T14)

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from APP24_IN_GAAA(T14) to APP24_IN_GAAA(T14).



(62) FALSE

(63) Obligation:

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

APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga
U16_gga(x1, x2, x3, x4)  =  U16_gga(x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
APP10_IN_GGA(x1, x2, x3)  =  APP10_IN_GGA(x1, x2)

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

(64) UsableRulesProof (EQUIVALENT transformation)

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

(65) Obligation:

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

APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)

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

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

(66) PiDPToQDPProof (SOUND transformation)

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

(67) Obligation:

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

APP10_IN_GGA(.(T17, T18), T13) → APP10_IN_GGA(T18, T13)

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

(68) 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:

  • APP10_IN_GGA(.(T17, T18), T13) → APP10_IN_GGA(T18, T13)
    The graph contains the following edges 1 > 1, 2 >= 2

(69) TRUE

(70) PrologToPiTRSProof (SOUND transformation)

We use the technique of [LOPSTR]. With regard to the inferred argument filtering the predicates were used in the following modes:
lessleaves1_in: (b,b)
app10_in: (b,b,f) (b,b,b)
app24_in: (b,f,f,f) (b,b,f,f)
app41_in: (b,b,f)
app14_in: (b,b,f)
app60_in: (f,f,f)
app75_in: (f,f)
lessleaves42_in: (f,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg(x1, x2)
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x1, x2, x3, x4, x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga(x1, x2)
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x1, x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x1, x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa(x1)
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x1, x2, x3, x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x1, x2, x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x1, x2, x3, x4, x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga(x1, x2)
U16_gga(x1, x2, x3, x4)  =  U16_gga(x1, x2, x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga(x1, x2)
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x1, x2, x3, x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x1, x2, x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg(x1, x2, x3)
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x1, x2, x3, x4, x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x1, x2, x3, x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa(x1, x2)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x1, x2, x3, x4, x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x1, x2, x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x1, x2, x3, x4, x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x1, x2, x3, x4, x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x1, x2, x3, x4, x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x1, x2, x3, x4, x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x1, x2, x3, x4, x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x1, x2, x3, x4, x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x1, x2, x3, x4, x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x1, x2, x3, x4, x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(71) Obligation:

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

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg(x1, x2)
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x1, x2, x3, x4, x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga(x1, x2)
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x1, x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x1, x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa(x1)
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x1, x2, x3, x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x1, x2, x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x1, x2, x3, x4, x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga(x1, x2)
U16_gga(x1, x2, x3, x4)  =  U16_gga(x1, x2, x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga(x1, x2)
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x1, x2, x3, x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x1, x2, x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg(x1, x2, x3)
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x1, x2, x3, x4, x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x1, x2, x3, x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa(x1, x2)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x1, x2, x3, x4, x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x1, x2, x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x1, x2, x3, x4, x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x1, x2, x3, x4, x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x1, x2, x3, x4, x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x1, x2, x3, x4, x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x1, x2, x3, x4, x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x1, x2, x3, x4, x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x1, x2, x3, x4, x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x1, x2, x3, x4, x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)

(72) 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:

LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U17_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, X20)
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U2_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → U1_GAAA(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U3_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U18_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → APP41_IN_GGA(T7, T8, X21)
APP41_IN_GGA(T7, T8, X21) → U16_GGA(T7, T8, X21, app14_in_gga(T7, T8, X21))
APP41_IN_GGA(T7, T8, X21) → APP14_IN_GGA(T7, T8, X21)
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U4_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U5_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U20_GG(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGG(T5, T6, nil)
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → U2_GGG(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GGAA(T14, X55, X53, X54)
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → U1_GGAA(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → U3_GGG(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → APP41_IN_GGA(T7, T8, cons(T22, T23))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U22_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, cons(T28, T29))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → APP41_IN_GGA(T7, T8, cons(T30, T31))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_GG(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → APP60_IN_AAA(T28, T29, X98)
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → U7_AAA(T44, X120, X136, X133, app75_in_aa(T44, X133))
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → APP75_IN_AA(T44, X133)
APP75_IN_AA(T44, cons(X136, X133)) → U6_AA(T44, X136, X133, app75_in_aa(T44, X133))
APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → U8_AAA(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)
APP60_IN_AAA(.(T59, T61), T62, cons(T59, X117)) → U9_AAA(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → APP60_IN_AAA(T28, T29, T32)
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_GG(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_GG(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_GG(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → U10_AA(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → APP60_IN_AAA(T28, T29, X98)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U11_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_AA(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_AA(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg(x1, x2)
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x1, x2, x3, x4, x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga(x1, x2)
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x1, x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x1, x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa(x1)
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x1, x2, x3, x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x1, x2, x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x1, x2, x3, x4, x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga(x1, x2)
U16_gga(x1, x2, x3, x4)  =  U16_gga(x1, x2, x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga(x1, x2)
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x1, x2, x3, x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x1, x2, x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg(x1, x2, x3)
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x1, x2, x3, x4, x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x1, x2, x3, x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa(x1, x2)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x1, x2, x3, x4, x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x1, x2, x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x1, x2, x3, x4, x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x1, x2, x3, x4, x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x1, x2, x3, x4, x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x1, x2, x3, x4, x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x1, x2, x3, x4, x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x1, x2, x3, x4, x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x1, x2, x3, x4, x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x1, x2, x3, x4, x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
LESSLEAVES1_IN_GG(x1, x2)  =  LESSLEAVES1_IN_GG(x1, x2)
U17_GG(x1, x2, x3, x4, x5)  =  U17_GG(x1, x2, x3, x4, x5)
APP10_IN_GGA(x1, x2, x3)  =  APP10_IN_GGA(x1, x2)
U2_GGA(x1, x2, x3, x4, x5)  =  U2_GGA(x1, x5)
APP24_IN_GAAA(x1, x2, x3, x4)  =  APP24_IN_GAAA(x1)
U1_GAAA(x1, x2, x3, x4, x5, x6)  =  U1_GAAA(x1, x6)
U3_GGA(x1, x2, x3, x4, x5)  =  U3_GGA(x1, x2, x3, x5)
U18_GG(x1, x2, x3, x4, x5)  =  U18_GG(x1, x2, x3, x4, x5)
U19_GG(x1, x2, x3, x4, x5)  =  U19_GG(x1, x2, x3, x4, x5)
APP41_IN_GGA(x1, x2, x3)  =  APP41_IN_GGA(x1, x2)
U16_GGA(x1, x2, x3, x4)  =  U16_GGA(x1, x2, x4)
APP14_IN_GGA(x1, x2, x3)  =  APP14_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x1, x5)
U5_GGA(x1, x2, x3, x4, x5)  =  U5_GGA(x1, x2, x3, x5)
U20_GG(x1, x2, x3, x4, x5)  =  U20_GG(x1, x2, x3, x4, x5)
APP10_IN_GGG(x1, x2, x3)  =  APP10_IN_GGG(x1, x2, x3)
U2_GGG(x1, x2, x3, x4, x5)  =  U2_GGG(x1, x2, x3, x4, x5)
APP24_IN_GGAA(x1, x2, x3, x4)  =  APP24_IN_GGAA(x1, x2)
U1_GGAA(x1, x2, x3, x4, x5, x6)  =  U1_GGAA(x1, x2, x3, x6)
U3_GGG(x1, x2, x3, x4, x5)  =  U3_GGG(x1, x2, x3, x4, x5)
U21_GG(x1, x2, x3, x4, x5)  =  U21_GG(x1, x2, x3, x4, x5)
U22_GG(x1, x2, x3, x4, x5)  =  U22_GG(x1, x2, x3, x4, x5)
U23_GG(x1, x2, x3, x4, x5, x6, x7)  =  U23_GG(x1, x2, x3, x4, x7)
U24_GG(x1, x2, x3, x4, x5)  =  U24_GG(x1, x2, x3, x4, x5)
APP60_IN_AAA(x1, x2, x3)  =  APP60_IN_AAA
U7_AAA(x1, x2, x3, x4, x5)  =  U7_AAA(x5)
APP75_IN_AA(x1, x2)  =  APP75_IN_AA
U6_AA(x1, x2, x3, x4)  =  U6_AA(x4)
U8_AAA(x1, x2, x3, x4, x5)  =  U8_AAA(x5)
U9_AAA(x1, x2, x3, x4, x5)  =  U9_AAA(x5)
U25_GG(x1, x2, x3, x4, x5, x6, x7)  =  U25_GG(x1, x2, x3, x4, x7)
U26_GG(x1, x2, x3, x4, x5, x6, x7)  =  U26_GG(x1, x2, x3, x4, x7)
U27_GG(x1, x2, x3, x4, x5)  =  U27_GG(x1, x2, x3, x4, x5)
U28_GG(x1, x2, x3, x4, x5, x6, x7)  =  U28_GG(x1, x2, x3, x4, x7)
U29_GG(x1, x2, x3, x4, x5, x6)  =  U29_GG(x1, x2, x3, x4, x6)
U30_GG(x1, x2, x3, x4, x5)  =  U30_GG(x1, x2, x3, x4, x5)
LESSLEAVES42_IN_AA(x1, x2)  =  LESSLEAVES42_IN_AA
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)
U11_AA(x1, x2, x3, x4, x5)  =  U11_AA(x5)
U12_AA(x1, x2, x3, x4, x5)  =  U12_AA(x5)
U13_AA(x1, x2, x3, x4, x5)  =  U13_AA(x5)
U14_AA(x1, x2, x3, x4, x5, x6)  =  U14_AA(x6)
U15_AA(x1, x2, x3, x4, x5)  =  U15_AA(x5)

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

(73) Obligation:

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

LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U17_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, X20)
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U2_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP10_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → U1_GAAA(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U3_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U18_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
U18_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → APP41_IN_GGA(T7, T8, X21)
APP41_IN_GGA(T7, T8, X21) → U16_GGA(T7, T8, X21, app14_in_gga(T7, T8, X21))
APP41_IN_GGA(T7, T8, X21) → APP14_IN_GGA(T7, T8, X21)
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → U4_GGA(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
APP14_IN_GGA([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GAAA(T14, X55, X53, X54)
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → U5_GGA(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
APP14_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U20_GG(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGG(T5, T6, nil)
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → U2_GGG(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
APP10_IN_GGG([], T14, cons(X42, cons(X58, X55))) → APP24_IN_GGAA(T14, X55, X53, X54)
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → U1_GGAA(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → U3_GGG(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_GG(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U20_GG(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → APP41_IN_GGA(T7, T8, cons(T22, T23))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → U22_GG(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
LESSLEAVES1_IN_GG(cons(T5, T6), cons(T7, T8)) → APP10_IN_GGA(T5, T6, cons(T28, T29))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → APP41_IN_GGA(T7, T8, cons(T30, T31))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_GG(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
U23_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → APP60_IN_AAA(T28, T29, X98)
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → U7_AAA(T44, X120, X136, X133, app75_in_aa(T44, X133))
APP60_IN_AAA([], T44, cons(X120, cons(X136, X133))) → APP75_IN_AA(T44, X133)
APP75_IN_AA(T44, cons(X136, X133)) → U6_AA(T44, X136, X133, app75_in_aa(T44, X133))
APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → U8_AAA(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)
APP60_IN_AAA(.(T59, T61), T62, cons(T59, X117)) → U9_AAA(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U22_GG(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_GG(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → APP60_IN_AAA(T28, T29, T32)
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_GG(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U26_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
U25_GG(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_GG(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_GG(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U28_GG(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_GG(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
U29_GG(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → U10_AA(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T30, T31)) → APP60_IN_AAA(T28, T29, X98)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U11_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_AA(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U11_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → APP60_IN_AAA(T33, T34, X99)
LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → APP60_IN_AAA(T33, T34, T63)
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_AA(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg(x1, x2)
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x1, x2, x3, x4, x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga(x1, x2)
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x1, x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x1, x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa(x1)
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x1, x2, x3, x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x1, x2, x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x1, x2, x3, x4, x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga(x1, x2)
U16_gga(x1, x2, x3, x4)  =  U16_gga(x1, x2, x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga(x1, x2)
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x1, x2, x3, x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x1, x2, x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg(x1, x2, x3)
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x1, x2, x3, x4, x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x1, x2, x3, x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa(x1, x2)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x1, x2, x3, x4, x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x1, x2, x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x1, x2, x3, x4, x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x1, x2, x3, x4, x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x1, x2, x3, x4, x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x1, x2, x3, x4, x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x1, x2, x3, x4, x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x1, x2, x3, x4, x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x1, x2, x3, x4, x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x1, x2, x3, x4, x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
LESSLEAVES1_IN_GG(x1, x2)  =  LESSLEAVES1_IN_GG(x1, x2)
U17_GG(x1, x2, x3, x4, x5)  =  U17_GG(x1, x2, x3, x4, x5)
APP10_IN_GGA(x1, x2, x3)  =  APP10_IN_GGA(x1, x2)
U2_GGA(x1, x2, x3, x4, x5)  =  U2_GGA(x1, x5)
APP24_IN_GAAA(x1, x2, x3, x4)  =  APP24_IN_GAAA(x1)
U1_GAAA(x1, x2, x3, x4, x5, x6)  =  U1_GAAA(x1, x6)
U3_GGA(x1, x2, x3, x4, x5)  =  U3_GGA(x1, x2, x3, x5)
U18_GG(x1, x2, x3, x4, x5)  =  U18_GG(x1, x2, x3, x4, x5)
U19_GG(x1, x2, x3, x4, x5)  =  U19_GG(x1, x2, x3, x4, x5)
APP41_IN_GGA(x1, x2, x3)  =  APP41_IN_GGA(x1, x2)
U16_GGA(x1, x2, x3, x4)  =  U16_GGA(x1, x2, x4)
APP14_IN_GGA(x1, x2, x3)  =  APP14_IN_GGA(x1, x2)
U4_GGA(x1, x2, x3, x4, x5)  =  U4_GGA(x1, x5)
U5_GGA(x1, x2, x3, x4, x5)  =  U5_GGA(x1, x2, x3, x5)
U20_GG(x1, x2, x3, x4, x5)  =  U20_GG(x1, x2, x3, x4, x5)
APP10_IN_GGG(x1, x2, x3)  =  APP10_IN_GGG(x1, x2, x3)
U2_GGG(x1, x2, x3, x4, x5)  =  U2_GGG(x1, x2, x3, x4, x5)
APP24_IN_GGAA(x1, x2, x3, x4)  =  APP24_IN_GGAA(x1, x2)
U1_GGAA(x1, x2, x3, x4, x5, x6)  =  U1_GGAA(x1, x2, x3, x6)
U3_GGG(x1, x2, x3, x4, x5)  =  U3_GGG(x1, x2, x3, x4, x5)
U21_GG(x1, x2, x3, x4, x5)  =  U21_GG(x1, x2, x3, x4, x5)
U22_GG(x1, x2, x3, x4, x5)  =  U22_GG(x1, x2, x3, x4, x5)
U23_GG(x1, x2, x3, x4, x5, x6, x7)  =  U23_GG(x1, x2, x3, x4, x7)
U24_GG(x1, x2, x3, x4, x5)  =  U24_GG(x1, x2, x3, x4, x5)
APP60_IN_AAA(x1, x2, x3)  =  APP60_IN_AAA
U7_AAA(x1, x2, x3, x4, x5)  =  U7_AAA(x5)
APP75_IN_AA(x1, x2)  =  APP75_IN_AA
U6_AA(x1, x2, x3, x4)  =  U6_AA(x4)
U8_AAA(x1, x2, x3, x4, x5)  =  U8_AAA(x5)
U9_AAA(x1, x2, x3, x4, x5)  =  U9_AAA(x5)
U25_GG(x1, x2, x3, x4, x5, x6, x7)  =  U25_GG(x1, x2, x3, x4, x7)
U26_GG(x1, x2, x3, x4, x5, x6, x7)  =  U26_GG(x1, x2, x3, x4, x7)
U27_GG(x1, x2, x3, x4, x5)  =  U27_GG(x1, x2, x3, x4, x5)
U28_GG(x1, x2, x3, x4, x5, x6, x7)  =  U28_GG(x1, x2, x3, x4, x7)
U29_GG(x1, x2, x3, x4, x5, x6)  =  U29_GG(x1, x2, x3, x4, x6)
U30_GG(x1, x2, x3, x4, x5)  =  U30_GG(x1, x2, x3, x4, x5)
LESSLEAVES42_IN_AA(x1, x2)  =  LESSLEAVES42_IN_AA
U10_AA(x1, x2, x3, x4, x5)  =  U10_AA(x5)
U11_AA(x1, x2, x3, x4, x5)  =  U11_AA(x5)
U12_AA(x1, x2, x3, x4, x5)  =  U12_AA(x5)
U13_AA(x1, x2, x3, x4, x5)  =  U13_AA(x5)
U14_AA(x1, x2, x3, x4, x5, x6)  =  U14_AA(x6)
U15_AA(x1, x2, x3, x4, x5)  =  U15_AA(x5)

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

(74) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 7 SCCs with 51 less nodes.

(75) Complex Obligation (AND)

(76) Obligation:

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

APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg(x1, x2)
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x1, x2, x3, x4, x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga(x1, x2)
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x1, x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x1, x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa(x1)
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x1, x2, x3, x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x1, x2, x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x1, x2, x3, x4, x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga(x1, x2)
U16_gga(x1, x2, x3, x4)  =  U16_gga(x1, x2, x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga(x1, x2)
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x1, x2, x3, x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x1, x2, x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg(x1, x2, x3)
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x1, x2, x3, x4, x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x1, x2, x3, x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa(x1, x2)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x1, x2, x3, x4, x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x1, x2, x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x1, x2, x3, x4, x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x1, x2, x3, x4, x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x1, x2, x3, x4, x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x1, x2, x3, x4, x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x1, x2, x3, x4, x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x1, x2, x3, x4, x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x1, x2, x3, x4, x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x1, x2, x3, x4, x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
APP75_IN_AA(x1, x2)  =  APP75_IN_AA

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

(77) UsableRulesProof (EQUIVALENT transformation)

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

(78) Obligation:

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

APP75_IN_AA(T44, cons(X136, X133)) → APP75_IN_AA(T44, X133)

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

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

(79) PiDPToQDPProof (SOUND transformation)

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

(80) Obligation:

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

APP75_IN_AAAPP75_IN_AA

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

(81) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = APP75_IN_AA evaluates to t =APP75_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from APP75_IN_AA to APP75_IN_AA.



(82) FALSE

(83) Obligation:

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

APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg(x1, x2)
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x1, x2, x3, x4, x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga(x1, x2)
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x1, x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x1, x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa(x1)
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x1, x2, x3, x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x1, x2, x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x1, x2, x3, x4, x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga(x1, x2)
U16_gga(x1, x2, x3, x4)  =  U16_gga(x1, x2, x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga(x1, x2)
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x1, x2, x3, x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x1, x2, x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg(x1, x2, x3)
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x1, x2, x3, x4, x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x1, x2, x3, x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa(x1, x2)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x1, x2, x3, x4, x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x1, x2, x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x1, x2, x3, x4, x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x1, x2, x3, x4, x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x1, x2, x3, x4, x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x1, x2, x3, x4, x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x1, x2, x3, x4, x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x1, x2, x3, x4, x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x1, x2, x3, x4, x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x1, x2, x3, x4, x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
APP60_IN_AAA(x1, x2, x3)  =  APP60_IN_AAA

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

(84) UsableRulesProof (EQUIVALENT transformation)

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

(85) Obligation:

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

APP60_IN_AAA(.(T50, T52), T53, cons(T50, X117)) → APP60_IN_AAA(T52, T53, X117)

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

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

(86) PiDPToQDPProof (SOUND transformation)

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

(87) Obligation:

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

APP60_IN_AAAAPP60_IN_AAA

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

(88) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = APP60_IN_AAA evaluates to t =APP60_IN_AAA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from APP60_IN_AAA to APP60_IN_AAA.



(89) FALSE

(90) Obligation:

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

LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg(x1, x2)
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x1, x2, x3, x4, x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga(x1, x2)
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x1, x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x1, x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa(x1)
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x1, x2, x3, x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x1, x2, x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x1, x2, x3, x4, x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga(x1, x2)
U16_gga(x1, x2, x3, x4)  =  U16_gga(x1, x2, x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga(x1, x2)
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x1, x2, x3, x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x1, x2, x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg(x1, x2, x3)
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x1, x2, x3, x4, x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x1, x2, x3, x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa(x1, x2)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x1, x2, x3, x4, x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x1, x2, x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x1, x2, x3, x4, x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x1, x2, x3, x4, x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x1, x2, x3, x4, x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x1, x2, x3, x4, x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x1, x2, x3, x4, x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x1, x2, x3, x4, x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x1, x2, x3, x4, x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x1, x2, x3, x4, x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
LESSLEAVES42_IN_AA(x1, x2)  =  LESSLEAVES42_IN_AA
U13_AA(x1, x2, x3, x4, x5)  =  U13_AA(x5)
U14_AA(x1, x2, x3, x4, x5, x6)  =  U14_AA(x6)

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

(91) UsableRulesProof (EQUIVALENT transformation)

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

(92) Obligation:

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

LESSLEAVES42_IN_AA(cons(T28, T29), cons(T33, T34)) → U13_AA(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_AA(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_AA(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_AA(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → LESSLEAVES42_IN_AA(T64, T63)

The TRS R consists of the following rules:

app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))

The argument filtering Pi contains the following mapping:
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
[]  =  []
.(x1, x2)  =  .(x1, x2)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
LESSLEAVES42_IN_AA(x1, x2)  =  LESSLEAVES42_IN_AA
U13_AA(x1, x2, x3, x4, x5)  =  U13_AA(x5)
U14_AA(x1, x2, x3, x4, x5, x6)  =  U14_AA(x6)

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

(93) PiDPToQDPProof (SOUND transformation)

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

(94) Obligation:

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

LESSLEAVES42_IN_AAU13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA

The TRS R consists of the following rules:

app60_in_aaaapp60_out_aaa
app60_in_aaaU7_aaa(app75_in_aa)
app60_in_aaaU8_aaa(app60_in_aaa)
app60_in_aaaU9_aaa(app60_in_aaa)
U7_aaa(app75_out_aa(T44)) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa
U9_aaa(app60_out_aaa) → app60_out_aaa
app75_in_aaU6_aa(app75_in_aa)
U6_aa(app75_out_aa(T44)) → app75_out_aa(T44)

The set Q consists of the following terms:

app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)

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

(95) MRRProof (EQUIVALENT transformation)

By using the rule removal processor [LPAR04] with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented.

Strictly oriented rules of the TRS R:

app60_in_aaaU7_aaa(app75_in_aa)
U7_aaa(app75_out_aa(T44)) → app60_out_aaa

Used ordering: Polynomial interpretation [POLO]:

POL(LESSLEAVES42_IN_AA) = 1   
POL(U13_AA(x1)) = x1   
POL(U14_AA(x1)) = x1   
POL(U6_aa(x1)) = x1   
POL(U7_aaa(x1)) = x1   
POL(U8_aaa(x1)) = x1   
POL(U9_aaa(x1)) = x1   
POL(app60_in_aaa) = 1   
POL(app60_out_aaa) = 1   
POL(app75_in_aa) = 0   
POL(app75_out_aa(x1)) = 2 + x1   

(96) Obligation:

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

LESSLEAVES42_IN_AAU13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA

The TRS R consists of the following rules:

app60_in_aaaapp60_out_aaa
app60_in_aaaU8_aaa(app60_in_aaa)
app60_in_aaaU9_aaa(app60_in_aaa)
U8_aaa(app60_out_aaa) → app60_out_aaa
U9_aaa(app60_out_aaa) → app60_out_aaa
app75_in_aaU6_aa(app75_in_aa)
U6_aa(app75_out_aa(T44)) → app75_out_aa(T44)

The set Q consists of the following terms:

app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)

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

(97) UsableRulesProof (EQUIVALENT transformation)

As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R.

(98) Obligation:

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

LESSLEAVES42_IN_AAU13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA

The TRS R consists of the following rules:

app60_in_aaaapp60_out_aaa
app60_in_aaaU8_aaa(app60_in_aaa)
app60_in_aaaU9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa

The set Q consists of the following terms:

app60_in_aaa
U7_aaa(x0)
U8_aaa(x0)
U9_aaa(x0)
app75_in_aa
U6_aa(x0)

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

(99) QReductionProof (EQUIVALENT transformation)

We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN].

U7_aaa(x0)
app75_in_aa
U6_aa(x0)

(100) Obligation:

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

LESSLEAVES42_IN_AAU13_AA(app60_in_aaa)
U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA

The TRS R consists of the following rules:

app60_in_aaaapp60_out_aaa
app60_in_aaaU8_aaa(app60_in_aaa)
app60_in_aaaU9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa

The set Q consists of the following terms:

app60_in_aaa
U8_aaa(x0)
U9_aaa(x0)

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

(101) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule LESSLEAVES42_IN_AAU13_AA(app60_in_aaa) at position [0] we obtained the following new rules [LPAR04]:

LESSLEAVES42_IN_AAU13_AA(app60_out_aaa)
LESSLEAVES42_IN_AAU13_AA(U8_aaa(app60_in_aaa))
LESSLEAVES42_IN_AAU13_AA(U9_aaa(app60_in_aaa))

(102) Obligation:

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

U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa)
U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
LESSLEAVES42_IN_AAU13_AA(app60_out_aaa)
LESSLEAVES42_IN_AAU13_AA(U8_aaa(app60_in_aaa))
LESSLEAVES42_IN_AAU13_AA(U9_aaa(app60_in_aaa))

The TRS R consists of the following rules:

app60_in_aaaapp60_out_aaa
app60_in_aaaU8_aaa(app60_in_aaa)
app60_in_aaaU9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa

The set Q consists of the following terms:

app60_in_aaa
U8_aaa(x0)
U9_aaa(x0)

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

(103) Narrowing (SOUND transformation)

By narrowing [LPAR04] the rule U13_AA(app60_out_aaa) → U14_AA(app60_in_aaa) at position [0] we obtained the following new rules [LPAR04]:

U13_AA(app60_out_aaa) → U14_AA(app60_out_aaa)
U13_AA(app60_out_aaa) → U14_AA(U8_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(U9_aaa(app60_in_aaa))

(104) Obligation:

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

U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA
LESSLEAVES42_IN_AAU13_AA(app60_out_aaa)
LESSLEAVES42_IN_AAU13_AA(U8_aaa(app60_in_aaa))
LESSLEAVES42_IN_AAU13_AA(U9_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(app60_out_aaa)
U13_AA(app60_out_aaa) → U14_AA(U8_aaa(app60_in_aaa))
U13_AA(app60_out_aaa) → U14_AA(U9_aaa(app60_in_aaa))

The TRS R consists of the following rules:

app60_in_aaaapp60_out_aaa
app60_in_aaaU8_aaa(app60_in_aaa)
app60_in_aaaU9_aaa(app60_in_aaa)
U9_aaa(app60_out_aaa) → app60_out_aaa
U8_aaa(app60_out_aaa) → app60_out_aaa

The set Q consists of the following terms:

app60_in_aaa
U8_aaa(x0)
U9_aaa(x0)

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

(105) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by narrowing to the left:

s = LESSLEAVES42_IN_AA evaluates to t =LESSLEAVES42_IN_AA

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Matcher: [ ]
  • Semiunifier: [ ]




Rewriting sequence

LESSLEAVES42_IN_AAU13_AA(app60_out_aaa)
with rule LESSLEAVES42_IN_AAU13_AA(app60_out_aaa) at position [] and matcher [ ]

U13_AA(app60_out_aaa)U14_AA(app60_out_aaa)
with rule U13_AA(app60_out_aaa) → U14_AA(app60_out_aaa) at position [] and matcher [ ]

U14_AA(app60_out_aaa)LESSLEAVES42_IN_AA
with rule U14_AA(app60_out_aaa) → LESSLEAVES42_IN_AA

Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence


All these steps are and every following step will be a correct step w.r.t to Q.



(106) FALSE

(107) Obligation:

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

APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg(x1, x2)
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x1, x2, x3, x4, x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga(x1, x2)
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x1, x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x1, x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa(x1)
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x1, x2, x3, x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x1, x2, x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x1, x2, x3, x4, x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga(x1, x2)
U16_gga(x1, x2, x3, x4)  =  U16_gga(x1, x2, x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga(x1, x2)
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x1, x2, x3, x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x1, x2, x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg(x1, x2, x3)
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x1, x2, x3, x4, x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x1, x2, x3, x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa(x1, x2)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x1, x2, x3, x4, x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x1, x2, x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x1, x2, x3, x4, x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x1, x2, x3, x4, x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x1, x2, x3, x4, x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x1, x2, x3, x4, x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x1, x2, x3, x4, x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x1, x2, x3, x4, x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x1, x2, x3, x4, x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x1, x2, x3, x4, x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
APP24_IN_GGAA(x1, x2, x3, x4)  =  APP24_IN_GGAA(x1, x2)

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

(108) UsableRulesProof (EQUIVALENT transformation)

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

(109) Obligation:

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

APP24_IN_GGAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GGAA(T14, X55, X53, X54)

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

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

(110) PiDPToQDPProof (SOUND transformation)

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

(111) Obligation:

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

APP24_IN_GGAA(T14, cons(X58, X55)) → APP24_IN_GGAA(T14, X55)

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

(112) 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:

  • APP24_IN_GGAA(T14, cons(X58, X55)) → APP24_IN_GGAA(T14, X55)
    The graph contains the following edges 1 >= 1, 2 > 2

(113) TRUE

(114) Obligation:

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

APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg(x1, x2)
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x1, x2, x3, x4, x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga(x1, x2)
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x1, x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x1, x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa(x1)
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x1, x2, x3, x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x1, x2, x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x1, x2, x3, x4, x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga(x1, x2)
U16_gga(x1, x2, x3, x4)  =  U16_gga(x1, x2, x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga(x1, x2)
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x1, x2, x3, x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x1, x2, x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg(x1, x2, x3)
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x1, x2, x3, x4, x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x1, x2, x3, x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa(x1, x2)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x1, x2, x3, x4, x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x1, x2, x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x1, x2, x3, x4, x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x1, x2, x3, x4, x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x1, x2, x3, x4, x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x1, x2, x3, x4, x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x1, x2, x3, x4, x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x1, x2, x3, x4, x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x1, x2, x3, x4, x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x1, x2, x3, x4, x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
APP10_IN_GGG(x1, x2, x3)  =  APP10_IN_GGG(x1, x2, x3)

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

(115) UsableRulesProof (EQUIVALENT transformation)

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

(116) Obligation:

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

APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)

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

(117) PiDPToQDPProof (EQUIVALENT transformation)

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

(118) Obligation:

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

APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)

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

(119) 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:

  • APP10_IN_GGG(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGG(T18, T13, X39)
    The graph contains the following edges 1 > 1, 2 >= 2, 3 > 3

(120) TRUE

(121) Obligation:

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

APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg(x1, x2)
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x1, x2, x3, x4, x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga(x1, x2)
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x1, x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x1, x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa(x1)
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x1, x2, x3, x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x1, x2, x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x1, x2, x3, x4, x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga(x1, x2)
U16_gga(x1, x2, x3, x4)  =  U16_gga(x1, x2, x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga(x1, x2)
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x1, x2, x3, x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x1, x2, x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg(x1, x2, x3)
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x1, x2, x3, x4, x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x1, x2, x3, x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa(x1, x2)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x1, x2, x3, x4, x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x1, x2, x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x1, x2, x3, x4, x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x1, x2, x3, x4, x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x1, x2, x3, x4, x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x1, x2, x3, x4, x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x1, x2, x3, x4, x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x1, x2, x3, x4, x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x1, x2, x3, x4, x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x1, x2, x3, x4, x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
APP24_IN_GAAA(x1, x2, x3, x4)  =  APP24_IN_GAAA(x1)

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

(122) UsableRulesProof (EQUIVALENT transformation)

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

(123) Obligation:

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

APP24_IN_GAAA(T14, cons(X58, X55), X37, X38) → APP24_IN_GAAA(T14, X55, X53, X54)

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

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

(124) PiDPToQDPProof (SOUND transformation)

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

(125) Obligation:

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

APP24_IN_GAAA(T14) → APP24_IN_GAAA(T14)

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

(126) NonTerminationProof (EQUIVALENT transformation)

We used the non-termination processor [FROCOS05] to show that the DP problem is infinite.
Found a loop by semiunifying a rule from P directly.

s = APP24_IN_GAAA(T14) evaluates to t =APP24_IN_GAAA(T14)

Thus s starts an infinite chain as s semiunifies with t with the following substitutions:
  • Semiunifier: [ ]
  • Matcher: [ ]




Rewriting sequence

The DP semiunifies directly so there is only one rewrite step from APP24_IN_GAAA(T14) to APP24_IN_GAAA(T14).



(127) FALSE

(128) Obligation:

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

APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)

The TRS R consists of the following rules:

lessleaves1_in_gg(nil, cons(T3, T4)) → lessleaves1_out_gg(nil, cons(T3, T4))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U17_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, X20))
app10_in_gga(nil, T11, T11) → app10_out_gga(nil, T11, T11)
app10_in_gga([], T14, cons(X42, cons(X58, X55))) → U2_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
app24_in_gaaa(T14, cons(X58, X55), X37, X38) → U1_gaaa(T14, X58, X55, X37, X38, app24_in_gaaa(T14, X55, X53, X54))
U1_gaaa(T14, X58, X55, X37, X38, app24_out_gaaa(T14, X55, X53, X54)) → app24_out_gaaa(T14, cons(X58, X55), X37, X38)
U2_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app10_out_gga([], T14, cons(X42, cons(X58, X55)))
app10_in_gga(.(T17, T18), T13, cons(T17, X39)) → U3_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U3_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app10_out_gga(.(T17, T18), T13, cons(T17, X39))
U17_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, X20)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U18_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, T9))
U18_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, T9)) → U19_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, X21))
app41_in_gga(nil, T21, T21) → app41_out_gga(nil, T21, T21)
app41_in_gga(T7, T8, X21) → U16_gga(T7, T8, X21, app14_in_gga(T7, T8, X21))
app14_in_gga([], T14, cons(X42, cons(X58, X55))) → U4_gga(T14, X42, X58, X55, app24_in_gaaa(T14, X55, X53, X54))
U4_gga(T14, X42, X58, X55, app24_out_gaaa(T14, X55, X53, X54)) → app14_out_gga([], T14, cons(X42, cons(X58, X55)))
app14_in_gga(.(T17, T18), T13, cons(T17, X39)) → U5_gga(T17, T18, T13, X39, app10_in_gga(T18, T13, X39))
U5_gga(T17, T18, T13, X39, app10_out_gga(T18, T13, X39)) → app14_out_gga(.(T17, T18), T13, cons(T17, X39))
U16_gga(T7, T8, X21, app14_out_gga(T7, T8, X21)) → app41_out_gga(T7, T8, X21)
U19_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, X21)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U20_gg(T5, T6, T7, T8, app10_in_ggg(T5, T6, nil))
app10_in_ggg(nil, T11, T11) → app10_out_ggg(nil, T11, T11)
app10_in_ggg([], T14, cons(X42, cons(X58, X55))) → U2_ggg(T14, X42, X58, X55, app24_in_ggaa(T14, X55, X53, X54))
app24_in_ggaa(T14, cons(X58, X55), X37, X38) → U1_ggaa(T14, X58, X55, X37, X38, app24_in_ggaa(T14, X55, X53, X54))
U1_ggaa(T14, X58, X55, X37, X38, app24_out_ggaa(T14, X55, X53, X54)) → app24_out_ggaa(T14, cons(X58, X55), X37, X38)
U2_ggg(T14, X42, X58, X55, app24_out_ggaa(T14, X55, X53, X54)) → app10_out_ggg([], T14, cons(X42, cons(X58, X55)))
app10_in_ggg(.(T17, T18), T13, cons(T17, X39)) → U3_ggg(T17, T18, T13, X39, app10_in_ggg(T18, T13, X39))
U3_ggg(T17, T18, T13, X39, app10_out_ggg(T18, T13, X39)) → app10_out_ggg(.(T17, T18), T13, cons(T17, X39))
U20_gg(T5, T6, T7, T8, app10_out_ggg(T5, T6, nil)) → U21_gg(T5, T6, T7, T8, app41_in_gga(T7, T8, cons(T22, T23)))
U21_gg(T5, T6, T7, T8, app41_out_gga(T7, T8, cons(T22, T23))) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
lessleaves1_in_gg(cons(T5, T6), cons(T7, T8)) → U22_gg(T5, T6, T7, T8, app10_in_gga(T5, T6, cons(T28, T29)))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U23_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T30, T31)))
U23_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T30, T31))) → U24_gg(T5, T6, T7, T8, app60_in_aaa(T28, T29, X98))
app60_in_aaa(nil, T37, T37) → app60_out_aaa(nil, T37, T37)
app60_in_aaa([], T44, cons(X120, cons(X136, X133))) → U7_aaa(T44, X120, X136, X133, app75_in_aa(T44, X133))
app75_in_aa(T44, cons(X136, X133)) → U6_aa(T44, X136, X133, app75_in_aa(T44, X133))
U6_aa(T44, X136, X133, app75_out_aa(T44, X133)) → app75_out_aa(T44, cons(X136, X133))
U7_aaa(T44, X120, X136, X133, app75_out_aa(T44, X133)) → app60_out_aaa([], T44, cons(X120, cons(X136, X133)))
app60_in_aaa(.(T50, T52), T53, cons(T50, X117)) → U8_aaa(T50, T52, T53, X117, app60_in_aaa(T52, T53, X117))
app60_in_aaa(.(T59, T61), T62, cons(T59, X117)) → U9_aaa(T59, T61, T62, X117, app60_in_aaa(T61, T62, X117))
U9_aaa(T59, T61, T62, X117, app60_out_aaa(T61, T62, X117)) → app60_out_aaa(.(T59, T61), T62, cons(T59, X117))
U8_aaa(T50, T52, T53, X117, app60_out_aaa(T52, T53, X117)) → app60_out_aaa(.(T50, T52), T53, cons(T50, X117))
U24_gg(T5, T6, T7, T8, app60_out_aaa(T28, T29, X98)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U22_gg(T5, T6, T7, T8, app10_out_gga(T5, T6, cons(T28, T29))) → U25_gg(T5, T6, T7, T8, T28, T29, app41_in_gga(T7, T8, cons(T33, T34)))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U26_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T32))
U26_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T32)) → U27_gg(T5, T6, T7, T8, app60_in_aaa(T33, T34, X99))
U27_gg(T5, T6, T7, T8, app60_out_aaa(T33, T34, X99)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))
U25_gg(T5, T6, T7, T8, T28, T29, app41_out_gga(T7, T8, cons(T33, T34))) → U28_gg(T5, T6, T7, T8, T33, T34, app60_in_aaa(T28, T29, T64))
U28_gg(T5, T6, T7, T8, T33, T34, app60_out_aaa(T28, T29, T64)) → U29_gg(T5, T6, T7, T8, T64, app60_in_aaa(T33, T34, T63))
U29_gg(T5, T6, T7, T8, T64, app60_out_aaa(T33, T34, T63)) → U30_gg(T5, T6, T7, T8, lessleaves42_in_aa(T64, T63))
lessleaves42_in_aa(nil, cons(T22, T23)) → lessleaves42_out_aa(nil, cons(T22, T23))
lessleaves42_in_aa(cons(T28, T29), cons(T30, T31)) → U10_aa(T28, T29, T30, T31, app60_in_aaa(T28, T29, X98))
U10_aa(T28, T29, T30, T31, app60_out_aaa(T28, T29, X98)) → lessleaves42_out_aa(cons(T28, T29), cons(T30, T31))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U11_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T32))
U11_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T32)) → U12_aa(T28, T29, T33, T34, app60_in_aaa(T33, T34, X99))
U12_aa(T28, T29, T33, T34, app60_out_aaa(T33, T34, X99)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
lessleaves42_in_aa(cons(T28, T29), cons(T33, T34)) → U13_aa(T28, T29, T33, T34, app60_in_aaa(T28, T29, T64))
U13_aa(T28, T29, T33, T34, app60_out_aaa(T28, T29, T64)) → U14_aa(T28, T29, T33, T34, T64, app60_in_aaa(T33, T34, T63))
U14_aa(T28, T29, T33, T34, T64, app60_out_aaa(T33, T34, T63)) → U15_aa(T28, T29, T33, T34, lessleaves42_in_aa(T64, T63))
U15_aa(T28, T29, T33, T34, lessleaves42_out_aa(T64, T63)) → lessleaves42_out_aa(cons(T28, T29), cons(T33, T34))
U30_gg(T5, T6, T7, T8, lessleaves42_out_aa(T64, T63)) → lessleaves1_out_gg(cons(T5, T6), cons(T7, T8))

The argument filtering Pi contains the following mapping:
lessleaves1_in_gg(x1, x2)  =  lessleaves1_in_gg(x1, x2)
nil  =  nil
cons(x1, x2)  =  cons(x1, x2)
lessleaves1_out_gg(x1, x2)  =  lessleaves1_out_gg(x1, x2)
U17_gg(x1, x2, x3, x4, x5)  =  U17_gg(x1, x2, x3, x4, x5)
app10_in_gga(x1, x2, x3)  =  app10_in_gga(x1, x2)
app10_out_gga(x1, x2, x3)  =  app10_out_gga(x1, x2)
[]  =  []
U2_gga(x1, x2, x3, x4, x5)  =  U2_gga(x1, x5)
app24_in_gaaa(x1, x2, x3, x4)  =  app24_in_gaaa(x1)
U1_gaaa(x1, x2, x3, x4, x5, x6)  =  U1_gaaa(x1, x6)
app24_out_gaaa(x1, x2, x3, x4)  =  app24_out_gaaa(x1)
.(x1, x2)  =  .(x1, x2)
U3_gga(x1, x2, x3, x4, x5)  =  U3_gga(x1, x2, x3, x5)
U18_gg(x1, x2, x3, x4, x5)  =  U18_gg(x1, x2, x3, x4, x5)
U19_gg(x1, x2, x3, x4, x5)  =  U19_gg(x1, x2, x3, x4, x5)
app41_in_gga(x1, x2, x3)  =  app41_in_gga(x1, x2)
app41_out_gga(x1, x2, x3)  =  app41_out_gga(x1, x2)
U16_gga(x1, x2, x3, x4)  =  U16_gga(x1, x2, x4)
app14_in_gga(x1, x2, x3)  =  app14_in_gga(x1, x2)
U4_gga(x1, x2, x3, x4, x5)  =  U4_gga(x1, x5)
app14_out_gga(x1, x2, x3)  =  app14_out_gga(x1, x2)
U5_gga(x1, x2, x3, x4, x5)  =  U5_gga(x1, x2, x3, x5)
U20_gg(x1, x2, x3, x4, x5)  =  U20_gg(x1, x2, x3, x4, x5)
app10_in_ggg(x1, x2, x3)  =  app10_in_ggg(x1, x2, x3)
app10_out_ggg(x1, x2, x3)  =  app10_out_ggg(x1, x2, x3)
U2_ggg(x1, x2, x3, x4, x5)  =  U2_ggg(x1, x2, x3, x4, x5)
app24_in_ggaa(x1, x2, x3, x4)  =  app24_in_ggaa(x1, x2)
U1_ggaa(x1, x2, x3, x4, x5, x6)  =  U1_ggaa(x1, x2, x3, x6)
app24_out_ggaa(x1, x2, x3, x4)  =  app24_out_ggaa(x1, x2)
U3_ggg(x1, x2, x3, x4, x5)  =  U3_ggg(x1, x2, x3, x4, x5)
U21_gg(x1, x2, x3, x4, x5)  =  U21_gg(x1, x2, x3, x4, x5)
U22_gg(x1, x2, x3, x4, x5)  =  U22_gg(x1, x2, x3, x4, x5)
U23_gg(x1, x2, x3, x4, x5, x6, x7)  =  U23_gg(x1, x2, x3, x4, x7)
U24_gg(x1, x2, x3, x4, x5)  =  U24_gg(x1, x2, x3, x4, x5)
app60_in_aaa(x1, x2, x3)  =  app60_in_aaa
app60_out_aaa(x1, x2, x3)  =  app60_out_aaa
U7_aaa(x1, x2, x3, x4, x5)  =  U7_aaa(x5)
app75_in_aa(x1, x2)  =  app75_in_aa
U6_aa(x1, x2, x3, x4)  =  U6_aa(x4)
app75_out_aa(x1, x2)  =  app75_out_aa(x1)
U8_aaa(x1, x2, x3, x4, x5)  =  U8_aaa(x5)
U9_aaa(x1, x2, x3, x4, x5)  =  U9_aaa(x5)
U25_gg(x1, x2, x3, x4, x5, x6, x7)  =  U25_gg(x1, x2, x3, x4, x7)
U26_gg(x1, x2, x3, x4, x5, x6, x7)  =  U26_gg(x1, x2, x3, x4, x7)
U27_gg(x1, x2, x3, x4, x5)  =  U27_gg(x1, x2, x3, x4, x5)
U28_gg(x1, x2, x3, x4, x5, x6, x7)  =  U28_gg(x1, x2, x3, x4, x7)
U29_gg(x1, x2, x3, x4, x5, x6)  =  U29_gg(x1, x2, x3, x4, x6)
U30_gg(x1, x2, x3, x4, x5)  =  U30_gg(x1, x2, x3, x4, x5)
lessleaves42_in_aa(x1, x2)  =  lessleaves42_in_aa
lessleaves42_out_aa(x1, x2)  =  lessleaves42_out_aa
U10_aa(x1, x2, x3, x4, x5)  =  U10_aa(x5)
U11_aa(x1, x2, x3, x4, x5)  =  U11_aa(x5)
U12_aa(x1, x2, x3, x4, x5)  =  U12_aa(x5)
U13_aa(x1, x2, x3, x4, x5)  =  U13_aa(x5)
U14_aa(x1, x2, x3, x4, x5, x6)  =  U14_aa(x6)
U15_aa(x1, x2, x3, x4, x5)  =  U15_aa(x5)
APP10_IN_GGA(x1, x2, x3)  =  APP10_IN_GGA(x1, x2)

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

(129) UsableRulesProof (EQUIVALENT transformation)

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

(130) Obligation:

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

APP10_IN_GGA(.(T17, T18), T13, cons(T17, X39)) → APP10_IN_GGA(T18, T13, X39)

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

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

(131) PiDPToQDPProof (SOUND transformation)

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

(132) Obligation:

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

APP10_IN_GGA(.(T17, T18), T13) → APP10_IN_GGA(T18, T13)

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

(133) 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:

  • APP10_IN_GGA(.(T17, T18), T13) → APP10_IN_GGA(T18, T13)
    The graph contains the following edges 1 > 1, 2 >= 2

(134) TRUE