(0) Obligation:

Clauses:

g(W) :- ','(eq(X, .(.(a, []), .(.(R, []), []))), ','(eq(Y, .(.(S, .(c, [])), .([], []))), ','(app_1(X, Y, Z), ','(eq(Z, .(U, V)), app_2(U, U, W))))).
app_1([], X, X).
app_1(.(X, Xs), Ys, .(X, Zs)) :- app_1(Xs, Ys, Zs).
app_2([], X, X).
app_2(.(X, Xs), Ys, .(X, Zs)) :- app_2(Xs, Ys, Zs).
eq(X, X).

Queries:

g(a).

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph.

(2) Obligation:

Clauses:

app_289([], T451, T452, .(T451, T452)).
app_289(.(T463, T468), T470, T471, .(T463, T469)) :- app_289(T468, T470, T471, T469).
app_18(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], []))))).
g1(T4) :- app_18(X27, X54, X7).
g1([]) :- app_18(X27, X54, .([], T15)).
g1(.(T36, .(T36, []))) :- app_18(X27, X54, .(.(T36, []), T15)).
g1(.(T65, .(T66, .(T65, .(T66, []))))) :- app_18(X27, X54, .(.(T65, .(T66, [])), T15)).
g1(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) :- app_18(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)).
g1(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) :- app_18(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)).
g1(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) :- app_18(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)).
g1(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) :- app_18(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)).
g1(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) :- app_18(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)).
g1(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) :- ','(app_18(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)), app_289(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)).

Queries:

g1(a).

(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:
g1_in: (f)
app_289_in: (f,f,f,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

g1_in_a(T4) → U2_a(T4, app_18_in_aaa(X27, X54, X7))
app_18_in_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], []))))) → app_18_out_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], [])))))
U2_a(T4, app_18_out_aaa(X27, X54, X7)) → g1_out_a(T4)
g1_in_a([]) → U3_a(app_18_in_aaa(X27, X54, .([], T15)))
U3_a(app_18_out_aaa(X27, X54, .([], T15))) → g1_out_a([])
g1_in_a(.(T36, .(T36, []))) → U4_a(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
U4_a(T36, app_18_out_aaa(X27, X54, .(.(T36, []), T15))) → g1_out_a(.(T36, .(T36, [])))
g1_in_a(.(T65, .(T66, .(T65, .(T66, []))))) → U5_a(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
U5_a(T65, T66, app_18_out_aaa(X27, X54, .(.(T65, .(T66, [])), T15))) → g1_out_a(.(T65, .(T66, .(T65, .(T66, [])))))
g1_in_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_a(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
U6_a(T105, T106, T107, app_18_out_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))) → g1_out_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, [])))))))
g1_in_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_a(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
U7_a(T156, T157, T158, T159, app_18_out_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))) → g1_out_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, [])))))))))
g1_in_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_a(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
U8_a(T218, T219, T220, T221, T222, app_18_out_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))) → g1_out_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, [])))))))))))
g1_in_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_a(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
U9_a(T291, T292, T293, T294, T295, T296, app_18_out_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))) → g1_out_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))))))))))
g1_in_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_out_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))) → g1_out_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, [])))))))))))))))
g1_in_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
app_289_in_aaaa([], T451, T452, .(T451, T452)) → app_289_out_aaaa([], T451, T452, .(T451, T452))
app_289_in_aaaa(.(T463, T468), T470, T471, .(T463, T469)) → U1_aaaa(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
U1_aaaa(T463, T468, T470, T471, T469, app_289_out_aaaa(T468, T470, T471, T469)) → app_289_out_aaaa(.(T463, T468), T470, T471, .(T463, T469))
U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_out_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)) → g1_out_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413)))))))))

The argument filtering Pi contains the following mapping:
g1_in_a(x1)  =  g1_in_a
U2_a(x1, x2)  =  U2_a(x2)
app_18_in_aaa(x1, x2, x3)  =  app_18_in_aaa
app_18_out_aaa(x1, x2, x3)  =  app_18_out_aaa
g1_out_a(x1)  =  g1_out_a
U3_a(x1)  =  U3_a(x1)
U4_a(x1, x2)  =  U4_a(x2)
U5_a(x1, x2, x3)  =  U5_a(x3)
U6_a(x1, x2, x3, x4)  =  U6_a(x4)
U7_a(x1, x2, x3, x4, x5)  =  U7_a(x5)
U8_a(x1, x2, x3, x4, x5, x6)  =  U8_a(x6)
U9_a(x1, x2, x3, x4, x5, x6, x7)  =  U9_a(x7)
U10_a(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_a(x8)
U11_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_a(x10)
U12_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_a(x10)
app_289_in_aaaa(x1, x2, x3, x4)  =  app_289_in_aaaa
app_289_out_aaaa(x1, x2, x3, x4)  =  app_289_out_aaaa
U1_aaaa(x1, x2, x3, x4, x5, x6)  =  U1_aaaa(x6)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(4) Obligation:

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

g1_in_a(T4) → U2_a(T4, app_18_in_aaa(X27, X54, X7))
app_18_in_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], []))))) → app_18_out_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], [])))))
U2_a(T4, app_18_out_aaa(X27, X54, X7)) → g1_out_a(T4)
g1_in_a([]) → U3_a(app_18_in_aaa(X27, X54, .([], T15)))
U3_a(app_18_out_aaa(X27, X54, .([], T15))) → g1_out_a([])
g1_in_a(.(T36, .(T36, []))) → U4_a(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
U4_a(T36, app_18_out_aaa(X27, X54, .(.(T36, []), T15))) → g1_out_a(.(T36, .(T36, [])))
g1_in_a(.(T65, .(T66, .(T65, .(T66, []))))) → U5_a(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
U5_a(T65, T66, app_18_out_aaa(X27, X54, .(.(T65, .(T66, [])), T15))) → g1_out_a(.(T65, .(T66, .(T65, .(T66, [])))))
g1_in_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_a(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
U6_a(T105, T106, T107, app_18_out_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))) → g1_out_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, [])))))))
g1_in_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_a(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
U7_a(T156, T157, T158, T159, app_18_out_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))) → g1_out_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, [])))))))))
g1_in_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_a(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
U8_a(T218, T219, T220, T221, T222, app_18_out_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))) → g1_out_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, [])))))))))))
g1_in_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_a(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
U9_a(T291, T292, T293, T294, T295, T296, app_18_out_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))) → g1_out_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))))))))))
g1_in_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_out_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))) → g1_out_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, [])))))))))))))))
g1_in_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
app_289_in_aaaa([], T451, T452, .(T451, T452)) → app_289_out_aaaa([], T451, T452, .(T451, T452))
app_289_in_aaaa(.(T463, T468), T470, T471, .(T463, T469)) → U1_aaaa(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
U1_aaaa(T463, T468, T470, T471, T469, app_289_out_aaaa(T468, T470, T471, T469)) → app_289_out_aaaa(.(T463, T468), T470, T471, .(T463, T469))
U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_out_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)) → g1_out_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413)))))))))

