(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

Q is empty.

(1) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem.

(2) Obligation:

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

ACTIVE(zeros) → CONS(0, zeros)
ACTIVE(U101(tt, V1, V2)) → U1021(isNatKind(V1), V1, V2)
ACTIVE(U101(tt, V1, V2)) → ISNATKIND(V1)
ACTIVE(U102(tt, V1, V2)) → U1031(isNatIListKind(V2), V1, V2)
ACTIVE(U102(tt, V1, V2)) → ISNATILISTKIND(V2)
ACTIVE(U103(tt, V1, V2)) → U1041(isNatIListKind(V2), V1, V2)
ACTIVE(U103(tt, V1, V2)) → ISNATILISTKIND(V2)
ACTIVE(U104(tt, V1, V2)) → U1051(isNat(V1), V2)
ACTIVE(U104(tt, V1, V2)) → ISNAT(V1)
ACTIVE(U105(tt, V2)) → U1061(isNatIList(V2))
ACTIVE(U105(tt, V2)) → ISNATILIST(V2)
ACTIVE(U11(tt, V1)) → U121(isNatIListKind(V1), V1)
ACTIVE(U11(tt, V1)) → ISNATILISTKIND(V1)
ACTIVE(U111(tt, L, N)) → U1121(isNatIListKind(L), L, N)
ACTIVE(U111(tt, L, N)) → ISNATILISTKIND(L)
ACTIVE(U112(tt, L, N)) → U1131(isNat(N), L, N)
ACTIVE(U112(tt, L, N)) → ISNAT(N)
ACTIVE(U113(tt, L, N)) → U1141(isNatKind(N), L)
ACTIVE(U113(tt, L, N)) → ISNATKIND(N)
ACTIVE(U114(tt, L)) → S(length(L))
ACTIVE(U114(tt, L)) → LENGTH(L)
ACTIVE(U12(tt, V1)) → U131(isNatList(V1))
ACTIVE(U12(tt, V1)) → ISNATLIST(V1)
ACTIVE(U121(tt, IL)) → U1221(isNatIListKind(IL))
ACTIVE(U121(tt, IL)) → ISNATILISTKIND(IL)
ACTIVE(U131(tt, IL, M, N)) → U1321(isNatIListKind(IL), IL, M, N)
ACTIVE(U131(tt, IL, M, N)) → ISNATILISTKIND(IL)
ACTIVE(U132(tt, IL, M, N)) → U1331(isNat(M), IL, M, N)
ACTIVE(U132(tt, IL, M, N)) → ISNAT(M)
ACTIVE(U133(tt, IL, M, N)) → U1341(isNatKind(M), IL, M, N)
ACTIVE(U133(tt, IL, M, N)) → ISNATKIND(M)
ACTIVE(U134(tt, IL, M, N)) → U1351(isNat(N), IL, M, N)
ACTIVE(U134(tt, IL, M, N)) → ISNAT(N)
ACTIVE(U135(tt, IL, M, N)) → U1361(isNatKind(N), IL, M, N)
ACTIVE(U135(tt, IL, M, N)) → ISNATKIND(N)
ACTIVE(U136(tt, IL, M, N)) → CONS(N, take(M, IL))
ACTIVE(U136(tt, IL, M, N)) → TAKE(M, IL)
ACTIVE(U21(tt, V1)) → U221(isNatKind(V1), V1)
ACTIVE(U21(tt, V1)) → ISNATKIND(V1)
ACTIVE(U22(tt, V1)) → U231(isNat(V1))
ACTIVE(U22(tt, V1)) → ISNAT(V1)
ACTIVE(U31(tt, V)) → U321(isNatIListKind(V), V)
ACTIVE(U31(tt, V)) → ISNATILISTKIND(V)
ACTIVE(U32(tt, V)) → U331(isNatList(V))
ACTIVE(U32(tt, V)) → ISNATLIST(V)
ACTIVE(U41(tt, V1, V2)) → U421(isNatKind(V1), V1, V2)
ACTIVE(U41(tt, V1, V2)) → ISNATKIND(V1)
ACTIVE(U42(tt, V1, V2)) → U431(isNatIListKind(V2), V1, V2)
ACTIVE(U42(tt, V1, V2)) → ISNATILISTKIND(V2)
ACTIVE(U43(tt, V1, V2)) → U441(isNatIListKind(V2), V1, V2)
ACTIVE(U43(tt, V1, V2)) → ISNATILISTKIND(V2)
ACTIVE(U44(tt, V1, V2)) → U451(isNat(V1), V2)
ACTIVE(U44(tt, V1, V2)) → ISNAT(V1)
ACTIVE(U45(tt, V2)) → U461(isNatIList(V2))
ACTIVE(U45(tt, V2)) → ISNATILIST(V2)
ACTIVE(U51(tt, V2)) → U521(isNatIListKind(V2))
ACTIVE(U51(tt, V2)) → ISNATILISTKIND(V2)
ACTIVE(U61(tt, V2)) → U621(isNatIListKind(V2))
ACTIVE(U61(tt, V2)) → ISNATILISTKIND(V2)
ACTIVE(U91(tt, V1, V2)) → U921(isNatKind(V1), V1, V2)
ACTIVE(U91(tt, V1, V2)) → ISNATKIND(V1)
ACTIVE(U92(tt, V1, V2)) → U931(isNatIListKind(V2), V1, V2)
ACTIVE(U92(tt, V1, V2)) → ISNATILISTKIND(V2)
ACTIVE(U93(tt, V1, V2)) → U941(isNatIListKind(V2), V1, V2)
ACTIVE(U93(tt, V1, V2)) → ISNATILISTKIND(V2)
ACTIVE(U94(tt, V1, V2)) → U951(isNat(V1), V2)
ACTIVE(U94(tt, V1, V2)) → ISNAT(V1)
ACTIVE(U95(tt, V2)) → U961(isNatList(V2))
ACTIVE(U95(tt, V2)) → ISNATLIST(V2)
ACTIVE(isNat(length(V1))) → U111(isNatIListKind(V1), V1)
ACTIVE(isNat(length(V1))) → ISNATILISTKIND(V1)
ACTIVE(isNat(s(V1))) → U211(isNatKind(V1), V1)
ACTIVE(isNat(s(V1))) → ISNATKIND(V1)
ACTIVE(isNatIList(V)) → U311(isNatIListKind(V), V)
ACTIVE(isNatIList(V)) → ISNATILISTKIND(V)
ACTIVE(isNatIList(cons(V1, V2))) → U411(isNatKind(V1), V1, V2)
ACTIVE(isNatIList(cons(V1, V2))) → ISNATKIND(V1)
ACTIVE(isNatIListKind(cons(V1, V2))) → U511(isNatKind(V1), V2)
ACTIVE(isNatIListKind(cons(V1, V2))) → ISNATKIND(V1)
ACTIVE(isNatIListKind(take(V1, V2))) → U611(isNatKind(V1), V2)
ACTIVE(isNatIListKind(take(V1, V2))) → ISNATKIND(V1)
ACTIVE(isNatKind(length(V1))) → U711(isNatIListKind(V1))
ACTIVE(isNatKind(length(V1))) → ISNATILISTKIND(V1)
ACTIVE(isNatKind(s(V1))) → U811(isNatKind(V1))
ACTIVE(isNatKind(s(V1))) → ISNATKIND(V1)
ACTIVE(isNatList(cons(V1, V2))) → U911(isNatKind(V1), V1, V2)
ACTIVE(isNatList(cons(V1, V2))) → ISNATKIND(V1)
ACTIVE(isNatList(take(V1, V2))) → U1011(isNatKind(V1), V1, V2)
ACTIVE(isNatList(take(V1, V2))) → ISNATKIND(V1)
ACTIVE(length(cons(N, L))) → U1111(isNatList(L), L, N)
ACTIVE(length(cons(N, L))) → ISNATLIST(L)
ACTIVE(take(0, IL)) → U1211(isNatIList(IL), IL)
ACTIVE(take(0, IL)) → ISNATILIST(IL)
ACTIVE(take(s(M), cons(N, IL))) → U1311(isNatIList(IL), IL, M, N)
ACTIVE(take(s(M), cons(N, IL))) → ISNATILIST(IL)
ACTIVE(cons(X1, X2)) → CONS(active(X1), X2)
ACTIVE(cons(X1, X2)) → ACTIVE(X1)
ACTIVE(U101(X1, X2, X3)) → U1011(active(X1), X2, X3)
ACTIVE(U101(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U102(X1, X2, X3)) → U1021(active(X1), X2, X3)
ACTIVE(U102(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U103(X1, X2, X3)) → U1031(active(X1), X2, X3)
ACTIVE(U103(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U104(X1, X2, X3)) → U1041(active(X1), X2, X3)
ACTIVE(U104(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U105(X1, X2)) → U1051(active(X1), X2)
ACTIVE(U105(X1, X2)) → ACTIVE(X1)
ACTIVE(U106(X)) → U1061(active(X))
ACTIVE(U106(X)) → ACTIVE(X)
ACTIVE(U11(X1, X2)) → U111(active(X1), X2)
ACTIVE(U11(X1, X2)) → ACTIVE(X1)
ACTIVE(U12(X1, X2)) → U121(active(X1), X2)
ACTIVE(U12(X1, X2)) → ACTIVE(X1)
ACTIVE(U111(X1, X2, X3)) → U1111(active(X1), X2, X3)
ACTIVE(U111(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U112(X1, X2, X3)) → U1121(active(X1), X2, X3)
ACTIVE(U112(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U113(X1, X2, X3)) → U1131(active(X1), X2, X3)
ACTIVE(U113(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U114(X1, X2)) → U1141(active(X1), X2)
ACTIVE(U114(X1, X2)) → ACTIVE(X1)
ACTIVE(s(X)) → S(active(X))
ACTIVE(s(X)) → ACTIVE(X)
ACTIVE(length(X)) → LENGTH(active(X))
ACTIVE(length(X)) → ACTIVE(X)
ACTIVE(U13(X)) → U131(active(X))
ACTIVE(U13(X)) → ACTIVE(X)
ACTIVE(U121(X1, X2)) → U1211(active(X1), X2)
ACTIVE(U121(X1, X2)) → ACTIVE(X1)
ACTIVE(U122(X)) → U1221(active(X))
ACTIVE(U122(X)) → ACTIVE(X)
ACTIVE(U131(X1, X2, X3, X4)) → U1311(active(X1), X2, X3, X4)
ACTIVE(U131(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U132(X1, X2, X3, X4)) → U1321(active(X1), X2, X3, X4)
ACTIVE(U132(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U133(X1, X2, X3, X4)) → U1331(active(X1), X2, X3, X4)
ACTIVE(U133(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U134(X1, X2, X3, X4)) → U1341(active(X1), X2, X3, X4)
ACTIVE(U134(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U135(X1, X2, X3, X4)) → U1351(active(X1), X2, X3, X4)
ACTIVE(U135(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U136(X1, X2, X3, X4)) → U1361(active(X1), X2, X3, X4)
ACTIVE(U136(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(take(X1, X2)) → TAKE(active(X1), X2)
ACTIVE(take(X1, X2)) → ACTIVE(X1)
ACTIVE(take(X1, X2)) → TAKE(X1, active(X2))
ACTIVE(take(X1, X2)) → ACTIVE(X2)
ACTIVE(U21(X1, X2)) → U211(active(X1), X2)
ACTIVE(U21(X1, X2)) → ACTIVE(X1)
ACTIVE(U22(X1, X2)) → U221(active(X1), X2)
ACTIVE(U22(X1, X2)) → ACTIVE(X1)
ACTIVE(U23(X)) → U231(active(X))
ACTIVE(U23(X)) → ACTIVE(X)
ACTIVE(U31(X1, X2)) → U311(active(X1), X2)
ACTIVE(U31(X1, X2)) → ACTIVE(X1)
ACTIVE(U32(X1, X2)) → U321(active(X1), X2)
ACTIVE(U32(X1, X2)) → ACTIVE(X1)
ACTIVE(U33(X)) → U331(active(X))
ACTIVE(U33(X)) → ACTIVE(X)
ACTIVE(U41(X1, X2, X3)) → U411(active(X1), X2, X3)
ACTIVE(U41(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U42(X1, X2, X3)) → U421(active(X1), X2, X3)
ACTIVE(U42(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U43(X1, X2, X3)) → U431(active(X1), X2, X3)
ACTIVE(U43(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U44(X1, X2, X3)) → U441(active(X1), X2, X3)
ACTIVE(U44(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U45(X1, X2)) → U451(active(X1), X2)
ACTIVE(U45(X1, X2)) → ACTIVE(X1)
ACTIVE(U46(X)) → U461(active(X))
ACTIVE(U46(X)) → ACTIVE(X)
ACTIVE(U51(X1, X2)) → U511(active(X1), X2)
ACTIVE(U51(X1, X2)) → ACTIVE(X1)
ACTIVE(U52(X)) → U521(active(X))
ACTIVE(U52(X)) → ACTIVE(X)
ACTIVE(U61(X1, X2)) → U611(active(X1), X2)
ACTIVE(U61(X1, X2)) → ACTIVE(X1)
ACTIVE(U62(X)) → U621(active(X))
ACTIVE(U62(X)) → ACTIVE(X)
ACTIVE(U71(X)) → U711(active(X))
ACTIVE(U71(X)) → ACTIVE(X)
ACTIVE(U81(X)) → U811(active(X))
ACTIVE(U81(X)) → ACTIVE(X)
ACTIVE(U91(X1, X2, X3)) → U911(active(X1), X2, X3)
ACTIVE(U91(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U92(X1, X2, X3)) → U921(active(X1), X2, X3)
ACTIVE(U92(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U93(X1, X2, X3)) → U931(active(X1), X2, X3)
ACTIVE(U93(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U94(X1, X2, X3)) → U941(active(X1), X2, X3)
ACTIVE(U94(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U95(X1, X2)) → U951(active(X1), X2)
ACTIVE(U95(X1, X2)) → ACTIVE(X1)
ACTIVE(U96(X)) → U961(active(X))
ACTIVE(U96(X)) → ACTIVE(X)
CONS(mark(X1), X2) → CONS(X1, X2)
U1011(mark(X1), X2, X3) → U1011(X1, X2, X3)
U1021(mark(X1), X2, X3) → U1021(X1, X2, X3)
U1031(mark(X1), X2, X3) → U1031(X1, X2, X3)
U1041(mark(X1), X2, X3) → U1041(X1, X2, X3)
U1051(mark(X1), X2) → U1051(X1, X2)
U1061(mark(X)) → U1061(X)
U111(mark(X1), X2) → U111(X1, X2)
U121(mark(X1), X2) → U121(X1, X2)
U1111(mark(X1), X2, X3) → U1111(X1, X2, X3)
U1121(mark(X1), X2, X3) → U1121(X1, X2, X3)
U1131(mark(X1), X2, X3) → U1131(X1, X2, X3)
U1141(mark(X1), X2) → U1141(X1, X2)
S(mark(X)) → S(X)
LENGTH(mark(X)) → LENGTH(X)
U131(mark(X)) → U131(X)
U1211(mark(X1), X2) → U1211(X1, X2)
U1221(mark(X)) → U1221(X)
U1311(mark(X1), X2, X3, X4) → U1311(X1, X2, X3, X4)
U1321(mark(X1), X2, X3, X4) → U1321(X1, X2, X3, X4)
U1331(mark(X1), X2, X3, X4) → U1331(X1, X2, X3, X4)
U1341(mark(X1), X2, X3, X4) → U1341(X1, X2, X3, X4)
U1351(mark(X1), X2, X3, X4) → U1351(X1, X2, X3, X4)
U1361(mark(X1), X2, X3, X4) → U1361(X1, X2, X3, X4)
TAKE(mark(X1), X2) → TAKE(X1, X2)
TAKE(X1, mark(X2)) → TAKE(X1, X2)
U211(mark(X1), X2) → U211(X1, X2)
U221(mark(X1), X2) → U221(X1, X2)
U231(mark(X)) → U231(X)
U311(mark(X1), X2) → U311(X1, X2)
U321(mark(X1), X2) → U321(X1, X2)
U331(mark(X)) → U331(X)
U411(mark(X1), X2, X3) → U411(X1, X2, X3)
U421(mark(X1), X2, X3) → U421(X1, X2, X3)
U431(mark(X1), X2, X3) → U431(X1, X2, X3)
U441(mark(X1), X2, X3) → U441(X1, X2, X3)
U451(mark(X1), X2) → U451(X1, X2)
U461(mark(X)) → U461(X)
U511(mark(X1), X2) → U511(X1, X2)
U521(mark(X)) → U521(X)
U611(mark(X1), X2) → U611(X1, X2)
U621(mark(X)) → U621(X)
U711(mark(X)) → U711(X)
U811(mark(X)) → U811(X)
U911(mark(X1), X2, X3) → U911(X1, X2, X3)
U921(mark(X1), X2, X3) → U921(X1, X2, X3)
U931(mark(X1), X2, X3) → U931(X1, X2, X3)
U941(mark(X1), X2, X3) → U941(X1, X2, X3)
U951(mark(X1), X2) → U951(X1, X2)
U961(mark(X)) → U961(X)
PROPER(cons(X1, X2)) → CONS(proper(X1), proper(X2))
PROPER(cons(X1, X2)) → PROPER(X1)
PROPER(cons(X1, X2)) → PROPER(X2)
PROPER(U101(X1, X2, X3)) → U1011(proper(X1), proper(X2), proper(X3))
PROPER(U101(X1, X2, X3)) → PROPER(X1)
PROPER(U101(X1, X2, X3)) → PROPER(X2)
PROPER(U101(X1, X2, X3)) → PROPER(X3)
PROPER(U102(X1, X2, X3)) → U1021(proper(X1), proper(X2), proper(X3))
PROPER(U102(X1, X2, X3)) → PROPER(X1)
PROPER(U102(X1, X2, X3)) → PROPER(X2)
PROPER(U102(X1, X2, X3)) → PROPER(X3)
PROPER(isNatKind(X)) → ISNATKIND(proper(X))
PROPER(isNatKind(X)) → PROPER(X)
PROPER(U103(X1, X2, X3)) → U1031(proper(X1), proper(X2), proper(X3))
PROPER(U103(X1, X2, X3)) → PROPER(X1)
PROPER(U103(X1, X2, X3)) → PROPER(X2)
PROPER(U103(X1, X2, X3)) → PROPER(X3)
PROPER(isNatIListKind(X)) → ISNATILISTKIND(proper(X))
PROPER(isNatIListKind(X)) → PROPER(X)
PROPER(U104(X1, X2, X3)) → U1041(proper(X1), proper(X2), proper(X3))
PROPER(U104(X1, X2, X3)) → PROPER(X1)
PROPER(U104(X1, X2, X3)) → PROPER(X2)
PROPER(U104(X1, X2, X3)) → PROPER(X3)
PROPER(U105(X1, X2)) → U1051(proper(X1), proper(X2))
PROPER(U105(X1, X2)) → PROPER(X1)
PROPER(U105(X1, X2)) → PROPER(X2)
PROPER(isNat(X)) → ISNAT(proper(X))
PROPER(isNat(X)) → PROPER(X)
PROPER(U106(X)) → U1061(proper(X))
PROPER(U106(X)) → PROPER(X)
PROPER(isNatIList(X)) → ISNATILIST(proper(X))
PROPER(isNatIList(X)) → PROPER(X)
PROPER(U11(X1, X2)) → U111(proper(X1), proper(X2))
PROPER(U11(X1, X2)) → PROPER(X1)
PROPER(U11(X1, X2)) → PROPER(X2)
PROPER(U12(X1, X2)) → U121(proper(X1), proper(X2))
PROPER(U12(X1, X2)) → PROPER(X1)
PROPER(U12(X1, X2)) → PROPER(X2)
PROPER(U111(X1, X2, X3)) → U1111(proper(X1), proper(X2), proper(X3))
PROPER(U111(X1, X2, X3)) → PROPER(X1)
PROPER(U111(X1, X2, X3)) → PROPER(X2)
PROPER(U111(X1, X2, X3)) → PROPER(X3)
PROPER(U112(X1, X2, X3)) → U1121(proper(X1), proper(X2), proper(X3))
PROPER(U112(X1, X2, X3)) → PROPER(X1)
PROPER(U112(X1, X2, X3)) → PROPER(X2)
PROPER(U112(X1, X2, X3)) → PROPER(X3)
PROPER(U113(X1, X2, X3)) → U1131(proper(X1), proper(X2), proper(X3))
PROPER(U113(X1, X2, X3)) → PROPER(X1)
PROPER(U113(X1, X2, X3)) → PROPER(X2)
PROPER(U113(X1, X2, X3)) → PROPER(X3)
PROPER(U114(X1, X2)) → U1141(proper(X1), proper(X2))
PROPER(U114(X1, X2)) → PROPER(X1)
PROPER(U114(X1, X2)) → PROPER(X2)
PROPER(s(X)) → S(proper(X))
PROPER(s(X)) → PROPER(X)
PROPER(length(X)) → LENGTH(proper(X))
PROPER(length(X)) → PROPER(X)
PROPER(U13(X)) → U131(proper(X))
PROPER(U13(X)) → PROPER(X)
PROPER(isNatList(X)) → ISNATLIST(proper(X))
PROPER(isNatList(X)) → PROPER(X)
PROPER(U121(X1, X2)) → U1211(proper(X1), proper(X2))
PROPER(U121(X1, X2)) → PROPER(X1)
PROPER(U121(X1, X2)) → PROPER(X2)
PROPER(U122(X)) → U1221(proper(X))
PROPER(U122(X)) → PROPER(X)
PROPER(U131(X1, X2, X3, X4)) → U1311(proper(X1), proper(X2), proper(X3), proper(X4))
PROPER(U131(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U131(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U131(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U131(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U132(X1, X2, X3, X4)) → U1321(proper(X1), proper(X2), proper(X3), proper(X4))
PROPER(U132(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U132(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U132(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U132(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U133(X1, X2, X3, X4)) → U1331(proper(X1), proper(X2), proper(X3), proper(X4))
PROPER(U133(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U133(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U133(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U133(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U134(X1, X2, X3, X4)) → U1341(proper(X1), proper(X2), proper(X3), proper(X4))
PROPER(U134(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U134(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U134(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U134(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U135(X1, X2, X3, X4)) → U1351(proper(X1), proper(X2), proper(X3), proper(X4))
PROPER(U135(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U135(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U135(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U135(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U136(X1, X2, X3, X4)) → U1361(proper(X1), proper(X2), proper(X3), proper(X4))
PROPER(U136(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U136(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U136(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U136(X1, X2, X3, X4)) → PROPER(X4)
PROPER(take(X1, X2)) → TAKE(proper(X1), proper(X2))
PROPER(take(X1, X2)) → PROPER(X1)
PROPER(take(X1, X2)) → PROPER(X2)
PROPER(U21(X1, X2)) → U211(proper(X1), proper(X2))
PROPER(U21(X1, X2)) → PROPER(X1)
PROPER(U21(X1, X2)) → PROPER(X2)
PROPER(U22(X1, X2)) → U221(proper(X1), proper(X2))
PROPER(U22(X1, X2)) → PROPER(X1)
PROPER(U22(X1, X2)) → PROPER(X2)
PROPER(U23(X)) → U231(proper(X))
PROPER(U23(X)) → PROPER(X)
PROPER(U31(X1, X2)) → U311(proper(X1), proper(X2))
PROPER(U31(X1, X2)) → PROPER(X1)
PROPER(U31(X1, X2)) → PROPER(X2)
PROPER(U32(X1, X2)) → U321(proper(X1), proper(X2))
PROPER(U32(X1, X2)) → PROPER(X1)
PROPER(U32(X1, X2)) → PROPER(X2)
PROPER(U33(X)) → U331(proper(X))
PROPER(U33(X)) → PROPER(X)
PROPER(U41(X1, X2, X3)) → U411(proper(X1), proper(X2), proper(X3))
PROPER(U41(X1, X2, X3)) → PROPER(X1)
PROPER(U41(X1, X2, X3)) → PROPER(X2)
PROPER(U41(X1, X2, X3)) → PROPER(X3)
PROPER(U42(X1, X2, X3)) → U421(proper(X1), proper(X2), proper(X3))
PROPER(U42(X1, X2, X3)) → PROPER(X1)
PROPER(U42(X1, X2, X3)) → PROPER(X2)
PROPER(U42(X1, X2, X3)) → PROPER(X3)
PROPER(U43(X1, X2, X3)) → U431(proper(X1), proper(X2), proper(X3))
PROPER(U43(X1, X2, X3)) → PROPER(X1)
PROPER(U43(X1, X2, X3)) → PROPER(X2)
PROPER(U43(X1, X2, X3)) → PROPER(X3)
PROPER(U44(X1, X2, X3)) → U441(proper(X1), proper(X2), proper(X3))
PROPER(U44(X1, X2, X3)) → PROPER(X1)
PROPER(U44(X1, X2, X3)) → PROPER(X2)
PROPER(U44(X1, X2, X3)) → PROPER(X3)
PROPER(U45(X1, X2)) → U451(proper(X1), proper(X2))
PROPER(U45(X1, X2)) → PROPER(X1)
PROPER(U45(X1, X2)) → PROPER(X2)
PROPER(U46(X)) → U461(proper(X))
PROPER(U46(X)) → PROPER(X)
PROPER(U51(X1, X2)) → U511(proper(X1), proper(X2))
PROPER(U51(X1, X2)) → PROPER(X1)
PROPER(U51(X1, X2)) → PROPER(X2)
PROPER(U52(X)) → U521(proper(X))
PROPER(U52(X)) → PROPER(X)
PROPER(U61(X1, X2)) → U611(proper(X1), proper(X2))
PROPER(U61(X1, X2)) → PROPER(X1)
PROPER(U61(X1, X2)) → PROPER(X2)
PROPER(U62(X)) → U621(proper(X))
PROPER(U62(X)) → PROPER(X)
PROPER(U71(X)) → U711(proper(X))
PROPER(U71(X)) → PROPER(X)
PROPER(U81(X)) → U811(proper(X))
PROPER(U81(X)) → PROPER(X)
PROPER(U91(X1, X2, X3)) → U911(proper(X1), proper(X2), proper(X3))
PROPER(U91(X1, X2, X3)) → PROPER(X1)
PROPER(U91(X1, X2, X3)) → PROPER(X2)
PROPER(U91(X1, X2, X3)) → PROPER(X3)
PROPER(U92(X1, X2, X3)) → U921(proper(X1), proper(X2), proper(X3))
PROPER(U92(X1, X2, X3)) → PROPER(X1)
PROPER(U92(X1, X2, X3)) → PROPER(X2)
PROPER(U92(X1, X2, X3)) → PROPER(X3)
PROPER(U93(X1, X2, X3)) → U931(proper(X1), proper(X2), proper(X3))
PROPER(U93(X1, X2, X3)) → PROPER(X1)
PROPER(U93(X1, X2, X3)) → PROPER(X2)
PROPER(U93(X1, X2, X3)) → PROPER(X3)
PROPER(U94(X1, X2, X3)) → U941(proper(X1), proper(X2), proper(X3))
PROPER(U94(X1, X2, X3)) → PROPER(X1)
PROPER(U94(X1, X2, X3)) → PROPER(X2)
PROPER(U94(X1, X2, X3)) → PROPER(X3)
PROPER(U95(X1, X2)) → U951(proper(X1), proper(X2))
PROPER(U95(X1, X2)) → PROPER(X1)
PROPER(U95(X1, X2)) → PROPER(X2)
PROPER(U96(X)) → U961(proper(X))
PROPER(U96(X)) → PROPER(X)
CONS(ok(X1), ok(X2)) → CONS(X1, X2)
U1011(ok(X1), ok(X2), ok(X3)) → U1011(X1, X2, X3)
U1021(ok(X1), ok(X2), ok(X3)) → U1021(X1, X2, X3)
ISNATKIND(ok(X)) → ISNATKIND(X)
U1031(ok(X1), ok(X2), ok(X3)) → U1031(X1, X2, X3)
ISNATILISTKIND(ok(X)) → ISNATILISTKIND(X)
U1041(ok(X1), ok(X2), ok(X3)) → U1041(X1, X2, X3)
U1051(ok(X1), ok(X2)) → U1051(X1, X2)
ISNAT(ok(X)) → ISNAT(X)
U1061(ok(X)) → U1061(X)
ISNATILIST(ok(X)) → ISNATILIST(X)
U111(ok(X1), ok(X2)) → U111(X1, X2)
U121(ok(X1), ok(X2)) → U121(X1, X2)
U1111(ok(X1), ok(X2), ok(X3)) → U1111(X1, X2, X3)
U1121(ok(X1), ok(X2), ok(X3)) → U1121(X1, X2, X3)
U1131(ok(X1), ok(X2), ok(X3)) → U1131(X1, X2, X3)
U1141(ok(X1), ok(X2)) → U1141(X1, X2)
S(ok(X)) → S(X)
LENGTH(ok(X)) → LENGTH(X)
U131(ok(X)) → U131(X)
ISNATLIST(ok(X)) → ISNATLIST(X)
U1211(ok(X1), ok(X2)) → U1211(X1, X2)
U1221(ok(X)) → U1221(X)
U1311(ok(X1), ok(X2), ok(X3), ok(X4)) → U1311(X1, X2, X3, X4)
U1321(ok(X1), ok(X2), ok(X3), ok(X4)) → U1321(X1, X2, X3, X4)
U1331(ok(X1), ok(X2), ok(X3), ok(X4)) → U1331(X1, X2, X3, X4)
U1341(ok(X1), ok(X2), ok(X3), ok(X4)) → U1341(X1, X2, X3, X4)
U1351(ok(X1), ok(X2), ok(X3), ok(X4)) → U1351(X1, X2, X3, X4)
U1361(ok(X1), ok(X2), ok(X3), ok(X4)) → U1361(X1, X2, X3, X4)
TAKE(ok(X1), ok(X2)) → TAKE(X1, X2)
U211(ok(X1), ok(X2)) → U211(X1, X2)
U221(ok(X1), ok(X2)) → U221(X1, X2)
U231(ok(X)) → U231(X)
U311(ok(X1), ok(X2)) → U311(X1, X2)
U321(ok(X1), ok(X2)) → U321(X1, X2)
U331(ok(X)) → U331(X)
U411(ok(X1), ok(X2), ok(X3)) → U411(X1, X2, X3)
U421(ok(X1), ok(X2), ok(X3)) → U421(X1, X2, X3)
U431(ok(X1), ok(X2), ok(X3)) → U431(X1, X2, X3)
U441(ok(X1), ok(X2), ok(X3)) → U441(X1, X2, X3)
U451(ok(X1), ok(X2)) → U451(X1, X2)
U461(ok(X)) → U461(X)
U511(ok(X1), ok(X2)) → U511(X1, X2)
U521(ok(X)) → U521(X)
U611(ok(X1), ok(X2)) → U611(X1, X2)
U621(ok(X)) → U621(X)
U711(ok(X)) → U711(X)
U811(ok(X)) → U811(X)
U911(ok(X1), ok(X2), ok(X3)) → U911(X1, X2, X3)
U921(ok(X1), ok(X2), ok(X3)) → U921(X1, X2, X3)
U931(ok(X1), ok(X2), ok(X3)) → U931(X1, X2, X3)
U941(ok(X1), ok(X2), ok(X3)) → U941(X1, X2, X3)
U951(ok(X1), ok(X2)) → U951(X1, X2)
U961(ok(X)) → U961(X)
TOP(mark(X)) → TOP(proper(X))
TOP(mark(X)) → PROPER(X)
TOP(ok(X)) → TOP(active(X))
TOP(ok(X)) → ACTIVE(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(3) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 57 SCCs with 201 less nodes.

(4) Complex Obligation (AND)

(5) Obligation:

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

ISNATLIST(ok(X)) → ISNATLIST(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(6) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


ISNATLIST(ok(X)) → ISNATLIST(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
ok1 > ISNATLIST1

Status:
ISNATLIST1: [1]
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(7) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(8) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(9) TRUE

(10) Obligation:

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

ISNATILIST(ok(X)) → ISNATILIST(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(11) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


ISNATILIST(ok(X)) → ISNATILIST(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
ok1 > ISNATILIST1

Status:
ISNATILIST1: [1]
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(12) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(13) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(14) TRUE

(15) Obligation:

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

ISNAT(ok(X)) → ISNAT(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(16) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


ISNAT(ok(X)) → ISNAT(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
ok1 > ISNAT1

Status:
ISNAT1: [1]
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(17) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(18) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(19) TRUE

(20) Obligation:

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

ISNATILISTKIND(ok(X)) → ISNATILISTKIND(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(21) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


ISNATILISTKIND(ok(X)) → ISNATILISTKIND(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
ok1 > ISNATILISTKIND1

Status:
ISNATILISTKIND1: [1]
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(22) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(23) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(24) TRUE

(25) Obligation:

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

ISNATKIND(ok(X)) → ISNATKIND(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(26) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


ISNATKIND(ok(X)) → ISNATKIND(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
ok1 > ISNATKIND1

Status:
ISNATKIND1: [1]
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(27) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(28) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(29) TRUE

(30) Obligation:

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

U961(ok(X)) → U961(X)
U961(mark(X)) → U961(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(31) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U961(ok(X)) → U961(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U961(x1)  =  x1
ok(x1)  =  ok(x1)
mark(x1)  =  x1

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(32) Obligation:

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

U961(mark(X)) → U961(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(33) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U961(mark(X)) → U961(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U96^11

Status:
U96^11: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(34) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(35) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(36) TRUE

(37) Obligation:

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

U951(ok(X1), ok(X2)) → U951(X1, X2)
U951(mark(X1), X2) → U951(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(38) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U951(ok(X1), ok(X2)) → U951(X1, X2)
U951(mark(X1), X2) → U951(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U951(x1, x2)  =  U951(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
U95^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(39) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(40) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(41) TRUE

(42) Obligation:

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

U941(ok(X1), ok(X2), ok(X3)) → U941(X1, X2, X3)
U941(mark(X1), X2, X3) → U941(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(43) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U941(ok(X1), ok(X2), ok(X3)) → U941(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U941(x1, x2, x3)  =  U941(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U94^11

Status:
U94^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(44) Obligation:

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

U941(mark(X1), X2, X3) → U941(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(45) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U941(mark(X1), X2, X3) → U941(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U94^13

Status:
U94^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(46) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(47) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(48) TRUE

(49) Obligation:

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

U931(ok(X1), ok(X2), ok(X3)) → U931(X1, X2, X3)
U931(mark(X1), X2, X3) → U931(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(50) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U931(ok(X1), ok(X2), ok(X3)) → U931(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U931(x1, x2, x3)  =  U931(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U93^11

Status:
U93^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(51) Obligation:

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

U931(mark(X1), X2, X3) → U931(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(52) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U931(mark(X1), X2, X3) → U931(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U93^13

Status:
U93^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(53) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(54) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(55) TRUE

(56) Obligation:

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

U921(ok(X1), ok(X2), ok(X3)) → U921(X1, X2, X3)
U921(mark(X1), X2, X3) → U921(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(57) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U921(ok(X1), ok(X2), ok(X3)) → U921(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U921(x1, x2, x3)  =  U921(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U92^11

Status:
U92^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(58) Obligation:

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

U921(mark(X1), X2, X3) → U921(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(59) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U921(mark(X1), X2, X3) → U921(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U92^13

Status:
U92^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(60) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(61) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(62) TRUE

(63) Obligation:

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

U911(ok(X1), ok(X2), ok(X3)) → U911(X1, X2, X3)
U911(mark(X1), X2, X3) → U911(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(64) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U911(ok(X1), ok(X2), ok(X3)) → U911(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U911(x1, x2, x3)  =  U911(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U91^11

Status:
U91^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(65) Obligation:

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

U911(mark(X1), X2, X3) → U911(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(66) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U911(mark(X1), X2, X3) → U911(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U91^13

Status:
U91^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(67) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(68) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(69) TRUE

(70) Obligation:

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

U811(ok(X)) → U811(X)
U811(mark(X)) → U811(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(71) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U811(ok(X)) → U811(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U811(x1)  =  x1
ok(x1)  =  ok(x1)
mark(x1)  =  x1

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(72) Obligation:

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

U811(mark(X)) → U811(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(73) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U811(mark(X)) → U811(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U81^11

Status:
U81^11: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(74) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(75) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(76) TRUE

(77) Obligation:

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

U711(ok(X)) → U711(X)
U711(mark(X)) → U711(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(78) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U711(ok(X)) → U711(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U711(x1)  =  x1
ok(x1)  =  ok(x1)
mark(x1)  =  x1

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(79) Obligation:

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

U711(mark(X)) → U711(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(80) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U711(mark(X)) → U711(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U71^11

Status:
U71^11: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(81) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(82) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(83) TRUE

(84) Obligation:

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

U621(ok(X)) → U621(X)
U621(mark(X)) → U621(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(85) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U621(ok(X)) → U621(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U621(x1)  =  x1
ok(x1)  =  ok(x1)
mark(x1)  =  x1

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(86) Obligation:

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

U621(mark(X)) → U621(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(87) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U621(mark(X)) → U621(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U62^11

Status:
U62^11: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(88) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(89) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(90) TRUE

(91) Obligation:

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

U611(ok(X1), ok(X2)) → U611(X1, X2)
U611(mark(X1), X2) → U611(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(92) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U611(ok(X1), ok(X2)) → U611(X1, X2)
U611(mark(X1), X2) → U611(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U611(x1, x2)  =  U611(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
U61^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(93) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(94) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(95) TRUE

(96) Obligation:

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

U521(ok(X)) → U521(X)
U521(mark(X)) → U521(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(97) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U521(ok(X)) → U521(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U521(x1)  =  x1
ok(x1)  =  ok(x1)
mark(x1)  =  x1

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(98) Obligation:

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

U521(mark(X)) → U521(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(99) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U521(mark(X)) → U521(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U52^11

Status:
U52^11: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(100) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(101) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(102) TRUE

(103) Obligation:

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

U511(ok(X1), ok(X2)) → U511(X1, X2)
U511(mark(X1), X2) → U511(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(104) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U511(ok(X1), ok(X2)) → U511(X1, X2)
U511(mark(X1), X2) → U511(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U511(x1, x2)  =  U511(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
U51^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(105) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(106) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(107) TRUE

(108) Obligation:

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

U461(ok(X)) → U461(X)
U461(mark(X)) → U461(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(109) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U461(ok(X)) → U461(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U461(x1)  =  x1
ok(x1)  =  ok(x1)
mark(x1)  =  x1

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(110) Obligation:

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

U461(mark(X)) → U461(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(111) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U461(mark(X)) → U461(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U46^11

Status:
U46^11: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(112) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(113) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(114) TRUE

(115) Obligation:

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

U451(ok(X1), ok(X2)) → U451(X1, X2)
U451(mark(X1), X2) → U451(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(116) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U451(ok(X1), ok(X2)) → U451(X1, X2)
U451(mark(X1), X2) → U451(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U451(x1, x2)  =  U451(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
U45^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(117) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(118) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(119) TRUE

(120) Obligation:

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

U441(ok(X1), ok(X2), ok(X3)) → U441(X1, X2, X3)
U441(mark(X1), X2, X3) → U441(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(121) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U441(ok(X1), ok(X2), ok(X3)) → U441(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U441(x1, x2, x3)  =  U441(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U44^11

Status:
U44^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(122) Obligation:

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

U441(mark(X1), X2, X3) → U441(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(123) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U441(mark(X1), X2, X3) → U441(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U44^13

Status:
U44^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(124) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(125) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(126) TRUE

(127) Obligation:

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

U431(ok(X1), ok(X2), ok(X3)) → U431(X1, X2, X3)
U431(mark(X1), X2, X3) → U431(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(128) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U431(ok(X1), ok(X2), ok(X3)) → U431(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U431(x1, x2, x3)  =  U431(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U43^11

Status:
U43^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(129) Obligation:

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

U431(mark(X1), X2, X3) → U431(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(130) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U431(mark(X1), X2, X3) → U431(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U43^13

Status:
U43^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(131) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(132) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(133) TRUE

(134) Obligation:

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

U421(ok(X1), ok(X2), ok(X3)) → U421(X1, X2, X3)
U421(mark(X1), X2, X3) → U421(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(135) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U421(ok(X1), ok(X2), ok(X3)) → U421(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U421(x1, x2, x3)  =  U421(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U42^11

Status:
U42^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(136) Obligation:

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

U421(mark(X1), X2, X3) → U421(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(137) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U421(mark(X1), X2, X3) → U421(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U42^13

Status:
U42^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(138) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(139) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(140) TRUE

(141) Obligation:

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

U411(ok(X1), ok(X2), ok(X3)) → U411(X1, X2, X3)
U411(mark(X1), X2, X3) → U411(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(142) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U411(ok(X1), ok(X2), ok(X3)) → U411(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U411(x1, x2, x3)  =  U411(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U41^11

Status:
U41^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(143) Obligation:

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

U411(mark(X1), X2, X3) → U411(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(144) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U411(mark(X1), X2, X3) → U411(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U41^13

Status:
U41^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(145) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(146) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(147) TRUE

(148) Obligation:

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

U331(ok(X)) → U331(X)
U331(mark(X)) → U331(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(149) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U331(ok(X)) → U331(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U331(x1)  =  x1
ok(x1)  =  ok(x1)
mark(x1)  =  x1

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(150) Obligation:

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

U331(mark(X)) → U331(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(151) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U331(mark(X)) → U331(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U33^11

Status:
U33^11: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(152) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(153) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(154) TRUE

(155) Obligation:

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

U321(ok(X1), ok(X2)) → U321(X1, X2)
U321(mark(X1), X2) → U321(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(156) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U321(ok(X1), ok(X2)) → U321(X1, X2)
U321(mark(X1), X2) → U321(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U321(x1, x2)  =  U321(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
U32^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(157) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(158) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(159) TRUE

(160) Obligation:

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

U311(ok(X1), ok(X2)) → U311(X1, X2)
U311(mark(X1), X2) → U311(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(161) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U311(ok(X1), ok(X2)) → U311(X1, X2)
U311(mark(X1), X2) → U311(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U311(x1, x2)  =  U311(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
U31^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(162) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(163) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(164) TRUE

(165) Obligation:

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

U231(ok(X)) → U231(X)
U231(mark(X)) → U231(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(166) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U231(ok(X)) → U231(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U231(x1)  =  x1
ok(x1)  =  ok(x1)
mark(x1)  =  x1

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(167) Obligation:

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

U231(mark(X)) → U231(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(168) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U231(mark(X)) → U231(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U23^11

Status:
U23^11: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(169) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(170) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(171) TRUE

(172) Obligation:

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

U221(ok(X1), ok(X2)) → U221(X1, X2)
U221(mark(X1), X2) → U221(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(173) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U221(ok(X1), ok(X2)) → U221(X1, X2)
U221(mark(X1), X2) → U221(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U221(x1, x2)  =  U221(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
U22^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(174) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(175) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(176) TRUE

(177) Obligation:

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

U211(ok(X1), ok(X2)) → U211(X1, X2)
U211(mark(X1), X2) → U211(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(178) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U211(ok(X1), ok(X2)) → U211(X1, X2)
U211(mark(X1), X2) → U211(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U211(x1, x2)  =  U211(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
U21^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(179) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(180) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(181) TRUE

(182) Obligation:

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

TAKE(X1, mark(X2)) → TAKE(X1, X2)
TAKE(mark(X1), X2) → TAKE(X1, X2)
TAKE(ok(X1), ok(X2)) → TAKE(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(183) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


TAKE(X1, mark(X2)) → TAKE(X1, X2)
TAKE(ok(X1), ok(X2)) → TAKE(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
TAKE(x1, x2)  =  TAKE(x2)
mark(x1)  =  mark(x1)
ok(x1)  =  ok(x1)

Lexicographic path order with status [LPO].
Precedence:
ok1 > TAKE1

Status:
TAKE1: [1]
mark1: [1]
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(184) Obligation:

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

TAKE(mark(X1), X2) → TAKE(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(185) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


TAKE(mark(X1), X2) → TAKE(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
TAKE(x1, x2)  =  TAKE(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > TAKE1

Status:
TAKE1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(186) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(187) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(188) TRUE

(189) Obligation:

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

U1361(ok(X1), ok(X2), ok(X3), ok(X4)) → U1361(X1, X2, X3, X4)
U1361(mark(X1), X2, X3, X4) → U1361(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(190) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1361(ok(X1), ok(X2), ok(X3), ok(X4)) → U1361(X1, X2, X3, X4)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1361(x1, x2, x3, x4)  =  U1361(x2, x4)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
ok1 > U136^12
mark1 > U136^12

Status:
U136^12: [2,1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(191) Obligation:

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

U1361(mark(X1), X2, X3, X4) → U1361(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(192) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1361(mark(X1), X2, X3, X4) → U1361(X1, X2, X3, X4)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U136^14

Status:
U136^14: [2,3,4,1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(193) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(194) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(195) TRUE

(196) Obligation:

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

U1351(ok(X1), ok(X2), ok(X3), ok(X4)) → U1351(X1, X2, X3, X4)
U1351(mark(X1), X2, X3, X4) → U1351(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(197) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1351(ok(X1), ok(X2), ok(X3), ok(X4)) → U1351(X1, X2, X3, X4)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1351(x1, x2, x3, x4)  =  U1351(x2, x4)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
ok1 > U135^12
mark1 > U135^12

Status:
U135^12: [2,1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(198) Obligation:

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

U1351(mark(X1), X2, X3, X4) → U1351(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(199) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1351(mark(X1), X2, X3, X4) → U1351(X1, X2, X3, X4)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U135^14

Status:
U135^14: [2,3,4,1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(200) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(201) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(202) TRUE

(203) Obligation:

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

U1341(ok(X1), ok(X2), ok(X3), ok(X4)) → U1341(X1, X2, X3, X4)
U1341(mark(X1), X2, X3, X4) → U1341(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(204) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1341(ok(X1), ok(X2), ok(X3), ok(X4)) → U1341(X1, X2, X3, X4)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1341(x1, x2, x3, x4)  =  U1341(x2, x4)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
ok1 > U134^12
mark1 > U134^12

Status:
U134^12: [2,1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(205) Obligation:

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

U1341(mark(X1), X2, X3, X4) → U1341(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(206) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1341(mark(X1), X2, X3, X4) → U1341(X1, X2, X3, X4)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U134^14

Status:
U134^14: [2,3,4,1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(207) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(208) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(209) TRUE

(210) Obligation:

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

U1331(ok(X1), ok(X2), ok(X3), ok(X4)) → U1331(X1, X2, X3, X4)
U1331(mark(X1), X2, X3, X4) → U1331(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(211) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1331(ok(X1), ok(X2), ok(X3), ok(X4)) → U1331(X1, X2, X3, X4)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1331(x1, x2, x3, x4)  =  U1331(x2, x4)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
ok1 > U133^12
mark1 > U133^12

Status:
U133^12: [2,1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(212) Obligation:

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

U1331(mark(X1), X2, X3, X4) → U1331(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(213) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1331(mark(X1), X2, X3, X4) → U1331(X1, X2, X3, X4)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U133^14

Status:
U133^14: [2,3,4,1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(214) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(215) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(216) TRUE

(217) Obligation:

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

U1321(ok(X1), ok(X2), ok(X3), ok(X4)) → U1321(X1, X2, X3, X4)
U1321(mark(X1), X2, X3, X4) → U1321(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(218) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1321(ok(X1), ok(X2), ok(X3), ok(X4)) → U1321(X1, X2, X3, X4)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1321(x1, x2, x3, x4)  =  U1321(x2, x4)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
ok1 > U132^12
mark1 > U132^12

Status:
U132^12: [2,1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(219) Obligation:

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

U1321(mark(X1), X2, X3, X4) → U1321(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(220) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1321(mark(X1), X2, X3, X4) → U1321(X1, X2, X3, X4)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U132^14

Status:
U132^14: [2,3,4,1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(221) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(222) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(223) TRUE

(224) Obligation:

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

U1311(ok(X1), ok(X2), ok(X3), ok(X4)) → U1311(X1, X2, X3, X4)
U1311(mark(X1), X2, X3, X4) → U1311(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(225) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1311(ok(X1), ok(X2), ok(X3), ok(X4)) → U1311(X1, X2, X3, X4)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1311(x1, x2, x3, x4)  =  U1311(x2, x4)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
ok1 > U131^12
mark1 > U131^12

Status:
U131^12: [2,1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(226) Obligation:

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

U1311(mark(X1), X2, X3, X4) → U1311(X1, X2, X3, X4)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(227) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1311(mark(X1), X2, X3, X4) → U1311(X1, X2, X3, X4)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U131^14

Status:
U131^14: [2,3,4,1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(228) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(229) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(230) TRUE

(231) Obligation:

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

U1221(ok(X)) → U1221(X)
U1221(mark(X)) → U1221(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(232) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1221(ok(X)) → U1221(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1221(x1)  =  x1
ok(x1)  =  ok(x1)
mark(x1)  =  x1

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(233) Obligation:

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

U1221(mark(X)) → U1221(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(234) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1221(mark(X)) → U1221(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U122^11

Status:
U122^11: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(235) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(236) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(237) TRUE

(238) Obligation:

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

U1211(ok(X1), ok(X2)) → U1211(X1, X2)
U1211(mark(X1), X2) → U1211(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(239) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1211(ok(X1), ok(X2)) → U1211(X1, X2)
U1211(mark(X1), X2) → U1211(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1211(x1, x2)  =  U1211(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
U121^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(240) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(241) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(242) TRUE

(243) Obligation:

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

U131(ok(X)) → U131(X)
U131(mark(X)) → U131(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(244) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U131(ok(X)) → U131(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U131(x1)  =  x1
ok(x1)  =  ok(x1)
mark(x1)  =  x1

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(245) Obligation:

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

U131(mark(X)) → U131(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(246) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U131(mark(X)) → U131(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U13^11

Status:
U13^11: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(247) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(248) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(249) TRUE

(250) Obligation:

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

LENGTH(ok(X)) → LENGTH(X)
LENGTH(mark(X)) → LENGTH(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(251) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


LENGTH(ok(X)) → LENGTH(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
LENGTH(x1)  =  x1
ok(x1)  =  ok(x1)
mark(x1)  =  x1

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(252) Obligation:

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

LENGTH(mark(X)) → LENGTH(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(253) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


LENGTH(mark(X)) → LENGTH(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > LENGTH1

Status:
LENGTH1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(254) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(255) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(256) TRUE

(257) Obligation:

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

S(ok(X)) → S(X)
S(mark(X)) → S(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(258) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


S(ok(X)) → S(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
S(x1)  =  x1
ok(x1)  =  ok(x1)
mark(x1)  =  x1

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(259) Obligation:

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

S(mark(X)) → S(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(260) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


S(mark(X)) → S(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > S1

Status:
S1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(261) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(262) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(263) TRUE

(264) Obligation:

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

U1141(ok(X1), ok(X2)) → U1141(X1, X2)
U1141(mark(X1), X2) → U1141(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(265) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1141(ok(X1), ok(X2)) → U1141(X1, X2)
U1141(mark(X1), X2) → U1141(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1141(x1, x2)  =  U1141(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
U114^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(266) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(267) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(268) TRUE

(269) Obligation:

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

U1131(ok(X1), ok(X2), ok(X3)) → U1131(X1, X2, X3)
U1131(mark(X1), X2, X3) → U1131(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(270) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1131(ok(X1), ok(X2), ok(X3)) → U1131(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1131(x1, x2, x3)  =  U1131(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U113^11

Status:
U113^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(271) Obligation:

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

U1131(mark(X1), X2, X3) → U1131(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(272) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1131(mark(X1), X2, X3) → U1131(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U113^13

Status:
U113^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(273) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(274) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(275) TRUE

(276) Obligation:

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

U1121(ok(X1), ok(X2), ok(X3)) → U1121(X1, X2, X3)
U1121(mark(X1), X2, X3) → U1121(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(277) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1121(ok(X1), ok(X2), ok(X3)) → U1121(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1121(x1, x2, x3)  =  U1121(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U112^11

Status:
U112^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(278) Obligation:

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

U1121(mark(X1), X2, X3) → U1121(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(279) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1121(mark(X1), X2, X3) → U1121(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U112^13

Status:
U112^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(280) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(281) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(282) TRUE

(283) Obligation:

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

U1111(ok(X1), ok(X2), ok(X3)) → U1111(X1, X2, X3)
U1111(mark(X1), X2, X3) → U1111(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(284) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1111(ok(X1), ok(X2), ok(X3)) → U1111(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1111(x1, x2, x3)  =  U1111(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U111^11

Status:
U111^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(285) Obligation:

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

U1111(mark(X1), X2, X3) → U1111(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(286) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1111(mark(X1), X2, X3) → U1111(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U111^13

Status:
U111^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(287) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(288) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(289) TRUE

(290) Obligation:

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

U121(ok(X1), ok(X2)) → U121(X1, X2)
U121(mark(X1), X2) → U121(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(291) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U121(ok(X1), ok(X2)) → U121(X1, X2)
U121(mark(X1), X2) → U121(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U121(x1, x2)  =  U121(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
U12^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(292) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(293) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(294) TRUE

(295) Obligation:

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

U111(ok(X1), ok(X2)) → U111(X1, X2)
U111(mark(X1), X2) → U111(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(296) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U111(ok(X1), ok(X2)) → U111(X1, X2)
U111(mark(X1), X2) → U111(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U111(x1, x2)  =  U111(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
U11^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(297) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(298) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(299) TRUE

(300) Obligation:

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

U1061(ok(X)) → U1061(X)
U1061(mark(X)) → U1061(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(301) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1061(ok(X)) → U1061(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1061(x1)  =  x1
ok(x1)  =  ok(x1)
mark(x1)  =  x1

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
ok1: [1]

The following usable rules [FROCOS05] were oriented: none

(302) Obligation:

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

U1061(mark(X)) → U1061(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(303) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1061(mark(X)) → U1061(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U106^11

Status:
U106^11: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(304) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(305) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(306) TRUE

(307) Obligation:

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

U1051(ok(X1), ok(X2)) → U1051(X1, X2)
U1051(mark(X1), X2) → U1051(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(308) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1051(ok(X1), ok(X2)) → U1051(X1, X2)
U1051(mark(X1), X2) → U1051(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1051(x1, x2)  =  U1051(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
U105^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(309) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(310) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(311) TRUE

(312) Obligation:

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

U1041(ok(X1), ok(X2), ok(X3)) → U1041(X1, X2, X3)
U1041(mark(X1), X2, X3) → U1041(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(313) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1041(ok(X1), ok(X2), ok(X3)) → U1041(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1041(x1, x2, x3)  =  U1041(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U104^11

Status:
U104^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(314) Obligation:

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

U1041(mark(X1), X2, X3) → U1041(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(315) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1041(mark(X1), X2, X3) → U1041(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U104^13

Status:
U104^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(316) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(317) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(318) TRUE

(319) Obligation:

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

U1031(ok(X1), ok(X2), ok(X3)) → U1031(X1, X2, X3)
U1031(mark(X1), X2, X3) → U1031(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(320) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1031(ok(X1), ok(X2), ok(X3)) → U1031(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1031(x1, x2, x3)  =  U1031(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U103^11

Status:
U103^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(321) Obligation:

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

U1031(mark(X1), X2, X3) → U1031(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(322) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1031(mark(X1), X2, X3) → U1031(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U103^13

Status:
U103^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(323) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(324) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(325) TRUE

(326) Obligation:

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

U1021(ok(X1), ok(X2), ok(X3)) → U1021(X1, X2, X3)
U1021(mark(X1), X2, X3) → U1021(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(327) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1021(ok(X1), ok(X2), ok(X3)) → U1021(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1021(x1, x2, x3)  =  U1021(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U102^11

Status:
U102^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(328) Obligation:

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

U1021(mark(X1), X2, X3) → U1021(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(329) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1021(mark(X1), X2, X3) → U1021(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U102^13

Status:
U102^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(330) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(331) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(332) TRUE

(333) Obligation:

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

U1011(ok(X1), ok(X2), ok(X3)) → U1011(X1, X2, X3)
U1011(mark(X1), X2, X3) → U1011(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(334) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1011(ok(X1), ok(X2), ok(X3)) → U1011(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
U1011(x1, x2, x3)  =  U1011(x3)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
mark1 > U101^11

Status:
U101^11: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(335) Obligation:

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

U1011(mark(X1), X2, X3) → U1011(X1, X2, X3)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(336) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


U1011(mark(X1), X2, X3) → U1011(X1, X2, X3)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
mark1 > U101^13

Status:
U101^13: [3,1,2]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(337) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(338) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(339) TRUE

(340) Obligation:

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

CONS(ok(X1), ok(X2)) → CONS(X1, X2)
CONS(mark(X1), X2) → CONS(X1, X2)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(341) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


CONS(ok(X1), ok(X2)) → CONS(X1, X2)
CONS(mark(X1), X2) → CONS(X1, X2)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
CONS(x1, x2)  =  CONS(x1)
ok(x1)  =  ok(x1)
mark(x1)  =  mark(x1)

Lexicographic path order with status [LPO].
Precedence:
trivial

Status:
CONS1: [1]
ok1: [1]
mark1: [1]

The following usable rules [FROCOS05] were oriented: none

(342) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(343) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(344) TRUE

(345) Obligation:

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

PROPER(cons(X1, X2)) → PROPER(X2)
PROPER(cons(X1, X2)) → PROPER(X1)
PROPER(U101(X1, X2, X3)) → PROPER(X1)
PROPER(U101(X1, X2, X3)) → PROPER(X2)
PROPER(U101(X1, X2, X3)) → PROPER(X3)
PROPER(U102(X1, X2, X3)) → PROPER(X1)
PROPER(U102(X1, X2, X3)) → PROPER(X2)
PROPER(U102(X1, X2, X3)) → PROPER(X3)
PROPER(isNatKind(X)) → PROPER(X)
PROPER(U103(X1, X2, X3)) → PROPER(X1)
PROPER(U103(X1, X2, X3)) → PROPER(X2)
PROPER(U103(X1, X2, X3)) → PROPER(X3)
PROPER(isNatIListKind(X)) → PROPER(X)
PROPER(U104(X1, X2, X3)) → PROPER(X1)
PROPER(U104(X1, X2, X3)) → PROPER(X2)
PROPER(U104(X1, X2, X3)) → PROPER(X3)
PROPER(U105(X1, X2)) → PROPER(X1)
PROPER(U105(X1, X2)) → PROPER(X2)
PROPER(isNat(X)) → PROPER(X)
PROPER(U106(X)) → PROPER(X)
PROPER(isNatIList(X)) → PROPER(X)
PROPER(U11(X1, X2)) → PROPER(X1)
PROPER(U11(X1, X2)) → PROPER(X2)
PROPER(U12(X1, X2)) → PROPER(X1)
PROPER(U12(X1, X2)) → PROPER(X2)
PROPER(U111(X1, X2, X3)) → PROPER(X1)
PROPER(U111(X1, X2, X3)) → PROPER(X2)
PROPER(U111(X1, X2, X3)) → PROPER(X3)
PROPER(U112(X1, X2, X3)) → PROPER(X1)
PROPER(U112(X1, X2, X3)) → PROPER(X2)
PROPER(U112(X1, X2, X3)) → PROPER(X3)
PROPER(U113(X1, X2, X3)) → PROPER(X1)
PROPER(U113(X1, X2, X3)) → PROPER(X2)
PROPER(U113(X1, X2, X3)) → PROPER(X3)
PROPER(U114(X1, X2)) → PROPER(X1)
PROPER(U114(X1, X2)) → PROPER(X2)
PROPER(s(X)) → PROPER(X)
PROPER(length(X)) → PROPER(X)
PROPER(U13(X)) → PROPER(X)
PROPER(isNatList(X)) → PROPER(X)
PROPER(U121(X1, X2)) → PROPER(X1)
PROPER(U121(X1, X2)) → PROPER(X2)
PROPER(U122(X)) → PROPER(X)
PROPER(U131(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U131(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U131(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U131(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U132(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U132(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U132(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U132(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U133(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U133(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U133(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U133(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U134(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U134(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U134(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U134(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U135(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U135(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U135(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U135(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U136(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U136(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U136(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U136(X1, X2, X3, X4)) → PROPER(X4)
PROPER(take(X1, X2)) → PROPER(X1)
PROPER(take(X1, X2)) → PROPER(X2)
PROPER(U21(X1, X2)) → PROPER(X1)
PROPER(U21(X1, X2)) → PROPER(X2)
PROPER(U22(X1, X2)) → PROPER(X1)
PROPER(U22(X1, X2)) → PROPER(X2)
PROPER(U23(X)) → PROPER(X)
PROPER(U31(X1, X2)) → PROPER(X1)
PROPER(U31(X1, X2)) → PROPER(X2)
PROPER(U32(X1, X2)) → PROPER(X1)
PROPER(U32(X1, X2)) → PROPER(X2)
PROPER(U33(X)) → PROPER(X)
PROPER(U41(X1, X2, X3)) → PROPER(X1)
PROPER(U41(X1, X2, X3)) → PROPER(X2)
PROPER(U41(X1, X2, X3)) → PROPER(X3)
PROPER(U42(X1, X2, X3)) → PROPER(X1)
PROPER(U42(X1, X2, X3)) → PROPER(X2)
PROPER(U42(X1, X2, X3)) → PROPER(X3)
PROPER(U43(X1, X2, X3)) → PROPER(X1)
PROPER(U43(X1, X2, X3)) → PROPER(X2)
PROPER(U43(X1, X2, X3)) → PROPER(X3)
PROPER(U44(X1, X2, X3)) → PROPER(X1)
PROPER(U44(X1, X2, X3)) → PROPER(X2)
PROPER(U44(X1, X2, X3)) → PROPER(X3)
PROPER(U45(X1, X2)) → PROPER(X1)
PROPER(U45(X1, X2)) → PROPER(X2)
PROPER(U46(X)) → PROPER(X)
PROPER(U51(X1, X2)) → PROPER(X1)
PROPER(U51(X1, X2)) → PROPER(X2)
PROPER(U52(X)) → PROPER(X)
PROPER(U61(X1, X2)) → PROPER(X1)
PROPER(U61(X1, X2)) → PROPER(X2)
PROPER(U62(X)) → PROPER(X)
PROPER(U71(X)) → PROPER(X)
PROPER(U81(X)) → PROPER(X)
PROPER(U91(X1, X2, X3)) → PROPER(X1)
PROPER(U91(X1, X2, X3)) → PROPER(X2)
PROPER(U91(X1, X2, X3)) → PROPER(X3)
PROPER(U92(X1, X2, X3)) → PROPER(X1)
PROPER(U92(X1, X2, X3)) → PROPER(X2)
PROPER(U92(X1, X2, X3)) → PROPER(X3)
PROPER(U93(X1, X2, X3)) → PROPER(X1)
PROPER(U93(X1, X2, X3)) → PROPER(X2)
PROPER(U93(X1, X2, X3)) → PROPER(X3)
PROPER(U94(X1, X2, X3)) → PROPER(X1)
PROPER(U94(X1, X2, X3)) → PROPER(X2)
PROPER(U94(X1, X2, X3)) → PROPER(X3)
PROPER(U95(X1, X2)) → PROPER(X1)
PROPER(U95(X1, X2)) → PROPER(X2)
PROPER(U96(X)) → PROPER(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(346) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


PROPER(cons(X1, X2)) → PROPER(X2)
PROPER(cons(X1, X2)) → PROPER(X1)
PROPER(U101(X1, X2, X3)) → PROPER(X1)
PROPER(U101(X1, X2, X3)) → PROPER(X2)
PROPER(U101(X1, X2, X3)) → PROPER(X3)
PROPER(U102(X1, X2, X3)) → PROPER(X1)
PROPER(U102(X1, X2, X3)) → PROPER(X2)
PROPER(U102(X1, X2, X3)) → PROPER(X3)
PROPER(isNatKind(X)) → PROPER(X)
PROPER(U103(X1, X2, X3)) → PROPER(X1)
PROPER(U103(X1, X2, X3)) → PROPER(X2)
PROPER(U103(X1, X2, X3)) → PROPER(X3)
PROPER(isNatIListKind(X)) → PROPER(X)
PROPER(U104(X1, X2, X3)) → PROPER(X1)
PROPER(U104(X1, X2, X3)) → PROPER(X2)
PROPER(U104(X1, X2, X3)) → PROPER(X3)
PROPER(U105(X1, X2)) → PROPER(X1)
PROPER(U105(X1, X2)) → PROPER(X2)
PROPER(isNat(X)) → PROPER(X)
PROPER(U106(X)) → PROPER(X)
PROPER(isNatIList(X)) → PROPER(X)
PROPER(U11(X1, X2)) → PROPER(X1)
PROPER(U11(X1, X2)) → PROPER(X2)
PROPER(U12(X1, X2)) → PROPER(X1)
PROPER(U12(X1, X2)) → PROPER(X2)
PROPER(U111(X1, X2, X3)) → PROPER(X1)
PROPER(U111(X1, X2, X3)) → PROPER(X2)
PROPER(U111(X1, X2, X3)) → PROPER(X3)
PROPER(U112(X1, X2, X3)) → PROPER(X1)
PROPER(U112(X1, X2, X3)) → PROPER(X2)
PROPER(U112(X1, X2, X3)) → PROPER(X3)
PROPER(U113(X1, X2, X3)) → PROPER(X1)
PROPER(U113(X1, X2, X3)) → PROPER(X2)
PROPER(U113(X1, X2, X3)) → PROPER(X3)
PROPER(U114(X1, X2)) → PROPER(X1)
PROPER(U114(X1, X2)) → PROPER(X2)
PROPER(s(X)) → PROPER(X)
PROPER(length(X)) → PROPER(X)
PROPER(U13(X)) → PROPER(X)
PROPER(isNatList(X)) → PROPER(X)
PROPER(U121(X1, X2)) → PROPER(X1)
PROPER(U121(X1, X2)) → PROPER(X2)
PROPER(U122(X)) → PROPER(X)
PROPER(U131(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U131(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U131(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U131(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U132(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U132(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U132(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U132(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U133(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U133(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U133(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U133(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U134(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U134(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U134(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U134(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U135(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U135(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U135(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U135(X1, X2, X3, X4)) → PROPER(X4)
PROPER(U136(X1, X2, X3, X4)) → PROPER(X1)
PROPER(U136(X1, X2, X3, X4)) → PROPER(X2)
PROPER(U136(X1, X2, X3, X4)) → PROPER(X3)
PROPER(U136(X1, X2, X3, X4)) → PROPER(X4)
PROPER(take(X1, X2)) → PROPER(X1)
PROPER(take(X1, X2)) → PROPER(X2)
PROPER(U21(X1, X2)) → PROPER(X1)
PROPER(U21(X1, X2)) → PROPER(X2)
PROPER(U22(X1, X2)) → PROPER(X1)
PROPER(U22(X1, X2)) → PROPER(X2)
PROPER(U23(X)) → PROPER(X)
PROPER(U31(X1, X2)) → PROPER(X1)
PROPER(U31(X1, X2)) → PROPER(X2)
PROPER(U32(X1, X2)) → PROPER(X1)
PROPER(U32(X1, X2)) → PROPER(X2)
PROPER(U33(X)) → PROPER(X)
PROPER(U41(X1, X2, X3)) → PROPER(X1)
PROPER(U41(X1, X2, X3)) → PROPER(X2)
PROPER(U41(X1, X2, X3)) → PROPER(X3)
PROPER(U42(X1, X2, X3)) → PROPER(X1)
PROPER(U42(X1, X2, X3)) → PROPER(X2)
PROPER(U42(X1, X2, X3)) → PROPER(X3)
PROPER(U43(X1, X2, X3)) → PROPER(X1)
PROPER(U43(X1, X2, X3)) → PROPER(X2)
PROPER(U43(X1, X2, X3)) → PROPER(X3)
PROPER(U44(X1, X2, X3)) → PROPER(X1)
PROPER(U44(X1, X2, X3)) → PROPER(X2)
PROPER(U44(X1, X2, X3)) → PROPER(X3)
PROPER(U45(X1, X2)) → PROPER(X1)
PROPER(U45(X1, X2)) → PROPER(X2)
PROPER(U46(X)) → PROPER(X)
PROPER(U51(X1, X2)) → PROPER(X1)
PROPER(U51(X1, X2)) → PROPER(X2)
PROPER(U52(X)) → PROPER(X)
PROPER(U61(X1, X2)) → PROPER(X1)
PROPER(U61(X1, X2)) → PROPER(X2)
PROPER(U62(X)) → PROPER(X)
PROPER(U71(X)) → PROPER(X)
PROPER(U81(X)) → PROPER(X)
PROPER(U91(X1, X2, X3)) → PROPER(X1)
PROPER(U91(X1, X2, X3)) → PROPER(X2)
PROPER(U91(X1, X2, X3)) → PROPER(X3)
PROPER(U92(X1, X2, X3)) → PROPER(X1)
PROPER(U92(X1, X2, X3)) → PROPER(X2)
PROPER(U92(X1, X2, X3)) → PROPER(X3)
PROPER(U93(X1, X2, X3)) → PROPER(X1)
PROPER(U93(X1, X2, X3)) → PROPER(X2)
PROPER(U93(X1, X2, X3)) → PROPER(X3)
PROPER(U94(X1, X2, X3)) → PROPER(X1)
PROPER(U94(X1, X2, X3)) → PROPER(X2)
PROPER(U94(X1, X2, X3)) → PROPER(X3)
PROPER(U95(X1, X2)) → PROPER(X1)
PROPER(U95(X1, X2)) → PROPER(X2)
PROPER(U96(X)) → PROPER(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Lexicographic path order with status [LPO].
Precedence:
U1023 > PROPER1
U1033 > PROPER1
U1043 > PROPER1
U1052 > PROPER1
U112 > PROPER1

Status:
PROPER1: [1]
cons2: [1,2]
U1013: [1,2,3]
U1023: [1,2,3]
isNatKind1: [1]
U1033: [1,2,3]
isNatIListKind1: [1]
U1043: [1,2,3]
U1052: [1,2]
isNat1: [1]
U1061: [1]
isNatIList1: [1]
U112: [1,2]
U122: [1,2]
U1113: [1,2,3]
U1123: [1,2,3]
U1133: [1,2,3]
U1142: [1,2]
s1: [1]
length1: [1]
U131: [1]
isNatList1: [1]
U1212: [1,2]
U1221: [1]
U1314: [1,2,3,4]
U1324: [1,2,3,4]
U1334: [1,2,3,4]
U1344: [1,2,3,4]
U1354: [1,2,3,4]
U1364: [1,2,3,4]
take2: [1,2]
U212: [1,2]
U222: [1,2]
U231: [1]
U312: [1,2]
U322: [1,2]
U331: [1]
U413: [1,2,3]
U423: [1,2,3]
U433: [1,2,3]
U443: [1,2,3]
U452: [1,2]
U461: [1]
U512: [1,2]
U521: [1]
U612: [1,2]
U621: [1]
U711: [1]
U811: [1]
U913: [1,2,3]
U923: [1,2,3]
U933: [1,2,3]
U943: [1,2,3]
U952: [1,2]
U961: [1]

The following usable rules [FROCOS05] were oriented: none

(347) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(348) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(349) TRUE

(350) Obligation:

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

ACTIVE(U101(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(cons(X1, X2)) → ACTIVE(X1)
ACTIVE(U102(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U103(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U104(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U105(X1, X2)) → ACTIVE(X1)
ACTIVE(U106(X)) → ACTIVE(X)
ACTIVE(U11(X1, X2)) → ACTIVE(X1)
ACTIVE(U12(X1, X2)) → ACTIVE(X1)
ACTIVE(U111(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U112(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U113(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U114(X1, X2)) → ACTIVE(X1)
ACTIVE(s(X)) → ACTIVE(X)
ACTIVE(length(X)) → ACTIVE(X)
ACTIVE(U13(X)) → ACTIVE(X)
ACTIVE(U121(X1, X2)) → ACTIVE(X1)
ACTIVE(U122(X)) → ACTIVE(X)
ACTIVE(U131(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U132(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U133(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U134(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U135(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U136(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(take(X1, X2)) → ACTIVE(X1)
ACTIVE(take(X1, X2)) → ACTIVE(X2)
ACTIVE(U21(X1, X2)) → ACTIVE(X1)
ACTIVE(U22(X1, X2)) → ACTIVE(X1)
ACTIVE(U23(X)) → ACTIVE(X)
ACTIVE(U31(X1, X2)) → ACTIVE(X1)
ACTIVE(U32(X1, X2)) → ACTIVE(X1)
ACTIVE(U33(X)) → ACTIVE(X)
ACTIVE(U41(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U42(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U43(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U44(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U45(X1, X2)) → ACTIVE(X1)
ACTIVE(U46(X)) → ACTIVE(X)
ACTIVE(U51(X1, X2)) → ACTIVE(X1)
ACTIVE(U52(X)) → ACTIVE(X)
ACTIVE(U61(X1, X2)) → ACTIVE(X1)
ACTIVE(U62(X)) → ACTIVE(X)
ACTIVE(U71(X)) → ACTIVE(X)
ACTIVE(U81(X)) → ACTIVE(X)
ACTIVE(U91(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U92(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U93(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U94(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U95(X1, X2)) → ACTIVE(X1)
ACTIVE(U96(X)) → ACTIVE(X)

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(351) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04].


The following pairs can be oriented strictly and are deleted.


ACTIVE(U101(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(cons(X1, X2)) → ACTIVE(X1)
ACTIVE(U102(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U103(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U104(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U105(X1, X2)) → ACTIVE(X1)
ACTIVE(U106(X)) → ACTIVE(X)
ACTIVE(U11(X1, X2)) → ACTIVE(X1)
ACTIVE(U12(X1, X2)) → ACTIVE(X1)
ACTIVE(U111(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U112(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U113(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U114(X1, X2)) → ACTIVE(X1)
ACTIVE(s(X)) → ACTIVE(X)
ACTIVE(length(X)) → ACTIVE(X)
ACTIVE(U13(X)) → ACTIVE(X)
ACTIVE(U121(X1, X2)) → ACTIVE(X1)
ACTIVE(U122(X)) → ACTIVE(X)
ACTIVE(U131(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U132(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U133(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U134(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U135(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(U136(X1, X2, X3, X4)) → ACTIVE(X1)
ACTIVE(take(X1, X2)) → ACTIVE(X1)
ACTIVE(take(X1, X2)) → ACTIVE(X2)
ACTIVE(U21(X1, X2)) → ACTIVE(X1)
ACTIVE(U22(X1, X2)) → ACTIVE(X1)
ACTIVE(U23(X)) → ACTIVE(X)
ACTIVE(U31(X1, X2)) → ACTIVE(X1)
ACTIVE(U32(X1, X2)) → ACTIVE(X1)
ACTIVE(U33(X)) → ACTIVE(X)
ACTIVE(U41(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U42(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U43(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U44(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U45(X1, X2)) → ACTIVE(X1)
ACTIVE(U46(X)) → ACTIVE(X)
ACTIVE(U51(X1, X2)) → ACTIVE(X1)
ACTIVE(U52(X)) → ACTIVE(X)
ACTIVE(U61(X1, X2)) → ACTIVE(X1)
ACTIVE(U62(X)) → ACTIVE(X)
ACTIVE(U71(X)) → ACTIVE(X)
ACTIVE(U81(X)) → ACTIVE(X)
ACTIVE(U91(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U92(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U93(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U94(X1, X2, X3)) → ACTIVE(X1)
ACTIVE(U95(X1, X2)) → ACTIVE(X1)
ACTIVE(U96(X)) → ACTIVE(X)
The remaining pairs can at least be oriented weakly.
Used ordering: Combined order from the following AFS and order.
ACTIVE(x1)  =  ACTIVE(x1)
U101(x1, x2, x3)  =  U101(x1)
cons(x1, x2)  =  cons(x1)
U102(x1, x2, x3)  =  U102(x1)
U103(x1, x2, x3)  =  U103(x1)
U104(x1, x2, x3)  =  U104(x1)
U105(x1, x2)  =  U105(x1)
U106(x1)  =  U106(x1)
U11(x1, x2)  =  U11(x1)
U12(x1, x2)  =  U12(x1)
U111(x1, x2, x3)  =  U111(x1)
U112(x1, x2, x3)  =  U112(x1)
U113(x1, x2, x3)  =  U113(x1)
U114(x1, x2)  =  U114(x1)
s(x1)  =  s(x1)
length(x1)  =  length(x1)
U13(x1)  =  U13(x1)
U121(x1, x2)  =  U121(x1)
U122(x1)  =  U122(x1)
U131(x1, x2, x3, x4)  =  U131(x1)
U132(x1, x2, x3, x4)  =  U132(x1)
U133(x1, x2, x3, x4)  =  U133(x1)
U134(x1, x2, x3, x4)  =  U134(x1)
U135(x1, x2, x3, x4)  =  U135(x1)
U136(x1, x2, x3, x4)  =  U136(x1)
take(x1, x2)  =  take(x1, x2)
U21(x1, x2)  =  U21(x1)
U22(x1, x2)  =  U22(x1)
U23(x1)  =  U23(x1)
U31(x1, x2)  =  U31(x1)
U32(x1, x2)  =  U32(x1)
U33(x1)  =  U33(x1)
U41(x1, x2, x3)  =  U41(x1)
U42(x1, x2, x3)  =  U42(x1)
U43(x1, x2, x3)  =  U43(x1)
U44(x1, x2, x3)  =  U44(x1)
U45(x1, x2)  =  U45(x1)
U46(x1)  =  U46(x1)
U51(x1, x2)  =  U51(x1)
U52(x1)  =  U52(x1)
U61(x1, x2)  =  U61(x1)
U62(x1)  =  U62(x1)
U71(x1)  =  U71(x1)
U81(x1)  =  U81(x1)
U91(x1, x2, x3)  =  U91(x1)
U92(x1, x2, x3)  =  U92(x1)
U93(x1, x2, x3)  =  U93(x1)
U94(x1, x2, x3)  =  U94(x1)
U95(x1, x2)  =  U95(x1)
U96(x1)  =  U96(x1)

Lexicographic path order with status [LPO].
Precedence:
take2 > ACTIVE1

Status:
ACTIVE1: [1]
U1011: [1]
cons1: [1]
U1021: [1]
U1031: [1]
U1041: [1]
U1051: [1]
U1061: [1]
U111: [1]
U121: [1]
U1111: [1]
U1121: [1]
U1131: [1]
U1141: [1]
s1: [1]
length1: [1]
U131: [1]
U1211: [1]
U1221: [1]
U1311: [1]
U1321: [1]
U1331: [1]
U1341: [1]
U1351: [1]
U1361: [1]
take2: [1,2]
U211: [1]
U221: [1]
U231: [1]
U311: [1]
U321: [1]
U331: [1]
U411: [1]
U421: [1]
U431: [1]
U441: [1]
U451: [1]
U461: [1]
U511: [1]
U521: [1]
U611: [1]
U621: [1]
U711: [1]
U811: [1]
U911: [1]
U921: [1]
U931: [1]
U941: [1]
U951: [1]
U961: [1]

The following usable rules [FROCOS05] were oriented: none

(352) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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

(353) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(354) TRUE

(355) Obligation:

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

TOP(ok(X)) → TOP(active(X))
TOP(mark(X)) → TOP(proper(X))

The TRS R consists of the following rules:

active(zeros) → mark(cons(0, zeros))
active(U101(tt, V1, V2)) → mark(U102(isNatKind(V1), V1, V2))
active(U102(tt, V1, V2)) → mark(U103(isNatIListKind(V2), V1, V2))
active(U103(tt, V1, V2)) → mark(U104(isNatIListKind(V2), V1, V2))
active(U104(tt, V1, V2)) → mark(U105(isNat(V1), V2))
active(U105(tt, V2)) → mark(U106(isNatIList(V2)))
active(U106(tt)) → mark(tt)
active(U11(tt, V1)) → mark(U12(isNatIListKind(V1), V1))
active(U111(tt, L, N)) → mark(U112(isNatIListKind(L), L, N))
active(U112(tt, L, N)) → mark(U113(isNat(N), L, N))
active(U113(tt, L, N)) → mark(U114(isNatKind(N), L))
active(U114(tt, L)) → mark(s(length(L)))
active(U12(tt, V1)) → mark(U13(isNatList(V1)))
active(U121(tt, IL)) → mark(U122(isNatIListKind(IL)))
active(U122(tt)) → mark(nil)
active(U13(tt)) → mark(tt)
active(U131(tt, IL, M, N)) → mark(U132(isNatIListKind(IL), IL, M, N))
active(U132(tt, IL, M, N)) → mark(U133(isNat(M), IL, M, N))
active(U133(tt, IL, M, N)) → mark(U134(isNatKind(M), IL, M, N))
active(U134(tt, IL, M, N)) → mark(U135(isNat(N), IL, M, N))
active(U135(tt, IL, M, N)) → mark(U136(isNatKind(N), IL, M, N))
active(U136(tt, IL, M, N)) → mark(cons(N, take(M, IL)))
active(U21(tt, V1)) → mark(U22(isNatKind(V1), V1))
active(U22(tt, V1)) → mark(U23(isNat(V1)))
active(U23(tt)) → mark(tt)
active(U31(tt, V)) → mark(U32(isNatIListKind(V), V))
active(U32(tt, V)) → mark(U33(isNatList(V)))
active(U33(tt)) → mark(tt)
active(U41(tt, V1, V2)) → mark(U42(isNatKind(V1), V1, V2))
active(U42(tt, V1, V2)) → mark(U43(isNatIListKind(V2), V1, V2))
active(U43(tt, V1, V2)) → mark(U44(isNatIListKind(V2), V1, V2))
active(U44(tt, V1, V2)) → mark(U45(isNat(V1), V2))
active(U45(tt, V2)) → mark(U46(isNatIList(V2)))
active(U46(tt)) → mark(tt)
active(U51(tt, V2)) → mark(U52(isNatIListKind(V2)))
active(U52(tt)) → mark(tt)
active(U61(tt, V2)) → mark(U62(isNatIListKind(V2)))
active(U62(tt)) → mark(tt)
active(U71(tt)) → mark(tt)
active(U81(tt)) → mark(tt)
active(U91(tt, V1, V2)) → mark(U92(isNatKind(V1), V1, V2))
active(U92(tt, V1, V2)) → mark(U93(isNatIListKind(V2), V1, V2))
active(U93(tt, V1, V2)) → mark(U94(isNatIListKind(V2), V1, V2))
active(U94(tt, V1, V2)) → mark(U95(isNat(V1), V2))
active(U95(tt, V2)) → mark(U96(isNatList(V2)))
active(U96(tt)) → mark(tt)
active(isNat(0)) → mark(tt)
active(isNat(length(V1))) → mark(U11(isNatIListKind(V1), V1))
active(isNat(s(V1))) → mark(U21(isNatKind(V1), V1))
active(isNatIList(V)) → mark(U31(isNatIListKind(V), V))
active(isNatIList(zeros)) → mark(tt)
active(isNatIList(cons(V1, V2))) → mark(U41(isNatKind(V1), V1, V2))
active(isNatIListKind(nil)) → mark(tt)
active(isNatIListKind(zeros)) → mark(tt)
active(isNatIListKind(cons(V1, V2))) → mark(U51(isNatKind(V1), V2))
active(isNatIListKind(take(V1, V2))) → mark(U61(isNatKind(V1), V2))
active(isNatKind(0)) → mark(tt)
active(isNatKind(length(V1))) → mark(U71(isNatIListKind(V1)))
active(isNatKind(s(V1))) → mark(U81(isNatKind(V1)))
active(isNatList(nil)) → mark(tt)
active(isNatList(cons(V1, V2))) → mark(U91(isNatKind(V1), V1, V2))
active(isNatList(take(V1, V2))) → mark(U101(isNatKind(V1), V1, V2))
active(length(nil)) → mark(0)
active(length(cons(N, L))) → mark(U111(isNatList(L), L, N))
active(take(0, IL)) → mark(U121(isNatIList(IL), IL))
active(take(s(M), cons(N, IL))) → mark(U131(isNatIList(IL), IL, M, N))
active(cons(X1, X2)) → cons(active(X1), X2)
active(U101(X1, X2, X3)) → U101(active(X1), X2, X3)
active(U102(X1, X2, X3)) → U102(active(X1), X2, X3)
active(U103(X1, X2, X3)) → U103(active(X1), X2, X3)
active(U104(X1, X2, X3)) → U104(active(X1), X2, X3)
active(U105(X1, X2)) → U105(active(X1), X2)
active(U106(X)) → U106(active(X))
active(U11(X1, X2)) → U11(active(X1), X2)
active(U12(X1, X2)) → U12(active(X1), X2)
active(U111(X1, X2, X3)) → U111(active(X1), X2, X3)
active(U112(X1, X2, X3)) → U112(active(X1), X2, X3)
active(U113(X1, X2, X3)) → U113(active(X1), X2, X3)
active(U114(X1, X2)) → U114(active(X1), X2)
active(s(X)) → s(active(X))
active(length(X)) → length(active(X))
active(U13(X)) → U13(active(X))
active(U121(X1, X2)) → U121(active(X1), X2)
active(U122(X)) → U122(active(X))
active(U131(X1, X2, X3, X4)) → U131(active(X1), X2, X3, X4)
active(U132(X1, X2, X3, X4)) → U132(active(X1), X2, X3, X4)
active(U133(X1, X2, X3, X4)) → U133(active(X1), X2, X3, X4)
active(U134(X1, X2, X3, X4)) → U134(active(X1), X2, X3, X4)
active(U135(X1, X2, X3, X4)) → U135(active(X1), X2, X3, X4)
active(U136(X1, X2, X3, X4)) → U136(active(X1), X2, X3, X4)
active(take(X1, X2)) → take(active(X1), X2)
active(take(X1, X2)) → take(X1, active(X2))
active(U21(X1, X2)) → U21(active(X1), X2)
active(U22(X1, X2)) → U22(active(X1), X2)
active(U23(X)) → U23(active(X))
active(U31(X1, X2)) → U31(active(X1), X2)
active(U32(X1, X2)) → U32(active(X1), X2)
active(U33(X)) → U33(active(X))
active(U41(X1, X2, X3)) → U41(active(X1), X2, X3)
active(U42(X1, X2, X3)) → U42(active(X1), X2, X3)
active(U43(X1, X2, X3)) → U43(active(X1), X2, X3)
active(U44(X1, X2, X3)) → U44(active(X1), X2, X3)
active(U45(X1, X2)) → U45(active(X1), X2)
active(U46(X)) → U46(active(X))
active(U51(X1, X2)) → U51(active(X1), X2)
active(U52(X)) → U52(active(X))
active(U61(X1, X2)) → U61(active(X1), X2)
active(U62(X)) → U62(active(X))
active(U71(X)) → U71(active(X))
active(U81(X)) → U81(active(X))
active(U91(X1, X2, X3)) → U91(active(X1), X2, X3)
active(U92(X1, X2, X3)) → U92(active(X1), X2, X3)
active(U93(X1, X2, X3)) → U93(active(X1), X2, X3)
active(U94(X1, X2, X3)) → U94(active(X1), X2, X3)
active(U95(X1, X2)) → U95(active(X1), X2)
active(U96(X)) → U96(active(X))
cons(mark(X1), X2) → mark(cons(X1, X2))
U101(mark(X1), X2, X3) → mark(U101(X1, X2, X3))
U102(mark(X1), X2, X3) → mark(U102(X1, X2, X3))
U103(mark(X1), X2, X3) → mark(U103(X1, X2, X3))
U104(mark(X1), X2, X3) → mark(U104(X1, X2, X3))
U105(mark(X1), X2) → mark(U105(X1, X2))
U106(mark(X)) → mark(U106(X))
U11(mark(X1), X2) → mark(U11(X1, X2))
U12(mark(X1), X2) → mark(U12(X1, X2))
U111(mark(X1), X2, X3) → mark(U111(X1, X2, X3))
U112(mark(X1), X2, X3) → mark(U112(X1, X2, X3))
U113(mark(X1), X2, X3) → mark(U113(X1, X2, X3))
U114(mark(X1), X2) → mark(U114(X1, X2))
s(mark(X)) → mark(s(X))
length(mark(X)) → mark(length(X))
U13(mark(X)) → mark(U13(X))
U121(mark(X1), X2) → mark(U121(X1, X2))
U122(mark(X)) → mark(U122(X))
U131(mark(X1), X2, X3, X4) → mark(U131(X1, X2, X3, X4))
U132(mark(X1), X2, X3, X4) → mark(U132(X1, X2, X3, X4))
U133(mark(X1), X2, X3, X4) → mark(U133(X1, X2, X3, X4))
U134(mark(X1), X2, X3, X4) → mark(U134(X1, X2, X3, X4))
U135(mark(X1), X2, X3, X4) → mark(U135(X1, X2, X3, X4))
U136(mark(X1), X2, X3, X4) → mark(U136(X1, X2, X3, X4))
take(mark(X1), X2) → mark(take(X1, X2))
take(X1, mark(X2)) → mark(take(X1, X2))
U21(mark(X1), X2) → mark(U21(X1, X2))
U22(mark(X1), X2) → mark(U22(X1, X2))
U23(mark(X)) → mark(U23(X))
U31(mark(X1), X2) → mark(U31(X1, X2))
U32(mark(X1), X2) → mark(U32(X1, X2))
U33(mark(X)) → mark(U33(X))
U41(mark(X1), X2, X3) → mark(U41(X1, X2, X3))
U42(mark(X1), X2, X3) → mark(U42(X1, X2, X3))
U43(mark(X1), X2, X3) → mark(U43(X1, X2, X3))
U44(mark(X1), X2, X3) → mark(U44(X1, X2, X3))
U45(mark(X1), X2) → mark(U45(X1, X2))
U46(mark(X)) → mark(U46(X))
U51(mark(X1), X2) → mark(U51(X1, X2))
U52(mark(X)) → mark(U52(X))
U61(mark(X1), X2) → mark(U61(X1, X2))
U62(mark(X)) → mark(U62(X))
U71(mark(X)) → mark(U71(X))
U81(mark(X)) → mark(U81(X))
U91(mark(X1), X2, X3) → mark(U91(X1, X2, X3))
U92(mark(X1), X2, X3) → mark(U92(X1, X2, X3))
U93(mark(X1), X2, X3) → mark(U93(X1, X2, X3))
U94(mark(X1), X2, X3) → mark(U94(X1, X2, X3))
U95(mark(X1), X2) → mark(U95(X1, X2))
U96(mark(X)) → mark(U96(X))
proper(zeros) → ok(zeros)
proper(cons(X1, X2)) → cons(proper(X1), proper(X2))
proper(0) → ok(0)
proper(U101(X1, X2, X3)) → U101(proper(X1), proper(X2), proper(X3))
proper(tt) → ok(tt)
proper(U102(X1, X2, X3)) → U102(proper(X1), proper(X2), proper(X3))
proper(isNatKind(X)) → isNatKind(proper(X))
proper(U103(X1, X2, X3)) → U103(proper(X1), proper(X2), proper(X3))
proper(isNatIListKind(X)) → isNatIListKind(proper(X))
proper(U104(X1, X2, X3)) → U104(proper(X1), proper(X2), proper(X3))
proper(U105(X1, X2)) → U105(proper(X1), proper(X2))
proper(isNat(X)) → isNat(proper(X))
proper(U106(X)) → U106(proper(X))
proper(isNatIList(X)) → isNatIList(proper(X))
proper(U11(X1, X2)) → U11(proper(X1), proper(X2))
proper(U12(X1, X2)) → U12(proper(X1), proper(X2))
proper(U111(X1, X2, X3)) → U111(proper(X1), proper(X2), proper(X3))
proper(U112(X1, X2, X3)) → U112(proper(X1), proper(X2), proper(X3))
proper(U113(X1, X2, X3)) → U113(proper(X1), proper(X2), proper(X3))
proper(U114(X1, X2)) → U114(proper(X1), proper(X2))
proper(s(X)) → s(proper(X))
proper(length(X)) → length(proper(X))
proper(U13(X)) → U13(proper(X))
proper(isNatList(X)) → isNatList(proper(X))
proper(U121(X1, X2)) → U121(proper(X1), proper(X2))
proper(U122(X)) → U122(proper(X))
proper(nil) → ok(nil)
proper(U131(X1, X2, X3, X4)) → U131(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U132(X1, X2, X3, X4)) → U132(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U133(X1, X2, X3, X4)) → U133(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U134(X1, X2, X3, X4)) → U134(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U135(X1, X2, X3, X4)) → U135(proper(X1), proper(X2), proper(X3), proper(X4))
proper(U136(X1, X2, X3, X4)) → U136(proper(X1), proper(X2), proper(X3), proper(X4))
proper(take(X1, X2)) → take(proper(X1), proper(X2))
proper(U21(X1, X2)) → U21(proper(X1), proper(X2))
proper(U22(X1, X2)) → U22(proper(X1), proper(X2))
proper(U23(X)) → U23(proper(X))
proper(U31(X1, X2)) → U31(proper(X1), proper(X2))
proper(U32(X1, X2)) → U32(proper(X1), proper(X2))
proper(U33(X)) → U33(proper(X))
proper(U41(X1, X2, X3)) → U41(proper(X1), proper(X2), proper(X3))
proper(U42(X1, X2, X3)) → U42(proper(X1), proper(X2), proper(X3))
proper(U43(X1, X2, X3)) → U43(proper(X1), proper(X2), proper(X3))
proper(U44(X1, X2, X3)) → U44(proper(X1), proper(X2), proper(X3))
proper(U45(X1, X2)) → U45(proper(X1), proper(X2))
proper(U46(X)) → U46(proper(X))
proper(U51(X1, X2)) → U51(proper(X1), proper(X2))
proper(U52(X)) → U52(proper(X))
proper(U61(X1, X2)) → U61(proper(X1), proper(X2))
proper(U62(X)) → U62(proper(X))
proper(U71(X)) → U71(proper(X))
proper(U81(X)) → U81(proper(X))
proper(U91(X1, X2, X3)) → U91(proper(X1), proper(X2), proper(X3))
proper(U92(X1, X2, X3)) → U92(proper(X1), proper(X2), proper(X3))
proper(U93(X1, X2, X3)) → U93(proper(X1), proper(X2), proper(X3))
proper(U94(X1, X2, X3)) → U94(proper(X1), proper(X2), proper(X3))
proper(U95(X1, X2)) → U95(proper(X1), proper(X2))
proper(U96(X)) → U96(proper(X))
cons(ok(X1), ok(X2)) → ok(cons(X1, X2))
U101(ok(X1), ok(X2), ok(X3)) → ok(U101(X1, X2, X3))
U102(ok(X1), ok(X2), ok(X3)) → ok(U102(X1, X2, X3))
isNatKind(ok(X)) → ok(isNatKind(X))
U103(ok(X1), ok(X2), ok(X3)) → ok(U103(X1, X2, X3))
isNatIListKind(ok(X)) → ok(isNatIListKind(X))
U104(ok(X1), ok(X2), ok(X3)) → ok(U104(X1, X2, X3))
U105(ok(X1), ok(X2)) → ok(U105(X1, X2))
isNat(ok(X)) → ok(isNat(X))
U106(ok(X)) → ok(U106(X))
isNatIList(ok(X)) → ok(isNatIList(X))
U11(ok(X1), ok(X2)) → ok(U11(X1, X2))
U12(ok(X1), ok(X2)) → ok(U12(X1, X2))
U111(ok(X1), ok(X2), ok(X3)) → ok(U111(X1, X2, X3))
U112(ok(X1), ok(X2), ok(X3)) → ok(U112(X1, X2, X3))
U113(ok(X1), ok(X2), ok(X3)) → ok(U113(X1, X2, X3))
U114(ok(X1), ok(X2)) → ok(U114(X1, X2))
s(ok(X)) → ok(s(X))
length(ok(X)) → ok(length(X))
U13(ok(X)) → ok(U13(X))
isNatList(ok(X)) → ok(isNatList(X))
U121(ok(X1), ok(X2)) → ok(U121(X1, X2))
U122(ok(X)) → ok(U122(X))
U131(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U131(X1, X2, X3, X4))
U132(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U132(X1, X2, X3, X4))
U133(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U133(X1, X2, X3, X4))
U134(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U134(X1, X2, X3, X4))
U135(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U135(X1, X2, X3, X4))
U136(ok(X1), ok(X2), ok(X3), ok(X4)) → ok(U136(X1, X2, X3, X4))
take(ok(X1), ok(X2)) → ok(take(X1, X2))
U21(ok(X1), ok(X2)) → ok(U21(X1, X2))
U22(ok(X1), ok(X2)) → ok(U22(X1, X2))
U23(ok(X)) → ok(U23(X))
U31(ok(X1), ok(X2)) → ok(U31(X1, X2))
U32(ok(X1), ok(X2)) → ok(U32(X1, X2))
U33(ok(X)) → ok(U33(X))
U41(ok(X1), ok(X2), ok(X3)) → ok(U41(X1, X2, X3))
U42(ok(X1), ok(X2), ok(X3)) → ok(U42(X1, X2, X3))
U43(ok(X1), ok(X2), ok(X3)) → ok(U43(X1, X2, X3))
U44(ok(X1), ok(X2), ok(X3)) → ok(U44(X1, X2, X3))
U45(ok(X1), ok(X2)) → ok(U45(X1, X2))
U46(ok(X)) → ok(U46(X))
U51(ok(X1), ok(X2)) → ok(U51(X1, X2))
U52(ok(X)) → ok(U52(X))
U61(ok(X1), ok(X2)) → ok(U61(X1, X2))
U62(ok(X)) → ok(U62(X))
U71(ok(X)) → ok(U71(X))
U81(ok(X)) → ok(U81(X))
U91(ok(X1), ok(X2), ok(X3)) → ok(U91(X1, X2, X3))
U92(ok(X1), ok(X2), ok(X3)) → ok(U92(X1, X2, X3))
U93(ok(X1), ok(X2), ok(X3)) → ok(U93(X1, X2, X3))
U94(ok(X1), ok(X2), ok(X3)) → ok(U94(X1, X2, X3))
U95(ok(X1), ok(X2)) → ok(U95(X1, X2))
U96(ok(X)) → ok(U96(X))
top(mark(X)) → top(proper(X))
top(ok(X)) → top(active(X))

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