The argument filtering Pi contains the following mapping:
g1_in_a(x1)  =  g1_in_a
U2_a(x1, x2)  =  U2_a(x2)
app_18_in_aaa(x1, x2, x3)  =  app_18_in_aaa
app_18_out_aaa(x1, x2, x3)  =  app_18_out_aaa
g1_out_a(x1)  =  g1_out_a
U3_a(x1)  =  U3_a(x1)
U4_a(x1, x2)  =  U4_a(x2)
U5_a(x1, x2, x3)  =  U5_a(x3)
U6_a(x1, x2, x3, x4)  =  U6_a(x4)
U7_a(x1, x2, x3, x4, x5)  =  U7_a(x5)
U8_a(x1, x2, x3, x4, x5, x6)  =  U8_a(x6)
U9_a(x1, x2, x3, x4, x5, x6, x7)  =  U9_a(x7)
U10_a(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_a(x8)
U11_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_a(x10)
U12_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_a(x10)
app_289_in_aaaa(x1, x2, x3, x4)  =  app_289_in_aaaa
app_289_out_aaaa(x1, x2, x3, x4)  =  app_289_out_aaaa
U1_aaaa(x1, x2, x3, x4, x5, x6)  =  U1_aaaa(x6)

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

G1_IN_A(T4) → U2_A(T4, app_18_in_aaa(X27, X54, X7))
G1_IN_A(T4) → APP_18_IN_AAA(X27, X54, X7)
G1_IN_A([]) → U3_A(app_18_in_aaa(X27, X54, .([], T15)))
G1_IN_A([]) → APP_18_IN_AAA(X27, X54, .([], T15))
G1_IN_A(.(T36, .(T36, []))) → U4_A(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
G1_IN_A(.(T36, .(T36, []))) → APP_18_IN_AAA(X27, X54, .(.(T36, []), T15))
G1_IN_A(.(T65, .(T66, .(T65, .(T66, []))))) → U5_A(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
G1_IN_A(.(T65, .(T66, .(T65, .(T66, []))))) → APP_18_IN_AAA(X27, X54, .(.(T65, .(T66, [])), T15))
G1_IN_A(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_A(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
G1_IN_A(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → APP_18_IN_AAA(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))
G1_IN_A(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_A(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
G1_IN_A(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → APP_18_IN_AAA(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))
G1_IN_A(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_A(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
G1_IN_A(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → APP_18_IN_AAA(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))
G1_IN_A(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_A(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
G1_IN_A(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → APP_18_IN_AAA(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))
G1_IN_A(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_A(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
G1_IN_A(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → APP_18_IN_AAA(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))
G1_IN_A(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
G1_IN_A(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → APP_18_IN_AAA(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))
U11_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
U11_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → APP_289_IN_AAAA(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)
APP_289_IN_AAAA(.(T463, T468), T470, T471, .(T463, T469)) → U1_AAAA(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
APP_289_IN_AAAA(.(T463, T468), T470, T471, .(T463, T469)) → APP_289_IN_AAAA(T468, T470, T471, T469)

The TRS R consists of the following rules:

g1_in_a(T4) → U2_a(T4, app_18_in_aaa(X27, X54, X7))
app_18_in_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], []))))) → app_18_out_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], [])))))
U2_a(T4, app_18_out_aaa(X27, X54, X7)) → g1_out_a(T4)
g1_in_a([]) → U3_a(app_18_in_aaa(X27, X54, .([], T15)))
U3_a(app_18_out_aaa(X27, X54, .([], T15))) → g1_out_a([])
g1_in_a(.(T36, .(T36, []))) → U4_a(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
U4_a(T36, app_18_out_aaa(X27, X54, .(.(T36, []), T15))) → g1_out_a(.(T36, .(T36, [])))
g1_in_a(.(T65, .(T66, .(T65, .(T66, []))))) → U5_a(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
U5_a(T65, T66, app_18_out_aaa(X27, X54, .(.(T65, .(T66, [])), T15))) → g1_out_a(.(T65, .(T66, .(T65, .(T66, [])))))
g1_in_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_a(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
U6_a(T105, T106, T107, app_18_out_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))) → g1_out_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, [])))))))
g1_in_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_a(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
U7_a(T156, T157, T158, T159, app_18_out_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))) → g1_out_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, [])))))))))
g1_in_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_a(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
U8_a(T218, T219, T220, T221, T222, app_18_out_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))) → g1_out_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, [])))))))))))
g1_in_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_a(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
U9_a(T291, T292, T293, T294, T295, T296, app_18_out_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))) → g1_out_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))))))))))
g1_in_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_out_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))) → g1_out_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, [])))))))))))))))
g1_in_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
app_289_in_aaaa([], T451, T452, .(T451, T452)) → app_289_out_aaaa([], T451, T452, .(T451, T452))
app_289_in_aaaa(.(T463, T468), T470, T471, .(T463, T469)) → U1_aaaa(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
U1_aaaa(T463, T468, T470, T471, T469, app_289_out_aaaa(T468, T470, T471, T469)) → app_289_out_aaaa(.(T463, T468), T470, T471, .(T463, T469))
U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_out_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)) → g1_out_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413)))))))))

The argument filtering Pi contains the following mapping:
g1_in_a(x1)  =  g1_in_a
U2_a(x1, x2)  =  U2_a(x2)
app_18_in_aaa(x1, x2, x3)  =  app_18_in_aaa
app_18_out_aaa(x1, x2, x3)  =  app_18_out_aaa
g1_out_a(x1)  =  g1_out_a
U3_a(x1)  =  U3_a(x1)
U4_a(x1, x2)  =  U4_a(x2)
U5_a(x1, x2, x3)  =  U5_a(x3)
U6_a(x1, x2, x3, x4)  =  U6_a(x4)
U7_a(x1, x2, x3, x4, x5)  =  U7_a(x5)
U8_a(x1, x2, x3, x4, x5, x6)  =  U8_a(x6)
U9_a(x1, x2, x3, x4, x5, x6, x7)  =  U9_a(x7)
U10_a(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_a(x8)
U11_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_a(x10)
U12_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_a(x10)
app_289_in_aaaa(x1, x2, x3, x4)  =  app_289_in_aaaa
app_289_out_aaaa(x1, x2, x3, x4)  =  app_289_out_aaaa
U1_aaaa(x1, x2, x3, x4, x5, x6)  =  U1_aaaa(x6)
G1_IN_A(x1)  =  G1_IN_A
U2_A(x1, x2)  =  U2_A(x2)
APP_18_IN_AAA(x1, x2, x3)  =  APP_18_IN_AAA
U3_A(x1)  =  U3_A(x1)
U4_A(x1, x2)  =  U4_A(x2)
U5_A(x1, x2, x3)  =  U5_A(x3)
U6_A(x1, x2, x3, x4)  =  U6_A(x4)
U7_A(x1, x2, x3, x4, x5)  =  U7_A(x5)
U8_A(x1, x2, x3, x4, x5, x6)  =  U8_A(x6)
U9_A(x1, x2, x3, x4, x5, x6, x7)  =  U9_A(x7)
U10_A(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_A(x8)
U11_A(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_A(x10)
U12_A(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_A(x10)
APP_289_IN_AAAA(x1, x2, x3, x4)  =  APP_289_IN_AAAA
U1_AAAA(x1, x2, x3, x4, x5, x6)  =  U1_AAAA(x6)

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

(6) Obligation:

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

G1_IN_A(T4) → U2_A(T4, app_18_in_aaa(X27, X54, X7))
G1_IN_A(T4) → APP_18_IN_AAA(X27, X54, X7)
G1_IN_A([]) → U3_A(app_18_in_aaa(X27, X54, .([], T15)))
G1_IN_A([]) → APP_18_IN_AAA(X27, X54, .([], T15))
G1_IN_A(.(T36, .(T36, []))) → U4_A(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
G1_IN_A(.(T36, .(T36, []))) → APP_18_IN_AAA(X27, X54, .(.(T36, []), T15))
G1_IN_A(.(T65, .(T66, .(T65, .(T66, []))))) → U5_A(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
G1_IN_A(.(T65, .(T66, .(T65, .(T66, []))))) → APP_18_IN_AAA(X27, X54, .(.(T65, .(T66, [])), T15))
G1_IN_A(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_A(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
G1_IN_A(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → APP_18_IN_AAA(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))
G1_IN_A(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_A(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
G1_IN_A(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → APP_18_IN_AAA(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))
G1_IN_A(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_A(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
G1_IN_A(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → APP_18_IN_AAA(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))
G1_IN_A(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_A(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
G1_IN_A(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → APP_18_IN_AAA(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))
G1_IN_A(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_A(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
G1_IN_A(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → APP_18_IN_AAA(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))
G1_IN_A(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
G1_IN_A(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → APP_18_IN_AAA(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))
U11_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
U11_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → APP_289_IN_AAAA(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)
APP_289_IN_AAAA(.(T463, T468), T470, T471, .(T463, T469)) → U1_AAAA(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
APP_289_IN_AAAA(.(T463, T468), T470, T471, .(T463, T469)) → APP_289_IN_AAAA(T468, T470, T471, T469)

The TRS R consists of the following rules:

g1_in_a(T4) → U2_a(T4, app_18_in_aaa(X27, X54, X7))
app_18_in_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], []))))) → app_18_out_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], [])))))
U2_a(T4, app_18_out_aaa(X27, X54, X7)) → g1_out_a(T4)
g1_in_a([]) → U3_a(app_18_in_aaa(X27, X54, .([], T15)))
U3_a(app_18_out_aaa(X27, X54, .([], T15))) → g1_out_a([])
g1_in_a(.(T36, .(T36, []))) → U4_a(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
U4_a(T36, app_18_out_aaa(X27, X54, .(.(T36, []), T15))) → g1_out_a(.(T36, .(T36, [])))
g1_in_a(.(T65, .(T66, .(T65, .(T66, []))))) → U5_a(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
U5_a(T65, T66, app_18_out_aaa(X27, X54, .(.(T65, .(T66, [])), T15))) → g1_out_a(.(T65, .(T66, .(T65, .(T66, [])))))
g1_in_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_a(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
U6_a(T105, T106, T107, app_18_out_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))) → g1_out_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, [])))))))
g1_in_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_a(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
U7_a(T156, T157, T158, T159, app_18_out_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))) → g1_out_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, [])))))))))
g1_in_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_a(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
U8_a(T218, T219, T220, T221, T222, app_18_out_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))) → g1_out_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, [])))))))))))
g1_in_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_a(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
U9_a(T291, T292, T293, T294, T295, T296, app_18_out_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))) → g1_out_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))))))))))
g1_in_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_out_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))) → g1_out_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, [])))))))))))))))
g1_in_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
app_289_in_aaaa([], T451, T452, .(T451, T452)) → app_289_out_aaaa([], T451, T452, .(T451, T452))
app_289_in_aaaa(.(T463, T468), T470, T471, .(T463, T469)) → U1_aaaa(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
U1_aaaa(T463, T468, T470, T471, T469, app_289_out_aaaa(T468, T470, T471, T469)) → app_289_out_aaaa(.(T463, T468), T470, T471, .(T463, T469))
U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_out_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)) → g1_out_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413)))))))))

The argument filtering Pi contains the following mapping:
g1_in_a(x1)  =  g1_in_a
U2_a(x1, x2)  =  U2_a(x2)
app_18_in_aaa(x1, x2, x3)  =  app_18_in_aaa
app_18_out_aaa(x1, x2, x3)  =  app_18_out_aaa
g1_out_a(x1)  =  g1_out_a
U3_a(x1)  =  U3_a(x1)
U4_a(x1, x2)  =  U4_a(x2)
U5_a(x1, x2, x3)  =  U5_a(x3)
U6_a(x1, x2, x3, x4)  =  U6_a(x4)
U7_a(x1, x2, x3, x4, x5)  =  U7_a(x5)
U8_a(x1, x2, x3, x4, x5, x6)  =  U8_a(x6)
U9_a(x1, x2, x3, x4, x5, x6, x7)  =  U9_a(x7)
U10_a(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_a(x8)
U11_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_a(x10)
U12_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_a(x10)
app_289_in_aaaa(x1, x2, x3, x4)  =  app_289_in_aaaa
app_289_out_aaaa(x1, x2, x3, x4)  =  app_289_out_aaaa
U1_aaaa(x1, x2, x3, x4, x5, x6)  =  U1_aaaa(x6)
G1_IN_A(x1)  =  G1_IN_A
U2_A(x1, x2)  =  U2_A(x2)
APP_18_IN_AAA(x1, x2, x3)  =  APP_18_IN_AAA
U3_A(x1)  =  U3_A(x1)
U4_A(x1, x2)  =  U4_A(x2)
U5_A(x1, x2, x3)  =  U5_A(x3)
U6_A(x1, x2, x3, x4)  =  U6_A(x4)
U7_A(x1, x2, x3, x4, x5)  =  U7_A(x5)
U8_A(x1, x2, x3, x4, x5, x6)  =  U8_A(x6)
U9_A(x1, x2, x3, x4, x5, x6, x7)  =  U9_A(x7)
U10_A(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_A(x8)
U11_A(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_A(x10)
U12_A(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_A(x10)
APP_289_IN_AAAA(x1, x2, x3, x4)  =  APP_289_IN_AAAA
U1_AAAA(x1, x2, x3, x4, x5, x6)  =  U1_AAAA(x6)

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

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 1 SCC with 23 less nodes.

(8) Obligation:

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

APP_289_IN_AAAA(.(T463, T468), T470, T471, .(T463, T469)) → APP_289_IN_AAAA(T468, T470, T471, T469)

The TRS R consists of the following rules:

g1_in_a(T4) → U2_a(T4, app_18_in_aaa(X27, X54, X7))
app_18_in_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], []))))) → app_18_out_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], [])))))
U2_a(T4, app_18_out_aaa(X27, X54, X7)) → g1_out_a(T4)
g1_in_a([]) → U3_a(app_18_in_aaa(X27, X54, .([], T15)))
U3_a(app_18_out_aaa(X27, X54, .([], T15))) → g1_out_a([])
g1_in_a(.(T36, .(T36, []))) → U4_a(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
U4_a(T36, app_18_out_aaa(X27, X54, .(.(T36, []), T15))) → g1_out_a(.(T36, .(T36, [])))
g1_in_a(.(T65, .(T66, .(T65, .(T66, []))))) → U5_a(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
U5_a(T65, T66, app_18_out_aaa(X27, X54, .(.(T65, .(T66, [])), T15))) → g1_out_a(.(T65, .(T66, .(T65, .(T66, [])))))
g1_in_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_a(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
U6_a(T105, T106, T107, app_18_out_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))) → g1_out_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, [])))))))
g1_in_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_a(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
U7_a(T156, T157, T158, T159, app_18_out_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))) → g1_out_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, [])))))))))
g1_in_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_a(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
U8_a(T218, T219, T220, T221, T222, app_18_out_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))) → g1_out_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, [])))))))))))
g1_in_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_a(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
U9_a(T291, T292, T293, T294, T295, T296, app_18_out_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))) → g1_out_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))))))))))
g1_in_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_out_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))) → g1_out_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, [])))))))))))))))
g1_in_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
app_289_in_aaaa([], T451, T452, .(T451, T452)) → app_289_out_aaaa([], T451, T452, .(T451, T452))
app_289_in_aaaa(.(T463, T468), T470, T471, .(T463, T469)) → U1_aaaa(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
U1_aaaa(T463, T468, T470, T471, T469, app_289_out_aaaa(T468, T470, T471, T469)) → app_289_out_aaaa(.(T463, T468), T470, T471, .(T463, T469))
U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_out_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)) → g1_out_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413)))))))))

The argument filtering Pi contains the following mapping:
g1_in_a(x1)  =  g1_in_a
U2_a(x1, x2)  =  U2_a(x2)
app_18_in_aaa(x1, x2, x3)  =  app_18_in_aaa
app_18_out_aaa(x1, x2, x3)  =  app_18_out_aaa
g1_out_a(x1)  =  g1_out_a
U3_a(x1)  =  U3_a(x1)
U4_a(x1, x2)  =  U4_a(x2)
U5_a(x1, x2, x3)  =  U5_a(x3)
U6_a(x1, x2, x3, x4)  =  U6_a(x4)
U7_a(x1, x2, x3, x4, x5)  =  U7_a(x5)
U8_a(x1, x2, x3, x4, x5, x6)  =  U8_a(x6)
U9_a(x1, x2, x3, x4, x5, x6, x7)  =  U9_a(x7)
U10_a(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_a(x8)
U11_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_a(x10)
U12_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_a(x10)
app_289_in_aaaa(x1, x2, x3, x4)  =  app_289_in_aaaa
app_289_out_aaaa(x1, x2, x3, x4)  =  app_289_out_aaaa
U1_aaaa(x1, x2, x3, x4, x5, x6)  =  U1_aaaa(x6)
APP_289_IN_AAAA(x1, x2, x3, x4)  =  APP_289_IN_AAAA

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

(9) UsableRulesProof (EQUIVALENT transformation)

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

(10) Obligation:

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

APP_289_IN_AAAA(.(T463, T468), T470, T471, .(T463, T469)) → APP_289_IN_AAAA(T468, T470, T471, T469)

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

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

(11) PiDPToQDPProof (SOUND transformation)

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

(12) Obligation:

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

APP_289_IN_AAAAAPP_289_IN_AAAA

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

(13) 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 = APP_289_IN_AAAA evaluates to t =APP_289_IN_AAAA

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 APP_289_IN_AAAA to APP_289_IN_AAAA.



(14) NO

(15) PrologToPiTRSProof (SOUND transformation)

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

g1_in_a(T4) → U2_a(T4, app_18_in_aaa(X27, X54, X7))
app_18_in_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], []))))) → app_18_out_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], [])))))
U2_a(T4, app_18_out_aaa(X27, X54, X7)) → g1_out_a(T4)
g1_in_a([]) → U3_a(app_18_in_aaa(X27, X54, .([], T15)))
U3_a(app_18_out_aaa(X27, X54, .([], T15))) → g1_out_a([])
g1_in_a(.(T36, .(T36, []))) → U4_a(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
U4_a(T36, app_18_out_aaa(X27, X54, .(.(T36, []), T15))) → g1_out_a(.(T36, .(T36, [])))
g1_in_a(.(T65, .(T66, .(T65, .(T66, []))))) → U5_a(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
U5_a(T65, T66, app_18_out_aaa(X27, X54, .(.(T65, .(T66, [])), T15))) → g1_out_a(.(T65, .(T66, .(T65, .(T66, [])))))
g1_in_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_a(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
U6_a(T105, T106, T107, app_18_out_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))) → g1_out_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, [])))))))
g1_in_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_a(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
U7_a(T156, T157, T158, T159, app_18_out_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))) → g1_out_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, [])))))))))
g1_in_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_a(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
U8_a(T218, T219, T220, T221, T222, app_18_out_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))) → g1_out_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, [])))))))))))
g1_in_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_a(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
U9_a(T291, T292, T293, T294, T295, T296, app_18_out_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))) → g1_out_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))))))))))
g1_in_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_out_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))) → g1_out_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, [])))))))))))))))
g1_in_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
app_289_in_aaaa([], T451, T452, .(T451, T452)) → app_289_out_aaaa([], T451, T452, .(T451, T452))
app_289_in_aaaa(.(T463, T468), T470, T471, .(T463, T469)) → U1_aaaa(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
U1_aaaa(T463, T468, T470, T471, T469, app_289_out_aaaa(T468, T470, T471, T469)) → app_289_out_aaaa(.(T463, T468), T470, T471, .(T463, T469))
U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_out_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)) → g1_out_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413)))))))))

The argument filtering Pi contains the following mapping:
g1_in_a(x1)  =  g1_in_a
U2_a(x1, x2)  =  U2_a(x2)
app_18_in_aaa(x1, x2, x3)  =  app_18_in_aaa
app_18_out_aaa(x1, x2, x3)  =  app_18_out_aaa
g1_out_a(x1)  =  g1_out_a
U3_a(x1)  =  U3_a(x1)
U4_a(x1, x2)  =  U4_a(x2)
U5_a(x1, x2, x3)  =  U5_a(x3)
U6_a(x1, x2, x3, x4)  =  U6_a(x4)
U7_a(x1, x2, x3, x4, x5)  =  U7_a(x5)
U8_a(x1, x2, x3, x4, x5, x6)  =  U8_a(x6)
U9_a(x1, x2, x3, x4, x5, x6, x7)  =  U9_a(x7)
U10_a(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_a(x8)
U11_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_a(x10)
U12_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_a(x10)
app_289_in_aaaa(x1, x2, x3, x4)  =  app_289_in_aaaa
app_289_out_aaaa(x1, x2, x3, x4)  =  app_289_out_aaaa
U1_aaaa(x1, x2, x3, x4, x5, x6)  =  U1_aaaa(x6)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(16) Obligation:

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

g1_in_a(T4) → U2_a(T4, app_18_in_aaa(X27, X54, X7))
app_18_in_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], []))))) → app_18_out_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], [])))))
U2_a(T4, app_18_out_aaa(X27, X54, X7)) → g1_out_a(T4)
g1_in_a([]) → U3_a(app_18_in_aaa(X27, X54, .([], T15)))
U3_a(app_18_out_aaa(X27, X54, .([], T15))) → g1_out_a([])
g1_in_a(.(T36, .(T36, []))) → U4_a(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
U4_a(T36, app_18_out_aaa(X27, X54, .(.(T36, []), T15))) → g1_out_a(.(T36, .(T36, [])))
g1_in_a(.(T65, .(T66, .(T65, .(T66, []))))) → U5_a(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
U5_a(T65, T66, app_18_out_aaa(X27, X54, .(.(T65, .(T66, [])), T15))) → g1_out_a(.(T65, .(T66, .(T65, .(T66, [])))))
g1_in_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_a(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
U6_a(T105, T106, T107, app_18_out_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))) → g1_out_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, [])))))))
g1_in_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_a(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
U7_a(T156, T157, T158, T159, app_18_out_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))) → g1_out_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, [])))))))))
g1_in_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_a(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
U8_a(T218, T219, T220, T221, T222, app_18_out_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))) → g1_out_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, [])))))))))))
g1_in_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_a(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
U9_a(T291, T292, T293, T294, T295, T296, app_18_out_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))) → g1_out_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))))))))))
g1_in_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_out_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))) → g1_out_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, [])))))))))))))))
g1_in_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
app_289_in_aaaa([], T451, T452, .(T451, T452)) → app_289_out_aaaa([], T451, T452, .(T451, T452))
app_289_in_aaaa(.(T463, T468), T470, T471, .(T463, T469)) → U1_aaaa(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
U1_aaaa(T463, T468, T470, T471, T469, app_289_out_aaaa(T468, T470, T471, T469)) → app_289_out_aaaa(.(T463, T468), T470, T471, .(T463, T469))
U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_out_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)) → g1_out_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413)))))))))

The argument filtering Pi contains the following mapping:
g1_in_a(x1)  =  g1_in_a
U2_a(x1, x2)  =  U2_a(x2)
app_18_in_aaa(x1, x2, x3)  =  app_18_in_aaa
app_18_out_aaa(x1, x2, x3)  =  app_18_out_aaa
g1_out_a(x1)  =  g1_out_a
U3_a(x1)  =  U3_a(x1)
U4_a(x1, x2)  =  U4_a(x2)
U5_a(x1, x2, x3)  =  U5_a(x3)
U6_a(x1, x2, x3, x4)  =  U6_a(x4)
U7_a(x1, x2, x3, x4, x5)  =  U7_a(x5)
U8_a(x1, x2, x3, x4, x5, x6)  =  U8_a(x6)
U9_a(x1, x2, x3, x4, x5, x6, x7)  =  U9_a(x7)
U10_a(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_a(x8)
U11_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_a(x10)
U12_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_a(x10)
app_289_in_aaaa(x1, x2, x3, x4)  =  app_289_in_aaaa
app_289_out_aaaa(x1, x2, x3, x4)  =  app_289_out_aaaa
U1_aaaa(x1, x2, x3, x4, x5, x6)  =  U1_aaaa(x6)

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

G1_IN_A(T4) → U2_A(T4, app_18_in_aaa(X27, X54, X7))
G1_IN_A(T4) → APP_18_IN_AAA(X27, X54, X7)
G1_IN_A([]) → U3_A(app_18_in_aaa(X27, X54, .([], T15)))
G1_IN_A([]) → APP_18_IN_AAA(X27, X54, .([], T15))
G1_IN_A(.(T36, .(T36, []))) → U4_A(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
G1_IN_A(.(T36, .(T36, []))) → APP_18_IN_AAA(X27, X54, .(.(T36, []), T15))
G1_IN_A(.(T65, .(T66, .(T65, .(T66, []))))) → U5_A(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
G1_IN_A(.(T65, .(T66, .(T65, .(T66, []))))) → APP_18_IN_AAA(X27, X54, .(.(T65, .(T66, [])), T15))
G1_IN_A(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_A(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
G1_IN_A(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → APP_18_IN_AAA(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))
G1_IN_A(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_A(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
G1_IN_A(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → APP_18_IN_AAA(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))
G1_IN_A(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_A(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
G1_IN_A(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → APP_18_IN_AAA(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))
G1_IN_A(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_A(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
G1_IN_A(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → APP_18_IN_AAA(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))
G1_IN_A(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_A(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
G1_IN_A(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → APP_18_IN_AAA(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))
G1_IN_A(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
G1_IN_A(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → APP_18_IN_AAA(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))
U11_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
U11_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → APP_289_IN_AAAA(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)
APP_289_IN_AAAA(.(T463, T468), T470, T471, .(T463, T469)) → U1_AAAA(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
APP_289_IN_AAAA(.(T463, T468), T470, T471, .(T463, T469)) → APP_289_IN_AAAA(T468, T470, T471, T469)

The TRS R consists of the following rules:

g1_in_a(T4) → U2_a(T4, app_18_in_aaa(X27, X54, X7))
app_18_in_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], []))))) → app_18_out_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], [])))))
U2_a(T4, app_18_out_aaa(X27, X54, X7)) → g1_out_a(T4)
g1_in_a([]) → U3_a(app_18_in_aaa(X27, X54, .([], T15)))
U3_a(app_18_out_aaa(X27, X54, .([], T15))) → g1_out_a([])
g1_in_a(.(T36, .(T36, []))) → U4_a(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
U4_a(T36, app_18_out_aaa(X27, X54, .(.(T36, []), T15))) → g1_out_a(.(T36, .(T36, [])))
g1_in_a(.(T65, .(T66, .(T65, .(T66, []))))) → U5_a(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
U5_a(T65, T66, app_18_out_aaa(X27, X54, .(.(T65, .(T66, [])), T15))) → g1_out_a(.(T65, .(T66, .(T65, .(T66, [])))))
g1_in_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_a(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
U6_a(T105, T106, T107, app_18_out_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))) → g1_out_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, [])))))))
g1_in_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_a(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
U7_a(T156, T157, T158, T159, app_18_out_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))) → g1_out_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, [])))))))))
g1_in_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_a(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
U8_a(T218, T219, T220, T221, T222, app_18_out_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))) → g1_out_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, [])))))))))))
g1_in_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_a(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
U9_a(T291, T292, T293, T294, T295, T296, app_18_out_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))) → g1_out_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))))))))))
g1_in_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_out_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))) → g1_out_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, [])))))))))))))))
g1_in_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
app_289_in_aaaa([], T451, T452, .(T451, T452)) → app_289_out_aaaa([], T451, T452, .(T451, T452))
app_289_in_aaaa(.(T463, T468), T470, T471, .(T463, T469)) → U1_aaaa(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
U1_aaaa(T463, T468, T470, T471, T469, app_289_out_aaaa(T468, T470, T471, T469)) → app_289_out_aaaa(.(T463, T468), T470, T471, .(T463, T469))
U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_out_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)) → g1_out_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413)))))))))

The argument filtering Pi contains the following mapping:
g1_in_a(x1)  =  g1_in_a
U2_a(x1, x2)  =  U2_a(x2)
app_18_in_aaa(x1, x2, x3)  =  app_18_in_aaa
app_18_out_aaa(x1, x2, x3)  =  app_18_out_aaa
g1_out_a(x1)  =  g1_out_a
U3_a(x1)  =  U3_a(x1)
U4_a(x1, x2)  =  U4_a(x2)
U5_a(x1, x2, x3)  =  U5_a(x3)
U6_a(x1, x2, x3, x4)  =  U6_a(x4)
U7_a(x1, x2, x3, x4, x5)  =  U7_a(x5)
U8_a(x1, x2, x3, x4, x5, x6)  =  U8_a(x6)
U9_a(x1, x2, x3, x4, x5, x6, x7)  =  U9_a(x7)
U10_a(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_a(x8)
U11_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_a(x10)
U12_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_a(x10)
app_289_in_aaaa(x1, x2, x3, x4)  =  app_289_in_aaaa
app_289_out_aaaa(x1, x2, x3, x4)  =  app_289_out_aaaa
U1_aaaa(x1, x2, x3, x4, x5, x6)  =  U1_aaaa(x6)
G1_IN_A(x1)  =  G1_IN_A
U2_A(x1, x2)  =  U2_A(x2)
APP_18_IN_AAA(x1, x2, x3)  =  APP_18_IN_AAA
U3_A(x1)  =  U3_A(x1)
U4_A(x1, x2)  =  U4_A(x2)
U5_A(x1, x2, x3)  =  U5_A(x3)
U6_A(x1, x2, x3, x4)  =  U6_A(x4)
U7_A(x1, x2, x3, x4, x5)  =  U7_A(x5)
U8_A(x1, x2, x3, x4, x5, x6)  =  U8_A(x6)
U9_A(x1, x2, x3, x4, x5, x6, x7)  =  U9_A(x7)
U10_A(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_A(x8)
U11_A(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_A(x10)
U12_A(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_A(x10)
APP_289_IN_AAAA(x1, x2, x3, x4)  =  APP_289_IN_AAAA
U1_AAAA(x1, x2, x3, x4, x5, x6)  =  U1_AAAA(x6)

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

(18) Obligation:

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

G1_IN_A(T4) → U2_A(T4, app_18_in_aaa(X27, X54, X7))
G1_IN_A(T4) → APP_18_IN_AAA(X27, X54, X7)
G1_IN_A([]) → U3_A(app_18_in_aaa(X27, X54, .([], T15)))
G1_IN_A([]) → APP_18_IN_AAA(X27, X54, .([], T15))
G1_IN_A(.(T36, .(T36, []))) → U4_A(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
G1_IN_A(.(T36, .(T36, []))) → APP_18_IN_AAA(X27, X54, .(.(T36, []), T15))
G1_IN_A(.(T65, .(T66, .(T65, .(T66, []))))) → U5_A(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
G1_IN_A(.(T65, .(T66, .(T65, .(T66, []))))) → APP_18_IN_AAA(X27, X54, .(.(T65, .(T66, [])), T15))
G1_IN_A(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_A(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
G1_IN_A(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → APP_18_IN_AAA(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))
G1_IN_A(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_A(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
G1_IN_A(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → APP_18_IN_AAA(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))
G1_IN_A(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_A(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
G1_IN_A(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → APP_18_IN_AAA(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))
G1_IN_A(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_A(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
G1_IN_A(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → APP_18_IN_AAA(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))
G1_IN_A(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_A(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
G1_IN_A(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → APP_18_IN_AAA(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))
G1_IN_A(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
G1_IN_A(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → APP_18_IN_AAA(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))
U11_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
U11_A(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → APP_289_IN_AAAA(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)
APP_289_IN_AAAA(.(T463, T468), T470, T471, .(T463, T469)) → U1_AAAA(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
APP_289_IN_AAAA(.(T463, T468), T470, T471, .(T463, T469)) → APP_289_IN_AAAA(T468, T470, T471, T469)

The TRS R consists of the following rules:

g1_in_a(T4) → U2_a(T4, app_18_in_aaa(X27, X54, X7))
app_18_in_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], []))))) → app_18_out_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], [])))))
U2_a(T4, app_18_out_aaa(X27, X54, X7)) → g1_out_a(T4)
g1_in_a([]) → U3_a(app_18_in_aaa(X27, X54, .([], T15)))
U3_a(app_18_out_aaa(X27, X54, .([], T15))) → g1_out_a([])
g1_in_a(.(T36, .(T36, []))) → U4_a(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
U4_a(T36, app_18_out_aaa(X27, X54, .(.(T36, []), T15))) → g1_out_a(.(T36, .(T36, [])))
g1_in_a(.(T65, .(T66, .(T65, .(T66, []))))) → U5_a(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
U5_a(T65, T66, app_18_out_aaa(X27, X54, .(.(T65, .(T66, [])), T15))) → g1_out_a(.(T65, .(T66, .(T65, .(T66, [])))))
g1_in_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_a(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
U6_a(T105, T106, T107, app_18_out_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))) → g1_out_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, [])))))))
g1_in_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_a(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
U7_a(T156, T157, T158, T159, app_18_out_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))) → g1_out_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, [])))))))))
g1_in_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_a(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
U8_a(T218, T219, T220, T221, T222, app_18_out_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))) → g1_out_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, [])))))))))))
g1_in_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_a(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
U9_a(T291, T292, T293, T294, T295, T296, app_18_out_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))) → g1_out_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))))))))))
g1_in_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_out_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))) → g1_out_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, [])))))))))))))))
g1_in_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
app_289_in_aaaa([], T451, T452, .(T451, T452)) → app_289_out_aaaa([], T451, T452, .(T451, T452))
app_289_in_aaaa(.(T463, T468), T470, T471, .(T463, T469)) → U1_aaaa(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
U1_aaaa(T463, T468, T470, T471, T469, app_289_out_aaaa(T468, T470, T471, T469)) → app_289_out_aaaa(.(T463, T468), T470, T471, .(T463, T469))
U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_out_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)) → g1_out_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413)))))))))

The argument filtering Pi contains the following mapping:
g1_in_a(x1)  =  g1_in_a
U2_a(x1, x2)  =  U2_a(x2)
app_18_in_aaa(x1, x2, x3)  =  app_18_in_aaa
app_18_out_aaa(x1, x2, x3)  =  app_18_out_aaa
g1_out_a(x1)  =  g1_out_a
U3_a(x1)  =  U3_a(x1)
U4_a(x1, x2)  =  U4_a(x2)
U5_a(x1, x2, x3)  =  U5_a(x3)
U6_a(x1, x2, x3, x4)  =  U6_a(x4)
U7_a(x1, x2, x3, x4, x5)  =  U7_a(x5)
U8_a(x1, x2, x3, x4, x5, x6)  =  U8_a(x6)
U9_a(x1, x2, x3, x4, x5, x6, x7)  =  U9_a(x7)
U10_a(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_a(x8)
U11_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_a(x10)
U12_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_a(x10)
app_289_in_aaaa(x1, x2, x3, x4)  =  app_289_in_aaaa
app_289_out_aaaa(x1, x2, x3, x4)  =  app_289_out_aaaa
U1_aaaa(x1, x2, x3, x4, x5, x6)  =  U1_aaaa(x6)
G1_IN_A(x1)  =  G1_IN_A
U2_A(x1, x2)  =  U2_A(x2)
APP_18_IN_AAA(x1, x2, x3)  =  APP_18_IN_AAA
U3_A(x1)  =  U3_A(x1)
U4_A(x1, x2)  =  U4_A(x2)
U5_A(x1, x2, x3)  =  U5_A(x3)
U6_A(x1, x2, x3, x4)  =  U6_A(x4)
U7_A(x1, x2, x3, x4, x5)  =  U7_A(x5)
U8_A(x1, x2, x3, x4, x5, x6)  =  U8_A(x6)
U9_A(x1, x2, x3, x4, x5, x6, x7)  =  U9_A(x7)
U10_A(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_A(x8)
U11_A(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_A(x10)
U12_A(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_A(x10)
APP_289_IN_AAAA(x1, x2, x3, x4)  =  APP_289_IN_AAAA
U1_AAAA(x1, x2, x3, x4, x5, x6)  =  U1_AAAA(x6)

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

(19) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 1 SCC with 23 less nodes.

(20) Obligation:

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

APP_289_IN_AAAA(.(T463, T468), T470, T471, .(T463, T469)) → APP_289_IN_AAAA(T468, T470, T471, T469)

The TRS R consists of the following rules:

g1_in_a(T4) → U2_a(T4, app_18_in_aaa(X27, X54, X7))
app_18_in_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], []))))) → app_18_out_aaa(X134, X148, .(.(a, []), .(.(X134, []), .(.(X148, .(c, [])), .([], [])))))
U2_a(T4, app_18_out_aaa(X27, X54, X7)) → g1_out_a(T4)
g1_in_a([]) → U3_a(app_18_in_aaa(X27, X54, .([], T15)))
U3_a(app_18_out_aaa(X27, X54, .([], T15))) → g1_out_a([])
g1_in_a(.(T36, .(T36, []))) → U4_a(T36, app_18_in_aaa(X27, X54, .(.(T36, []), T15)))
U4_a(T36, app_18_out_aaa(X27, X54, .(.(T36, []), T15))) → g1_out_a(.(T36, .(T36, [])))
g1_in_a(.(T65, .(T66, .(T65, .(T66, []))))) → U5_a(T65, T66, app_18_in_aaa(X27, X54, .(.(T65, .(T66, [])), T15)))
U5_a(T65, T66, app_18_out_aaa(X27, X54, .(.(T65, .(T66, [])), T15))) → g1_out_a(.(T65, .(T66, .(T65, .(T66, [])))))
g1_in_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, []))))))) → U6_a(T105, T106, T107, app_18_in_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15)))
U6_a(T105, T106, T107, app_18_out_aaa(X27, X54, .(.(T105, .(T106, .(T107, []))), T15))) → g1_out_a(.(T105, .(T106, .(T107, .(T105, .(T106, .(T107, [])))))))
g1_in_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, []))))))))) → U7_a(T156, T157, T158, T159, app_18_in_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15)))
U7_a(T156, T157, T158, T159, app_18_out_aaa(X27, X54, .(.(T156, .(T157, .(T158, .(T159, [])))), T15))) → g1_out_a(.(T156, .(T157, .(T158, .(T159, .(T156, .(T157, .(T158, .(T159, [])))))))))
g1_in_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, []))))))))))) → U8_a(T218, T219, T220, T221, T222, app_18_in_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15)))
U8_a(T218, T219, T220, T221, T222, app_18_out_aaa(X27, X54, .(.(T218, .(T219, .(T220, .(T221, .(T222, []))))), T15))) → g1_out_a(.(T218, .(T219, .(T220, .(T221, .(T222, .(T218, .(T219, .(T220, .(T221, .(T222, [])))))))))))
g1_in_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, []))))))))))))) → U9_a(T291, T292, T293, T294, T295, T296, app_18_in_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15)))
U9_a(T291, T292, T293, T294, T295, T296, app_18_out_aaa(X27, X54, .(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))), T15))) → g1_out_a(.(T291, .(T292, .(T293, .(T294, .(T295, .(T296, .(T291, .(T292, .(T293, .(T294, .(T295, .(T296, [])))))))))))))
g1_in_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))))))))))) → U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_in_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15)))
U10_a(T375, T376, T377, T378, T379, T380, T381, app_18_out_aaa(X27, X54, .(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, []))))))), T15))) → g1_out_a(.(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, .(T375, .(T376, .(T377, .(T378, .(T379, .(T380, .(T381, [])))))))))))))))
g1_in_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413))))))))) → U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_in_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15)))
U11_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_18_out_aaa(X27, X54, .(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412)))))))), T15))) → U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_in_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413))
app_289_in_aaaa([], T451, T452, .(T451, T452)) → app_289_out_aaaa([], T451, T452, .(T451, T452))
app_289_in_aaaa(.(T463, T468), T470, T471, .(T463, T469)) → U1_aaaa(T463, T468, T470, T471, T469, app_289_in_aaaa(T468, T470, T471, T469))
U1_aaaa(T463, T468, T470, T471, T469, app_289_out_aaaa(T468, T470, T471, T469)) → app_289_out_aaaa(.(T463, T468), T470, T471, .(T463, T469))
U12_a(T414, T415, T416, T417, T418, T419, T420, T421, T413, app_289_out_aaaa(T412, T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T412))))))), T413)) → g1_out_a(.(T414, .(T415, .(T416, .(T417, .(T418, .(T419, .(T420, .(T421, T413)))))))))

The argument filtering Pi contains the following mapping:
g1_in_a(x1)  =  g1_in_a
U2_a(x1, x2)  =  U2_a(x2)
app_18_in_aaa(x1, x2, x3)  =  app_18_in_aaa
app_18_out_aaa(x1, x2, x3)  =  app_18_out_aaa
g1_out_a(x1)  =  g1_out_a
U3_a(x1)  =  U3_a(x1)
U4_a(x1, x2)  =  U4_a(x2)
U5_a(x1, x2, x3)  =  U5_a(x3)
U6_a(x1, x2, x3, x4)  =  U6_a(x4)
U7_a(x1, x2, x3, x4, x5)  =  U7_a(x5)
U8_a(x1, x2, x3, x4, x5, x6)  =  U8_a(x6)
U9_a(x1, x2, x3, x4, x5, x6, x7)  =  U9_a(x7)
U10_a(x1, x2, x3, x4, x5, x6, x7, x8)  =  U10_a(x8)
U11_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U11_a(x10)
U12_a(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10)  =  U12_a(x10)
app_289_in_aaaa(x1, x2, x3, x4)  =  app_289_in_aaaa
app_289_out_aaaa(x1, x2, x3, x4)  =  app_289_out_aaaa
U1_aaaa(x1, x2, x3, x4, x5, x6)  =  U1_aaaa(x6)
APP_289_IN_AAAA(x1, x2, x3, x4)  =  APP_289_IN_AAAA

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

(21) UsableRulesProof (EQUIVALENT transformation)

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

(22) Obligation:

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

APP_289_IN_AAAA(.(T463, T468), T470, T471, .(T463, T469)) → APP_289_IN_AAAA(T468, T470, T471, T469)

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

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

(23) PiDPToQDPProof (SOUND transformation)

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

(24) Obligation:

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

APP_289_IN_AAAAAPP_289_IN_AAAA

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

(25) 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 = APP_289_IN_AAAA evaluates to t =APP_289_IN_AAAA

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 APP_289_IN_AAAA to APP_289_IN_AAAA.



(26) NO